100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ocr A Level Computer Science (H446-02) Question Paper June2024. $15.29   Add to cart

Exam (elaborations)

ocr A Level Computer Science (H446-02) Question Paper June2024.

 21 views  1 purchase
  • Course
  • A Level Computer Science QP-MS 2024
  • Institution
  • A Level Computer Science QP-MS 2024

ocr A Level Computer Science (H446-02) Question Paper June2024.

Preview 4 out of 33  pages

  • September 16, 2024
  • 33
  • 2024/2025
  • Exam (elaborations)
  • Only questions
  • h446 02 qp jun24
  • A Level Computer Science QP-MS 2024
  • A Level Computer Science QP-MS 2024
avatar-seller
richardkasnia
ocr
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)

INSTRUCTIONS
Last name
• 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.




Turn over
approved

,approved

, 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]




approved

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

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

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

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

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

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

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

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

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

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




approved 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 richardkasnia. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81311 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
$15.29  1x  sold
  • (0)
  Add to cart