Professional Documents
Culture Documents
9B Sample Questions - Edited
9B Sample Questions - Edited
Working space
…………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………
ASCII example
Using the following part of the ASCII table, explain how the word BED is saved on the computer.
…………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………………
BED : 66 69 68 [1 mark]
The values then are stored on the computer in 8-bit binary format (1 Byte per letter) [ 1 Mark]
RLE Example
05 C 02 A 04 F 06 D 02B 03G
Answer :
a) 157
b) 00100111
c)
The result of the shit is equal to 39, which is the value divided
by 4 , the value loses precision ( rounding occurred) as the
result should have been 39.25 but the value we got after the
shift is only 39