Past-paper question · 2017 October-November · Paper 22 · Q1(d)(i)

Question 1(d)(i) 2017 · October-November · Paper 22 · 2 marks

Original past-paper question for 1(D)(I)
Original past-paper question for 1(D)(I)
Original past-paper question for 1(D)(I)
Original past-paper question for 1(D)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 1(D)(I)

Official answer for Question 1

Part (d)

(i)

Question 27

: MyGrade assigned the value "Fail"

Question 2

✓
101: Output the text "Invalid Value Entered"

Mark scheme 9608_w17_ms_22.pdf →

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 ....................................................................................................................................

...........................................................................................................................................

[2]
Topic relevance

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

Keep practising this topic