7. High- and low-level languages Flashcards
What is a high level language?
A programming language with statements that are similar to normal language e.g. C#, python, java
What is a low level language?
Relate to the specific architecture of the computer.
Why use an assembly language?
Make use of special hardware
Make use of special machine-dependent instructions
Avoid taking up space in primary memory
Write code that performs a task very quickly
What is the difference between assembly languages and machine code?
Machine code uses binary or hexadecimal whilst assembly languages use simple words of three letters.
What is a compiler?
Translates high level program into machine code all at once.
What is an interpreter?
Executes a high level program statement by statement.
What is an assembler?
Translates assembly code program into machine code all at once.
What is the difference between a syntax and logic error?
A syntax error is where a statement doesn’t obey the rules of a language whilst a logic error is where the program doesn’t do what the programmer wants.
What is an IDE?
Contains an editor, compiler and/or interpreter with debugging tools to improve the speed of program development