Question 1(d)(i) 2017 · October-November · Paper 22 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (d)
(i)
Question 27
: MyGrade assigned the value "Fail"
Question 2
Show text version of question
Question 1
Part (d)
(i)
The following pseudocode is an example of a CASE structure.
CASE OF MyMark 75 to 100: MyGrade "Distinction" 35 to 74: MyGrade "Pass" 0 to 34: MyGrade "Fail" OTHERWISE: OUTPUT "Invalid value entered" ENDCASE
(i)
Describe what will happen if the pseudocode is tested when MyMark has the following
values:
27 ......................................................................................................................................
...........................................................................................................................................
101 ....................................................................................................................................
...........................................................................................................................................
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_22.pdf
