Comp 02
Comp 02
Comp 02
Page 1 of 9
4. ............................... stops the execution of a program as
soon as it encounters an error.
a. Compiler b. Interpreter
c. Assembler d. None
5. The basic building block of the computer systems is ...........
a. Binary b. Hexadecimal
c. Denary d. None
6. 1 + 1, the carry will be .....................
a. 1 b. 0
c. 2 d. -1
7. The denary number 200 in binary is .....................
a. 11001000 b. 11001001
c. 11001111 d. 11011111
8. Which of these is the correct name for the operating system
function that allows many programs to run simultaneously?
Page 2 of 9
b. It is more difficult to write a program in a low-level
language.
c. Java is an assembly language.
d. It is quicker to develop a program using a high-level
language.
e. You always need a compiler to run a compiled program.
f. A program that is interpreted takes a longer time to run
than a compiled program.
Page 3 of 9
Page 4 of 9
Paper 2
Subjective (70 marks)
Binary Denary
0001001110
1010110101.
Page 5 of 9
a. Describe how data is transmitted using half-duplex
serial data transmission.
Page 6 of 9
5 Using a single loop, write an algorithm in pseudocode to
output 50 names that have been stored in the array, Name[].
6. Audrey wants to send a sound file to Nico using email.
The file is too large to attach to an email so Audrey decides to
compress the file. She uses lossy compression to reduce the
size of the sound file.
Page 7 of 9
9. Another method of error detection is Automatic Repeat
request (ARQ). Explain how ARQ is used in error detection.
10. An algorithm has been written in pseudocode to input
some numbers. It only outputs any numbers that are greater
than or equal to 100. The number 999 is not output and stops
the algorithm.
Page 8 of 9
Draw a structure diagram for this part of the satellite
navigation system.
14 a. Describe the purpose of validation and verification
checks during data entry. Include an example for each.
b. Identify two different selection statements that you can use
when writing pseudocode.
Page 9 of 9