High & Low Level Languages Flashcards
High Level Languages
Close to human language
Independent of platform (works on different machines)
E.g. JAVA, Python, VB
Easier to correct errors
Low Level
Assembly
Machine Code
Works directly on the CPU
Can use machine specific functions
Why write code in a low level language
Direct access to the processor
Uses less memory
Executes instructions faster
Compilers process
Translates whole program at once Creates an .exe file No need to recompile Therefore allows faster execution List of errors created Optimises source code
Interpreters process
Translates one line of code at a time Machine code directly executed Identifies error as soon as it finds one and stops Error must be fixed to continue Easier to debug
Assemblers process
Translates low level language into machine code
Only option for low level language programs
Complier
Translates HLL to machine code
Executable file produced
Compiled programmes can be used without compilers
Distributed for general use
interpreter
Executes HLL statement at a time
No executable file
Interpreted programs cannot be used without interpreter
Used for development
Assembler
LLL to machine code
Executable file produced
Assembled program can be used without assembler