Professional Documents
Culture Documents
CS Q (C)
CS Q (C)
Cambridge IGCSE™
INSTRUCTIONS
● Carry out all instructions in each step.
● At the end of the examination, put all your document into the Assessment Record Folder.
● You must not have access to either the internet or any email system during this examination.
INFORMATION
● The total mark for this paper is 60.
● The number of marks for each question or part question is shown in brackets [ ].
Page 1 of 10
INTERNATIONAL MAKKHAYAR
1. (a)Tina is creating a website for charity events. She uses HTML to
create the website.
She uses the hexadecimal colour code#43B7F0 as the background
colour for her website.
The hexadecimal colour code #43B7F0 is stored in three 8−bit
registers.
Give the 8−bit binary values for each part of the hexadecimal code.
43
B7
F0
[6]
(c) Four statement types and four examples are shown below. Draw
a line to connect each statement type to the correct example.
Page 2 of 10
INTERNATIONAL MAKKHAYAR
[3]
Page 3 of 10
INTERNATIONAL MAKKHAYAR
Convert the three 8-bit binary values into hexadecimal.
01001011 ...............................................
01000101 ...............................................
01011001 ...............................................
[3]
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
4. An audio CD uses 40960 samples per second, with 16 bits being used per sample.
The music being sampled uses two channels to allow for stereo recordings.
Calculate the file size for a 1024 second recording. Give your answer in MiB.
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
Page 4 of 10
INTERNATIONAL MAKKHAYAR
.......................................................................................................................................
[4]
5. (a)Convert the following two denary numbers into 8-bit binary numbers which use the two’s
complement format.
( i ) +47
( ii ) −59
[2]
(b)Convert the following two binary numbers, written in two’s complement format, into
denary.
(i)11001110
.......................................................................................................................................
.......................................................................................................................................
( ii ) 1 1 1 1 1 1 1 0
.......................................................................................................................................
.......................................................................................................................................
[2]
6. This flowchart inputs the type of passenger for a survey: S for Senior, A for Adult, C
for Child. All other values are ignored, apart from Z which ends the process.
Page 5 of 10
INTERNATIONAL MAKKHAYAR
S, S, S, A, C, C, C, A, A, A, A, W, S, S, D, C, Z, D, S
Page 6 of 10
INTERNATIONAL MAKKHAYAR
[6]
7. Write a pseudocode to check prices that is entered by user is below
$10.00 and then output the suitable massages.
[5]
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
Page 7 of 10
INTERNATIONAL MAKKHAYAR
8. Draw a flowchart to input 100 numbers, select and print the largest number and smallest
number.
[8]
Page 8 of 10
INTERNATIONAL MAKKHAYAR
9. (a) Convert the following denary numbers into 8-bit binary numbers:
(b) Carry out the following additions using your binary values from part a:
Page 9 of 10
INTERNATIONAL MAKKHAYAR
10. The stopwatch is started again and then stopped. When the watch is stopped, the 8-bit binary
registers show:
Write the denary values that will now be shown on the stopwatch.
[3]
[ Total: 60 ]
Page 10 of 10