4.5: programming languages Flashcards
1
Q
low level programming languages
A
- example of low- level language is **assembly language **
- easier to work with than machine code
written as a mnemonic.
2
Q
assembler
A
converts assembly language to machine code
3
Q
machine language
A
1s and 0s
very difficult to write
4
Q
high level programming languages
A
- much more common to write software in high-level programming languages
- examples of high level language: Python, C#, Java or Visual Basic.
- For these programs to run on the CPU, the source code has to be translated into machine code
5
Q
how are high level anguages converted to machine code
A
compiler or interpreter
6
Q
interpreter
A
- every computer that will run the progrsam needs the interpreter installed
- can find errors and tell you whats wrong
- programs run slower because the interpreter has to translate the source code while the program is running
7
Q
compiler
A
- can run on its own on any similar computer
- cannot produce onject code unless the whole program is correct
- hard to debug your program as they report lots of errors
- easier to protect code from being altered or copied