2.5.1 Languages Flashcards

1
Q

What are the characteristics of high level languages? [3]

A

Close to english [1] work on a range of devices [1] need to be translated [1]

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

What are the characteristics of low level languages? [3]

A

Close to binary [1] may only work on one type of device [1] may not need to be translated [1]

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

Why does code need to be translated? [2]

A

The processor can only understand machine code. [1] code is usually not written in machine code, so needs to be translated. [1]

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

What are the characteristics of a compiler? [3]

A

Converts code to low level in one go [1] Creates an executable file [1] users have no access to source code once compiled [1]

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

What are the characteristics of an interpreter? [3]

A

Converts code to low level line by line [1] Stops running when it finds an error [1] It’s usually quicker to interpret than to compile [1]

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