Past-paper question · 2016 October-November · Paper 22 · Q11

Question 11 2016 · October-November · Paper 22 · 18 marks

Original past-paper question for 11
Original past-paper question for 11
Original past-paper question for 11
Original past-paper question for 11
Original past-paper question for 11
Reveal official mark-scheme answer

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

Mark scheme 2210_w16_ms_22.pdf →

Show text version of question

Question 11

Print Average There are four errors in this code. Locate these errors and suggest a correction to remove each error. Error 1 .............................................................................................................................................. Correction ......................................................................................................................................... .......................................................................................................................................................... Error 2 .............................................................................................................................................. Correction ......................................................................................................................................... .......................................................................................................................................................... Error 3 .............................................................................................................................................. Correction ......................................................................................................................................... .......................................................................................................................................................... Error 4 .............................................................................................................................................. Correction ......................................................................................................................................... .....................................................................................................................................................

[8]

Question 7

Question 3

The flowchart below inputs an integer. The predefined function DIV gives the value of the division, for example Z ← 11 DIV 3 gives the value Z = 3. The predefined function MOD gives the value of the remainder, for example Z ← 11 MOD 3 gives the value Z = 2. 67$57 ,1387; 1R ,V;! " <HV $ ;',9 287387; % ;02' 287387% (1' ; $ Complete a trace table for each of the two input values 33 and 75. Trace table for input value 33 X A B OUTPUT Trace table for input value 75 X A B OUTPUT

[4]

Question 8

Question 4

IF ... THEN ... ELSE ... ENDIF and CASE ... OF ... OTHERWISE ... ENDCASE are two different conditional statements that you can use when writing pseudocode. Explain, using examples, why you would choose to use each conditional statement. Example 1 ........................................................................................................................................ .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... Reason for choice ............................................................................................................................ .......................................................................................................................................................... .......................................................................................................................................................... Example 2 ........................................................................................................................................ .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... Reason for choice ............................................................................................................................ .......................................................................................................................................................... .....................................................................................................................................................

[6]

Question 9

Question 5 begins on page 10.

Question 10

Question 5

A
database, PLAYPRODUCTION, was set up to show the performance dates, prices and number

of seats available at a theatre specialising in Shakespeare productions. Number Number Performance Price Stalls Price Circle Play Seats Seats Date Seats $ Seats $ Stalls Circle As You Like It 01/07/2016 120

Question 90

20.00 30.00 As You Like It 02/07/2016

Question 85

Question 45

30.00 40.00 As You Like It 09/07/2016

Question 31

Question 4

30.00 40.00 Macbeth 14/07/2016 101

Question 56

25.00 35.00 Macbeth 15/07/2016

Question 50

Question 34

25.00 35.00 Macbeth 16/07/2016

Question 12

Question 5

35.00 50.00 Julius Caesar 22/07/2016

Question 67

111 20.00 20.00 Julius Caesar 23/07/2016

Question 21

Question 24

15.00 15.00

A
Comedy of Errors

30/07/2016

Question 45

Question 36

35.00 45.00

Topic relevance

Why this question appears here

98% assigned-topic match · Algorithm design and problem-solving

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 2210_w16_qp_22.pdf

Keep practising this topic