You are on page 1of 30

2019

1. A compiler uses a keyword table and a symbol table. Part of the keyword table is shown.
Answers:
2. (a) Describe the main steps in the evaluation of a Reverse Polish Notation (RPN) expression using
a stack.
Answers:

3. (a) A computer process can be in one of three states.


Answers:
4. The following syntax diagrams for a programming language show the syntax of:
Answers:

5. (a) An operating system (OS) uses a memory management technique called paging.
Answers:
6. Physical memory is managed using virtual memory and paging.
(a) Describe what is meant by virtual memory.
Answers:

7. The following are the first few lines of a source code program written in a high-level language. The source
code program is to be translated by the language compiler.
Answers:
2020
1. Duraid writes a short program in a high-level programming language. An interpreter executes the
program.
Answers:
2. A computer at a remote weather station is performing three tasks:
Answers:
3. Complete these statements about a virtual machine.

Answers:

4. Mahmoud is developing a new application, MyApp, that needs to work with three different
operating systems (OS1, OS2 and OS3).
Answers:
2021
1. The following syntax diagrams for a programming language show the syntax of:
Answers:
2. The syntax diagrams for a programming language show the syntax of:
Answers:

You might also like