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

AQA A Level Computer Science Paper 1 2022

Rating
3.6
(5)
Sold
5
Pages
24
Grade
A+
Uploaded on
15-01-2023
Written in
2022/2023

AQA A Level Computer Science Paper 1 2022












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

Document information

Uploaded on
January 15, 2023
File latest updated on
January 15, 2023
Number of pages
24
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

A-level
COMPUTER SCIENCE
Paper 1


Time allowed: 2 hours 30 minutes
Materials
For this paper you must have:
• a computer
• a printer
• appropriate software
• the Electronic Answer Document
• an electronic version and a hard copy of the Skeleton Program
• an electronic version and a hard copy of the Preliminary Material
• an electronic version of the Data Files game1.txt and locks.txt
You must not use a calculator.

Instructions
• Type the information required on the front of your Electronic Answer Document.
• Before the start of the examination make sure your Centre Number, Candidate Name and
Candidate Number are shown clearly in the footer of every page (also at the top of the front
cover) of your Electronic Answer Document.
• Enter your answers into the Electronic Answer Document.
• Answer all questions.
• Save your work at regular intervals.

Information
• The marks for questions are shown in brackets.
• The maximum mark for this paper is 100.
• No extra time is allowed for printing and collating.
• The question paper is divided into four sections.

Advice
You are advised to allocate time to each section as follows:
Section A – 40 minutes; Section B – 20 minutes; Section C – 20 minutes; Section D – 70 minutes.

At the end of the examination
Tie together all your printed Electronic Answer Document pages and hand them to the Invigilator.

Warning
It may not be possible to issue a result for this paper if your details are not on every page of your
Electronic Answer Document.




IB/G/Jun22/E12 7517/1

, 2


Section A

You are advised to spend no longer than 40 minutes on this section.

Type your answers to Section A in your Electronic Answer Document.

You must save this document at regular intervals.


0 1 Big-O notation is used to express the time complexity of an algorithm. Table 1
contains a list of algorithms.

State the Big-O time complexity of each of these algorithms. The first row has been
completed for you.

Table 1


Algorithm Time complexity

Binary tree search O(log n)

Bubble sort

Linear search

Merge sort



Copy the contents of the unshaded cells in Table 1 into the table in your Electronic
Answer Document.
[3 marks]




IB/G/Jun22/7517/1

, 3


0 2 A queue data structure can be implemented as a static data structure using an array.

0 2 . 1 Describe the method that would need to be followed to attempt to remove an item
from a circular queue implemented as a static data structure using an array.

Your method should deal appropriately with any issues which could arise.
[4 marks]

0 2 . 2 Describe three differences between dynamic and static data structures.
[3 marks]


Figure 1 shows data that has been stored in a stack implemented using an array S.

Figure 1

[7]

[6]

[5]

[4]

[3]

[2] Jib Top = 2

[1] Skye

[0] Harry


0 2 . 3 What value will be returned by applying the peek operation to S?
[1 mark]


0 2 . 4 What value will be returned by applying the pop operation to S?
[1 mark]


0 2 . 5 Explain how a single stack can be used to reverse the order of the items in a queue.
[2 marks]




Turn over for the next question




Turn over ►
IB/G/Jun22/7517/1

, 4


0 3 Figure 2 shows a logic puzzle.

Figure 2


Which one of these six statements is correct?

Statement 1: All of the statements below are correct.

Statement 2: None of the statements below are correct.

Statement 3: All of the statements above are correct.

Statement 4: Exactly one of the statements above is correct.

Statement 5: None of the statements above are correct.

Statement 6: None of the statements above are correct.




0 3 . 1 Explain why Statement 1 is not correct.
[1 mark]


0 3 . 2 Which one of the six statements in Figure 2 is correct?
[1 mark]


0 3 . 3 For two statements other than Statement 1 and your answer to Question 03.2, explain
why those statements are not correct.
[2 marks]




IB/G/Jun22/7517/1
£5.49
Get access to the full document:
Purchased by 5 students

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Reviews from verified buyers

Showing all 5 reviews
2 year ago

2 year ago

2 year ago

2 year ago

2 year ago

3.6

5 reviews

5
2
4
1
3
1
2
0
1
1
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
rabnawaz7861
View profile
Follow You need to be logged in order to follow users or courses
Sold
116
Member since
3 year
Number of followers
97
Documents
0
Last sold
2 year ago

4.2

16 reviews

5
10
4
3
3
1
2
0
1
2

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions