7. High- and low-level languages Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a high level language?

A

A programming language with statements that are similar to normal language e.g. C#, python, java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a low level language?

A

Relate to the specific architecture of the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why use an assembly language?

A

Make use of special hardware
Make use of special machine-dependent instructions
Avoid taking up space in primary memory
Write code that performs a task very quickly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the difference between assembly languages and machine code?

A

Machine code uses binary or hexadecimal whilst assembly languages use simple words of three letters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a compiler?

A

Translates high level program into machine code all at once.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an interpreter?

A

Executes a high level program statement by statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an assembler?

A

Translates assembly code program into machine code all at once.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the difference between a syntax and logic error?

A

A syntax error is where a statement doesn’t obey the rules of a language whilst a logic error is where the program doesn’t do what the programmer wants.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an IDE?

A

Contains an editor, compiler and/or interpreter with debugging tools to improve the speed of program development

How well did you know this?
1
Not at all
2
3
4
5
Perfectly