languages and translators Flashcards

1
Q

High-level languages

A

-similar to natural human language so easier to understand
-leads to fewer error
-more powerful and complex commands
-must be translated into machine code before it can run, as cannot be executed directly by the CPU

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

Low-level languages

A

-hard for humans to understand and write in
-executed fast
-interacts directly with hardware

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

what is machine code

A

pure binary code

directly processed and executed

used to preform specific commands

executed faster as it does not need to be translated

low level language

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

What is assembly language

A

-easier to understand and spot errors

a low level lanuage

faster to execute than high-level languages

can be used to directly control the CPU

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

What is a translator

A

translates a program written in one code to another

e.g. an interpretert converts high level language one line at a time into machine code

a compiler converts high level language into machine code for execution at a later time and it converted at once

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