Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

9.4.

3 Worksheet 7
1 Write True or False for each
of the following statements
about programming
languages.
Statement True/False

Low-level languages are easy for humans to read, write True


and modify

Python is an example of a low-level language False

High-level languages use variables to identify locations True


in memory for storing data

Low-level languages are portable, which means that they False


can run on a CPU with the same instruction set

Each HLL program instruction is often made up from more True


than one LLL instruction

Each assembly-language instruction is made up from False


one machine-code instruction

Programs written in a high-level language are often True


portable, which means that they can be run by any CPU

2 Complete the table below by


writing Compiler or Interpreter
beside each statement.
Features of a compiler or interpreter Compiler/
Interpreter

Errors are not displayed at the point they are encountered Compiler

Translates the entire program into machine code Complier

Translates a program into machine code line by line Interpreter

Will not run the program until all lines of code have Complier
been translated

Errors in the code are reported only at the end of the Complier
translation process

Displays errors as soon as they are encountered Interpreter


If it encounters an error, the program execution stops Interpreter

You might also like