100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
OXFORD CAMBRIDGE AND RSA 2024 GCE Computer Science H446/02: Algorithms and programming A Level ACTUAL QUESTION PAPER AND MARKING SCHEME MERGED $6.99   Add to cart

Exam (elaborations)

OXFORD CAMBRIDGE AND RSA 2024 GCE Computer Science H446/02: Algorithms and programming A Level ACTUAL QUESTION PAPER AND MARKING SCHEME MERGED

 9 views  1 purchase
  • Course
  • OCR
  • Institution
  • OCR

OXFORD CAMBRIDGE AND RSA 2024 GCE Computer Science H446/02: Algorithms and programming A Level ACTUAL QUESTION PAPER AND MARKING SCHEME MERGED

Preview 4 out of 65  pages

  • October 24, 2024
  • 65
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • OCR
  • OCR
avatar-seller
DistinctionGuruHuan1
[Pick the date]




OXFORD
CAMBRIDGE GCE Computer Science H446/02:
AND RSA Algorithms and programming A Level
2024




[Type the document subtitle]

, Oxford Cambridge and RSA


Tuesday 18 June 2024 – Afternoon
A Level Computer Science
H446/02 Algorithms and programming
Time allowed: 2 hours 30 minutes

You can use:
• a ruler (cm/mm)
• an HB pencil
Do not use:
• a calculator




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. You can use an HB pencil, but only for graphs and diagrams.
• 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 140.
• 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 32 pages.

ADVICE
• Read each question carefully before you start your answer.




OCR is an exempt Charity
Turn over

, 2
Section A

1 A student has written this pseudocode algorithm:

01 a = 12

02 do

03 b = input("Enter a number") 04

until b >= 0 and b <= 100

05 for c = 1 to a 06

print(c * a) 07 next c

(a) The program uses variables.

(i) Describe what is meant by a variable.

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

. ....................................................................................................................................................................................................... [2]

(ii) Give the identifiers of all the variables used in this program.

. ....................................................................................................................................................................................................... [1]

(b) The student has used a do loop on line 02.

Describe the difference between a do loop and a while loop.

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................
[2]




© OCR 2024

, 3
(c) Rewrite lines 05to 07to use a while loop instead of a for loop.

You should write your answer using either program code or pseudocode.

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

..........................................................................................................................................................

. ....................................................................................................................................................................................................... [4]




© OCR 2024 Turn over

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller DistinctionGuruHuan1. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $6.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67096 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$6.99  1x  sold
  • (0)
  Add to cart