100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
1
Pages
33
Grade
A+
Uploaded on
16-09-2024
Written in
2024/2025

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

Institution
A Level Computer Science QP-MS 2024
Course
A Level Computer Science QP-MS 2024











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
A Level Computer Science QP-MS 2024
Course
A Level Computer Science QP-MS 2024

Document information

Uploaded on
September 16, 2024
Number of pages
33
Written in
2024/2025
Type
Exam (elaborations)
Contains
Only questions

Subjects

  • h446 02 qp jun24

Content preview

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
richardkasnia Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
98
Member since
2 year
Number of followers
53
Documents
862
Last sold
7 months ago

3.3

12 reviews

5
7
4
0
3
0
2
0
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions