Monday 18 May 2026 – Afternoon
AS Level Computer Science
H046/02 Algorithms and problem solving
Time allowed: 1 hour 15 minutes
Do not use:
* 1 3 2 8 8 0 6 5 9 9 *
• a calculator
* H 0 4 6 0 2 *
Please write clearly in black ink. Do not write in the barcodes.
Centre number Candidate number
First name(s)
Last name
INSTRUCTIONS
• Use black ink.
• Write your answer to each question in the space provided. If you need extra space use
the lined page at the end of this booklet. The question numbers must be clearly shown.
• Answer all the questions.
INFORMATION
• The total mark for this paper is 70.
• The marks for each question are shown in brackets [ ].
• Quality of extended response will be assessed in questions marked with an asterisk (*).
• This document has 20 pages.
ADVICE
• Read each question carefully before you start your answer.
© Cambridge OCR 2026 [601/5030/0] Cambridge OCR is an exempt Charity
DC (CJ) 335811/4 Turn over
for more:
, 2
BLANK PAGE
DO NOT WRITE ON THIS PAGE
© Cambridge OCR 2026
for more:
, 3
1 An online computer game is being designed that will allow users to create a graphical
representation of themselves known as an avatar. The avatars can collect materials such as
wood to build houses which then become villages.
(a) Abstraction is used when designing the computer game.
(i) State the meaning of the term abstraction.
..........................................................................................................................................................
..................................................................................................................................................... [1]
(ii) Identify two ways abstraction can be used in this online computer game.
1 .......................................................................................................................................................
..........................................................................................................................................................
2 .......................................................................................................................................................
..........................................................................................................................................................
[2]
(iii) Explain one benefit of using abstraction when designing a program.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [2]
© Cambridge OCR 2026 Turn over
for more:
AS Level Computer Science
H046/02 Algorithms and problem solving
Time allowed: 1 hour 15 minutes
Do not use:
* 1 3 2 8 8 0 6 5 9 9 *
• a calculator
* H 0 4 6 0 2 *
Please write clearly in black ink. Do not write in the barcodes.
Centre number Candidate number
First name(s)
Last name
INSTRUCTIONS
• Use black ink.
• Write your answer to each question in the space provided. If you need extra space use
the lined page at the end of this booklet. The question numbers must be clearly shown.
• Answer all the questions.
INFORMATION
• The total mark for this paper is 70.
• The marks for each question are shown in brackets [ ].
• Quality of extended response will be assessed in questions marked with an asterisk (*).
• This document has 20 pages.
ADVICE
• Read each question carefully before you start your answer.
© Cambridge OCR 2026 [601/5030/0] Cambridge OCR is an exempt Charity
DC (CJ) 335811/4 Turn over
for more:
, 2
BLANK PAGE
DO NOT WRITE ON THIS PAGE
© Cambridge OCR 2026
for more:
, 3
1 An online computer game is being designed that will allow users to create a graphical
representation of themselves known as an avatar. The avatars can collect materials such as
wood to build houses which then become villages.
(a) Abstraction is used when designing the computer game.
(i) State the meaning of the term abstraction.
..........................................................................................................................................................
..................................................................................................................................................... [1]
(ii) Identify two ways abstraction can be used in this online computer game.
1 .......................................................................................................................................................
..........................................................................................................................................................
2 .......................................................................................................................................................
..........................................................................................................................................................
[2]
(iii) Explain one benefit of using abstraction when designing a program.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [2]
© Cambridge OCR 2026 Turn over
for more: