Question 1(c) 2017 · October-November · Paper 23 · 4 marks
Reveal official mark-scheme answer


Official answer for Question 1
Part (c)
Question 4
Question 9
- Mar k Scheme
Question 17
- selection statement
- iteration statement
- assignme
- data decla
- modular structure
- subroutine
- Specific ty ypes of stat tement, e.g. . Input, Out put, File op erations
- Code form
- Operators s
Question 3
Question 3
- For a (give
- Counts the
- Outputs e ach numera
- Outputs th
- ...calculate
- ...add one
Question 9
- Mar k Scheme
Question 17
Question 10
Show text version of question
Question 1
Part (c)
Part (c)
The following pseudocode is an example of nested IF statements.
IF MyVar = 1 THEN CALL Proc1() ELSE IF MyVar = 2 THEN CALL Proc2() ELSE IF MyVar = 3 THEN CALL Proc3() ELSE OUTPUT "Error" ENDIF ENDIF ENDIF
Use pseudocode to write a CASE statement with the same functionality.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[4]
Why this question appears here
71% assigned-topic match · Programming › Constructs
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_w17_qp_23.pdf
