Question 5(b)(ii) 2014 · October-November · Paper 11 · 4 marks
Reveal official mark-scheme answer

Official answer for Question 5
Part (b)
(ii)
(ii)
Each correct answer (shown in bold (red)) = 1 mark
Question 11
Show text version of question
Question 5
Part (b)
(ii)
Question 5
The table below represents a data structure. It is called BinaryNumber and stores:
- the place values for a binary integer, in the locations represented by the first row of the table
- the bits of a binary number, in the locations represented by the second row of the table
0 1 1 0 1 0 1 1
(ii)
The pseudocode below stores values in the data structure as follows:
- it initialises the place values in the locations represented by the first row
- it stores input data in the locations represented by the second row
Complete the missing parts.
DECLARE BinaryNumber[2,8] : ………………… OF INTEGER
PlaceValue 128
FOR Index 1 TO …………………
INPUT BinaryNumber[2, …………………]
BinaryNumber[…………………,Index] PlaceValue
PlaceValue PlaceValue / 2
ENDFOR
Question 8
Why this question appears here
71% assigned-topic match · Data types and structures › Arrays
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9691_w14_qp_11.pdf
