OCR SUMMER 2026
PREDICTED PAPER
GCSE
Computer Science
J277/02: Computational thinking, algorithms and programming
General Certificate of Secondary Education
Mark Scheme P2
Question Answer Marks
1 C 1
Question Answer Marks
2 total = num1 + num2 1
Page 1 of 21
for more: tyrionpapers.com
,Question Answer Marks
3 One mark for each correct line 4
Stage Description
identifying of the problem and requirements
testing
reviewing the final solution to suggest further
analysis developments
making sure the program code works as
expected
coding
using structure diagrams, flowcharts and
pseudocode to plan the solution
design
using a programming language to create the
solution
Question Answer Marks
4(a) To check that a value has been entered. 1
4(b)(i) Type (check) 1
Page 2 of 21
for more: tyrionpapers.com
, Question Answer Marks
4(b)(ii) One mark per mark point: 5
MP1 Condition controlled loop used
MP2 Working input and re-input of value into declared variable
MP3 Use of selection/loop entry/exit condition to test if input is an integer
MP4 Appropriate use of error message
MP5 Working complete termination of loop
Example:
REPEAT
INPUT Number
IF MOD(Number, 1) <> 0
THEN
OUTPUT "Please try again"
ENDIF
UNTIL MOD(Number, 1) = 0
Or
INPUT Number
WHILE MOD(Number, 1) <> 0 (DO)
OUTPUT "Please try again"
INPUT Number
ENDWHILE
Page 3 of 21
for more: tyrionpapers.com
PREDICTED PAPER
GCSE
Computer Science
J277/02: Computational thinking, algorithms and programming
General Certificate of Secondary Education
Mark Scheme P2
Question Answer Marks
1 C 1
Question Answer Marks
2 total = num1 + num2 1
Page 1 of 21
for more: tyrionpapers.com
,Question Answer Marks
3 One mark for each correct line 4
Stage Description
identifying of the problem and requirements
testing
reviewing the final solution to suggest further
analysis developments
making sure the program code works as
expected
coding
using structure diagrams, flowcharts and
pseudocode to plan the solution
design
using a programming language to create the
solution
Question Answer Marks
4(a) To check that a value has been entered. 1
4(b)(i) Type (check) 1
Page 2 of 21
for more: tyrionpapers.com
, Question Answer Marks
4(b)(ii) One mark per mark point: 5
MP1 Condition controlled loop used
MP2 Working input and re-input of value into declared variable
MP3 Use of selection/loop entry/exit condition to test if input is an integer
MP4 Appropriate use of error message
MP5 Working complete termination of loop
Example:
REPEAT
INPUT Number
IF MOD(Number, 1) <> 0
THEN
OUTPUT "Please try again"
ENDIF
UNTIL MOD(Number, 1) = 0
Or
INPUT Number
WHILE MOD(Number, 1) <> 0 (DO)
OUTPUT "Please try again"
INPUT Number
ENDWHILE
Page 3 of 21
for more: tyrionpapers.com