Question 1(b)(i) 2019 · October-November · Paper 21 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
(i)
Question 4
Show text version of question
Question 1
Part (b)
(i)
Question 1
Study the following pseudocode.
FUNCTION Search() RETURNS INTEGER DECLARE N, C : INTEGER DECLARE V, L : REAL V GetLevel() L V * 1.34
FOR N 1 TO 10 V GetLevel() IF V > L THEN
ENDIF ENDFOR OUTPUT "Process complete" RETURN C ENDFUNCTION
(i)
Programming languages support different data types.
Complete the table by giving a suitable data type for each example value.
Example value Data type
"NOT TRUE"
− 4.5
NOT FALSE
132
Why this question appears here
99% assigned-topic match · Data types and structures › Data types and records
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 9608_w19_qp_21.pdf
