Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Oxford Cambridge and RSA Examinations AS Level Computer Science H046/02 Algorithms and problem solving 2024

Rating
-
Sold
-
Pages
39
Grade
A+
Uploaded on
06-03-2024
Written in
2023/2024

Oxford Cambridge and RSA Examinations AS Level Computer Science H046/02 Algorithms and problem solving 2024

Institution
Course

Content preview

Oxford Cambridge and RSA Examinations



AS Level Computer Science H046/02


Algorithms and problem solving 2024

, Oxford Cambridge and RSA

Monday 22 May 2023 – Afternoon
AS Level Computer Science
H046/02 Algorithms and problem solving
Time allowed: 1 hour 15 minutes

Do not use:
* 8 9 3 9 5 0 2 7 6 4 *




• 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 2023 [601/5030/0] OCR is an exempt Charity
DC (ST) 300308/5 Turn over

, 2
BLANK PAGE




PLEASE DO NOT WRITE ON THIS PAGE




© OCR 2023

, 3
1 A program uses a bubble sort to sort data into ascending numerical order.

The data is stored in a 0-indexed 1-dimensional array.

(a) Show each stage of a bubble sort to sort this data into ascending numerical order:

1 5 3 9 2 7


You should clearly show and label each pass in your answer.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




© OCR 2023 Turn over

Written for

Course

Document information

Uploaded on
March 6, 2024
Number of pages
39
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
EdwinEdwin99

Get to know the seller

Seller avatar
EdwinEdwin99 Oxford University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
223
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions