All papers

Computer Science · AQA 7517 · Paper 2: Written exam · June 2025

AQA A Level Computer Science Paper 2: Written exam June 2025 question paper 7517/2

2h 30m 100 marks

AQA 7517 · Paper 2

14 questions
Report a problem
What is wrong?

Goes to whoever maintains the question split. No account needed and nothing is published on this page.

Question 1

Figure 1 shows the classification of various types of software and some examples of these types.

Figure 1

Figure for question 1

Complete Table 1 by naming the correct types of software that should be placed at positions 1 to 4 in Figure 1.

Figure for question 1

[2 marks]

Answer
Mark scheme for question 1.1

One function of the operating system is to allocate I/O devices to competing processes.

Describe two other functions of an operating system.

Function 1

Function 2

[2 marks]

Answer
Mark scheme for question 1.2

Software can be developed using a low-level language or a high-level language.

Describe the advantages of writing programs using a high-level language.

[4 marks]

Answer
Mark scheme for question 1.3

Question 2

A sound file, produced by sampling sound, requires 1.5 megabytes of storage space.

The sound file has a duration of 50 seconds and was recorded at a sample rate of 20 000 samples per second (Hertz).

Calculate the sample resolution that was used when the sound was sampled.

[2 marks]

Answer
Mark scheme for question 2.1

Describe the principles of operation of an analogue to digital converter (ADC).

[2 marks]

Answer
Mark scheme for question 2.2

Explain one reason why a digital sound file that has been recorded using sampling may not accurately represent the original analogue signal produced by the microphone.

[2 marks]

Answer
Mark scheme for question 2.3

One advantage of representing a piece of music using MIDI instead of as sampled sound is that the file produced requires less storage space.

Explain why.

[2 marks]

Answer
Mark scheme for question 2.4

Question 3

Describe the principles of operation of an optical disk.

In your response, you should cover how data is represented on a disk and how the data would be read.

[6 marks]

Answer
Mark scheme for question 3.1

State two reasons why most modern computers do not have an optical disk drive.

Reason 1

Reason 2

[2 marks]

Answer
Mark scheme for question 3.2

Question 4

It is difficult to write and enforce laws relating to the use of computers.

Explain why.

[3 marks]

Answer
Mark scheme for question 4

Question 5

Explain why a client-server network would be more suitable for use in a school than a peer-to-peer network.

[3 marks]

Answer
Mark scheme for question 5

Question 6

A school uses a relational database to store information about merits that are given to students. A merit is an award made for outstanding work or conduct.

At the end of each term, prizes are awarded to the students who achieve the most merits.

The database contains the four relations shown in Figure 2.

Figure for question 6

The Student relation stores information about the students who attend the school. An example of the data stored about a student is:

Figure for question 6

The Teacher relation stores information about the teachers who work at the school and who award merits to students.

The Merit relation stores information about the merits that teachers have awarded to students, when they were awarded and for what reason.

The Term relation stores information about the dates of each term. An example of the data stored about a term is:

TermNameTermYearStartDateEndDate
Autumn202404/09/202420/12/2024

The StudentID, TeacherID, MeritID, YearGroup and TermYear attributes are all numeric values.

When the Merit relation was first designed, it did not contain the MeritID field. Instead, the values in the StudentID, TeacherID and DateAwarded attributes were used together as a composite entity identifier.

Describe the limitation that would have occurred if the entity identifier for the Merit relation consisted of the StudentID, TeacherID and DateAwarded attributes.

[1 mark]

Answer
Mark scheme for question 6.1

The diagram below shows three of the entities from the school merit database.

Draw the relationships that exist between the three entities shown on the diagram.

You must clearly show the degree of each relationship.

Figure for question 6

[1 mark]

Answer
Mark scheme for question 6.2

Figure 2 is repeated below to help you answer Questions 06.3 and 06.4 without having to turn back in the question paper.

Figure for question 6

A new student has joined the school. The student is called Ethan Smith and their year group is 7. They are placed in Hulme house and given the StudentID number 17423.

Write SQL code to add the student’s details to the Student table.

[2 marks]

Answer
Mark scheme for question 6.3

At the end of the Spring term of 2025, the school needed to identify the students who achieved merits during the term, so that prizes could be awarded to them.

The dates of the term are stored in the Term table.

Write a query that will list all the merits that were awarded during the term.

For each merit on the list, the first name and last name of the student awarded the merit should be included, together with the reason the merit was awarded.

The merits should appear on the list in order of the StudentID of the students that they were awarded to, with merits for the student with the lowest StudentID at the start of the list.

[6 marks]

Answer
Mark scheme for question 6.4

The merits database can be accessed on any computer within the school.

It is possible that two users might try to edit the same record simultaneously.

Describe how two users trying to edit the same record could cause a problem if the database system did not implement a method to manage concurrent access.

[2 marks]

Answer
Mark scheme for question 6.5

Question 7

State the stored program concept.

[2 marks]

Answer
Mark scheme for question 7.1

Describe the roles of the following three components of a processor.

Question 7, shown as an image

General purpose registers

Question 7, shown as an image

[6 marks]

Answer
Mark scheme for question 7.2
Figure for question 7

[1 mark]

Answer
Mark scheme for question 7.3

When the immediate addressing mode is used:

• the value in Operand C in Figure 3 represents a numeric value that will be processed by the ADD instruction

• the value in Operand C is represented as a two’s complement binary integer.

In decimal, calculate the range of numbers that Operand C can represent.

Question 7, shown as an image

[1 mark]

Answer
Mark scheme for question 7.4

Question 8

The Internet Protocol version 4 (IPv4) addressing system does not provide enough unique addresses for every device that is connected to the Internet.

This is being addressed in the long term by the replacement of IPv4 with IPv6.

In the short term, the use of public and private IP addresses, NAT and DHCP is helping to deal with this problem.

Explain:

• why IPv4 does not provide enough unique addresses and how IPv6 will overcome this problem

• the difference between a public (routable) and a private (non-routable) IP address

• how NAT works and how it helps to deal with this problem

• how DHCP works and how it helps to deal with this problem.

[12 marks]

Answer
Mark scheme for question 8

Question 9

Figure 4 shows a logic circuit. The circuit has seven inputs and two outputs. The inputs B6 to B0 represent the ASCII code of a character, where B6 is the most significant bit and B0 is the least significant bit. The circuit outputs are Q1 and Q2. The outputs of six of the gates in the circuit have been labelled U, V, W, X, Y and Z.

Figure for question 9

Figure 5 shows the ASCII code for printable characters.

Figure for question 9
Figure for question 9

[4 marks]

Answer
Mark scheme for question 9.1

Figure 4 is repeated below to help you answer Questions 09.2 and 09.3 without having to turn back in the question paper.

Figure for question 9

Describe the purpose of the outputs Q1 and Q2 of the circuit in Figure 4.

[2 marks]

Answer
Mark scheme for question 9.2

Shade one lozenge to indicate which of the Boolean equations correctly represents

Question 9, shown as an image
Figure for question 9

[1 mark]

Answer
Mark scheme for question 9.3

Question 10

State two reasons why data is often compressed.

Reason 1

Reason 2

[2 marks]

Answer
Mark scheme for question 10.1

Two different methods of compressing data are run length encoding (RLE) and dictionary-based methods.

Explain why RLE is more suitable for compressing images and dictionary-based methods are more suitable for compressing text.

[2 marks]

Answer
Mark scheme for question 10.2

Question 11

Figure for question 11

Shade all of the lozenges for the statements that are true about the fibonacci function in Figure 6.

Figure for question 11

[1 mark]

Answer
Mark scheme for question 11.1

Shade one lozenge to indicate the function type of the fibonacci function in Figure 6.

Figure for question 11

[1 mark]

Answer
Mark scheme for question 11.2

Explain why the recursive method used by the code in Figure 6 is not an efficient method of calculating the n th term in the Fibonacci sequence.

[2 marks]

Answer
Mark scheme for question 11.3

Describe what partial function application is.

[2 marks]

Answer
Mark scheme for question 11.4

Question 12

A computer represents numbers using a normalised floating point representation with an 8-bit mantissa and a 6-bit exponent, both stored using two’s complement, as shown in Figure 7.

Five different bit patterns that are stored in this computer’s memory are listed in Figure 7 and are labelled with the letters A to E. Four of the bit patterns are valid normalised floating point numbers and one is not.

Figure for question 12

Shade one lozenge to indicate which bit pattern (A – E) in Figure 7 does not represent a normalised value.

Figure for question 12

[1 mark]

Answer
Mark scheme for question 12.1

Shade one lozenge to indicate which bit pattern (A – E) in Figure 7 shows the most negative normalised value that can be represented.

Figure for question 12

[1 mark]

Answer
Mark scheme for question 12.2

State one reason why values stored using a floating point representation are usually normalised.

[1 mark]

Answer
Mark scheme for question 12.3

Question parts 12.4 and 12.5 use a normalised floating point representation with an 8-bit mantissa and a 6-bit exponent, both stored using two’s complement.

Figure 8 shows a floating point representation of a number:

Figure for question 12

Calculate the decimal equivalent of the number in Figure 8.

Express your answer to at least four decimal places or as a fraction.

You should show your working.

[2 marks]

Answer
Mark scheme for question 12.4
Figure for question 12 Figure for question 12

[3 marks]

Answer
Mark scheme for question 12.5

Calculate the relative error that occurred when you represented 43 057 152 as closely as possible in question part 12.5.

You should show your working.

Express your answer as a percentage to at least four decimal places.

[1 mark]

Answer
Mark scheme for question 12.6

Question 13

Using the rules of Boolean algebra, simplify the following Boolean expression.

You must show your working.

Working

[4 marks]

Answer
Mark scheme for question 13

Question 14

Figure for question 14 Figure for question 14 Figure for question 14

[6 marks]

Answer
Mark scheme for question 14

The paper as printed

Spotted a mistake on this page?Report a problem