Past-paper question · 2013 October-November · Paper 33 · Q25(a)

Question 25(a) 2013 · October-November · Paper 33 · 8 marks

Question 25

Part (a)

Question 25

passed_theory_test(X) AND passed_driving_test(X, V). These clauses have the following meaning: Clause Explanation

Question 1

The minimum age for a car licence is 18

Question 8

Shen is aged 21

Question 13

Tain has a licence Person X is able to drive vehicle V if person X has a

Question 15

licence, and the age A of person X is greater than or equal to the minimum age L to drive vehicle V

Question 11

Part (a)

Study the table and the algorithm and fill in the gaps.

Identifier Data Type Description Book.txt FILE Serial file of book titles NextBook STRING Book title read from the file IsFound SearchBook The requested book //Serial search algorithm OPENFILE Book.txt FOR OUTPUT INPUT IsFound ← FALSE REPEAT FILEREAD next book data value and assign to NextBook IF = SearchBook THEN IsFound ← TRUE OUTPUT "FOUND" ENDIF UNTIL (IsFound = TRUE) OR IF THEN OUTPUT "Book title was NOT FOUND" ENDIF

[8]

Question 14

Reveal official mark-scheme answer

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

Mark scheme 9691_w13_ms_33.pdf →

Topic relevance

Why this question appears here

72% 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 9691_w13_qp_33.pdf

Keep practising this topic