100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
OCR A Level Computer Science May-June 2024 Question Paper 02 (H446-02) £5.32   Add to cart

Exam (elaborations)

OCR A Level Computer Science May-June 2024 Question Paper 02 (H446-02)

 0 view  0 purchase
  • Institution
  • OCR

OCR A Level Computer Science May-June 2024 Question Paper 02 (H446-02)

Preview 4 out of 33  pages

  • November 13, 2024
  • 33
  • 2024/2025
  • Exam (elaborations)
  • Only questions
All documents for this subject (101)
avatar-seller
chillzonetyrion
EXAM PREP




Turn over

, Scroll below to see the sample of the paper

O2ered to you by Tyrion Papers
https://tyrionpapers.com


If you have any issues or queries, do reach out to
tyrionlay@gmail.com
I’ll help you out for sure


We have locked papers, Predicted Papers, Topic tests, Notes,
question banks and so much more

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




© 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 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 chillzonetyrion. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £5.32. 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 revision notes and other study material for 14 years now

Start selling
£5.32
  • (0)
  Add to cart