Karteikarten
Ohne Titel
Karten in diesem Stapel (5)
- 1high level languageRequires a translator into machine code
Easy to read
Useful for things where speed is not critical eg. Word processors and x-box games - 2Low level lanuageUses the cpus instruction set
Executed directly by the cpu so can be made very efficient.
Useful when speed is important or when the program interfaces with hardware.
eg. Engine managment and device drivers - 3compilation stagesLexical analysis- comments and uneeded spaces removed. Keywords are replaced by tokens
Symbol table construction-Holds variable addresses, labels and subroutines
Syntax analysis- Tokens checked to see that they match syntax rules
Semantic analysis- Variables checked to see that they are and correct as are operators
Code generation- Language code turned into machine code
Optimisation- Code checked to see if it can be replaced by more efficient code. - 4Compilers, interpreters and assemblersCompilers create a file with the code translated to machine code, Interpreters read and translate code line by line, assemblers translate assembly language to machine code
- 5ErrorsSyntax errror-
Informationen
- Beschreibung
- Karteikarten am Ohne Titel, erstellt von ben tyl am 26/04/2019.
- Erstellt von
- ben tyl
- Aufrufe
- 0
- Bewertung