Algorithms and programming QUESTION PAPER +
MARK SCHEME June 2022 | 100% Verified
written by
LectWilson
The Marketplace to Buy and Sell your Study Material
At Stuvia, you will find the best notes, summaries, flashcards & other study material. Search for your
school or uni and find the study material you need.
www.stuvia.com
Downloaded by: LectWilson | Want to earn $1.236
Distribution of this document is illegal extra per year?
, Stuvia.com - The Marketplace to Buy and Sell your Study Material
OCR A LEVEL COMPUTER SCIENCE
PAPER 2 QUESTION + MARK SCHEME
JUNE 2022
Downloaded by: LectWilson | Want to earn $1.236
Distribution of this document is illegal extra per year?
, Stuvia.com - The Marketplace to Buy and Sell your Study Material
Oxford Cambridge and RSA
Friday 27 May 2022 – Morning
AS Level Computer Science
H046/02 Algorithms and problem solving
Time allowed: 1 hour 15 minutes
Do not use:
* 8 3 2 2 6 2 0 9 2 6 *
• 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 pages 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 16 pages.
ADVICE
• Read each question carefully before you start your answer.
© OCR 2022 [601/5030/0] OCR is an exempt Charity
DC (ST/CGW) 300547/6 Turn over
Downloaded by: LectWilson | Want to earn $1.236
Distribution of this document is illegal extra per year?
, Stuvia.com - The Marketplace to Buy and Sell your Study Material
2
Answer all the questions.
1 Ruhail owns ten different function rooms which can be hired by different business customers to
hold meetings. He would like a program to manage the booking process of each room.
Customers should be able to enter the date they want to hire a function room, and then a list
of available rooms will be displayed. Customers can then select which room they want to hire.
Customers can then enter their payment details which are then checked and then a confirmation
email is sent to the customer.
(a) Complete the structure diagram below to show the different component parts of the problem.
Function
rooms
Check Choose Check
availability room payment
Check
payment details
[4]
(b) Ruhail will make use of an Integrated Development Environment (IDE).
State the purpose of an IDE.
...................................................................................................................................................
.............................................................................................................................................. [1]
(c) State two different programming constructs and give an example of how Ruhail could use
each construct when creating his program code.
1 ................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
2 ................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
[4]
© OCR 2022
Downloaded by: LectWilson | Want to earn $1.236
Distribution of this document is illegal extra per year?