high and low level language Flashcards

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

what is an adv of using high level language

A

it enables no knowledge of the hardware
they are portable so it can be used in different devices
it is close to human language so it is easier to understand
it is easier to correct errors

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

give examples of high level language

A

JAVA, python

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

adv of using low level language

A

fast and memory efficient
direct access to the processor
executes instructions faster

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

how do low level languages work

A

they use assembly and machine code. They work directly on the CPU

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

what is assembly language

A

they are low-level language that needs to be translated into machine code by the assembler

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

what is machine code

A

binary instruction that a computer understands. It requires no translator

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

what are compilers

A

they transfer the whole program at once
they create an ‘exe’ file so there is no need to recompile which allows faster execution
list of errors is created

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

what are interpreters

A

they translate one line of code at a time
machine code is directly executed
identifies error as soon as it finds one and stops
error must be fixed in order to continue
easier to debug

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