Question 1 2015 · October-November · Paper 23 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 1
(i)
40
(ii)
314.2(0)
(iii)
16 // ERROR as identifier Z has not been declared
(iv)
TRUE
Show text version of question
Question 1
Computer programs have to evaluate expressions.
Study the sequence of pseudocode statements.
Write down the value assigned to each variable.
DECLARE h, w, r, Perimeter, Area : REAL DECLARE A, B, C, D, E : BOOLEAN
h ← 13.6 w ← 6.4 Perimeter ← (h + w) * 2
(i)
Perimeter ……………………………………
r ← 10 Area 3.142 * r^2
(ii)
Area …………………………………………………
Z ← 11 + r / 5 + 3
(iii)
Z …………………………………………………………
(iv)
A …………………………………………………………
Why this question appears here
71% 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_w15_qp_23.pdf
