high and low level language Flashcards
what is an adv of using high level language
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
give examples of high level language
JAVA, python
adv of using low level language
fast and memory efficient
direct access to the processor
executes instructions faster
how do low level languages work
they use assembly and machine code. They work directly on the CPU
what is assembly language
they are low-level language that needs to be translated into machine code by the assembler
what is machine code
binary instruction that a computer understands. It requires no translator
what are compilers
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
what are interpreters
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