Question 4(f) 2015 · May-June · Paper 21 · 5 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 4
Part (f)
Part (f)
The subroutine DisplayGrid is to output the state of play at any time. For example, after three turns the display should look like: : : O : O X : : : where the character ‘:’ shows an empty cell. Question 3(f) continues on page 12.
Question 12
Write program code for the subroutine algorithm represented by the flowchart: 352&('85( 'LVSOD\*ULG (PSW\&HOO ®¯ )255RZ
Question 72
/LQH ®¯ )25&ROXPQ
Question 72
1R
*ULG>5RZ&ROXPQ@ (PSW\&HOO " The operator concatenates <HV two strings. /LQH/LQH ®¯ /LQH/LQH ® ¯ *ULG>5RZ&ROXPQ@
®¯ 1R &ROXPQ " <HV 287387 /LQH 1R 5RZ " <HV (1'352&('85(
Question 13
Programming language ............................................................................................................ Code ......................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ..............................................................................................................................................
Question 14
Why this question appears here
71% assigned-topic match · Algorithm design and problem-solving › Algorithms
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_s15_qp_21.pdf
