Past-paper question · 2017 May-June · Paper 22 · Q4(b)(ii)

Question 4(b)(ii) 2017 · May-June · Paper 22 · 14 marks

Original past-paper question for 4(B)(II)
Original past-paper question for 4(B)(II)
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9608_s17_ms_22.pdf →

Show text version of question

Question 4

Part (b)

(ii)

Question 4

WRITEFILE (MyFile, "Data is " & String2)

[6]

Part (b)

An initial identifier table is created as part of the stepwise refinement. A section of the table is

shown. Complete this table. Identifier Data type Description SearchUserID Stores the user ID entered ........................................................................... FileUserID ........................................................................... ........................................................................... FilePreferredName ........................................................................... ........................................................................... IDFoundFlag ...........................................................................

[5]

Question 5

(ii)

The following table shows the values of three variables. Variable Value FlagA TRUE FlagB FALSE FlagC TRUE Evaluate these expressions. Expression Evaluates to (FlagA AND FlagB) OR FlagC FlagA AND (FlagB OR FlagC) (NOT FlagA) OR (NOT FlagC)

[3]

Question 3

Topic relevance

Why this question appears here

92% assigned-topic match · Hardware › Logic gates and logic circuits

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

Keep practising this topic