High and low level languages Flashcards

1
Q

Advantages and disadvantages of High level language

A

Such as python -Advantages - easier to read and correct errors for developers , can run on many CPUS
disadvantages - slower to execute

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

Advantages and disadvantages of low level programming languages

A

such as assembly code(add 5 R2) and machine code(1010001) - Advantages - easier to optimise but it will only be specific to certain cpus
disadvantages - harder for programmers to understand the code - its longer

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

translators …

A

Convert code into machine code

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

Assemblers

A

Convert assembly code into machine code

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

Compilers and interpreters

A

Convert high level code into machine code

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

compilers work by

A

They produce an executable file and no source code is needed so your code cant be stolen , however , errors only show at the end and this can be harder for developers to debug programs

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

Interpreters work by

A

Translating an instruction then executes it and straight away shows errors so easier to debug code

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