All papers

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

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

2h 30m 100 marks

AQA 7517 · Paper 2

13 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

Describe how a 12-bit unsigned binary integer such as 010010101110 can be converted directly into hexadecimal.

The method you describe must not involve converting into decimal.

[2 marks]

Answer
Mark scheme for question 1.1

State one reason why hexadecimal is often used in preference to binary.

[1 mark]

Answer
Mark scheme for question 1.2

Question 2

A data communications system uses parallel data transmission.

Describe how parallel data transmission works.

[2 marks]

Answer
Mark scheme for question 2.1

State one advantage of serial data transmission over parallel data transmission.

[1 mark]

Answer
Mark scheme for question 2.2
Figure for question 2

[1 mark]

Answer
Mark scheme for question 2.3

State the purpose of the start bit in asynchronous serial transmission.

[1 mark]

Answer
Mark scheme for question 2.4

State the purpose of the stop bit in asynchronous serial transmission.

[1 mark]

Answer
Mark scheme for question 2.5

Question 3

Complete the truth table in Figure 1 for the inputs A and B.

Figure for question 3

[1 mark]

Answer
Mark scheme for question 3.1

The truth table in Figure 1 demonstrates the correctness of an important law in Boolean algebra.

State the name of the law.

[1 mark]

Answer
Mark scheme for question 3.2
Figure for question 3

[4 marks]

Answer
Mark scheme for question 3.3

Question 4

Define the term ‘system software’.

[1 mark]

Answer
Mark scheme for question 4.1

The list below contains five types of software. Four of the types are examples of system software.

Shade one lozenge to indicate which type of software is not system software.

Figure for question 4

[1 mark]

Answer
Mark scheme for question 4.2

Describe two functions of an operating system.

Function 1

Function 2

[2 marks]

Answer
Mark scheme for question 4.3

Question 5

Figure 2 shows a number stored using a fixed point representation and two’s complement, with six bits before and four bits after the binary point.

Figure for question 5

Convert the number in Figure 2 to decimal.

You should show your working.

[2 marks]

Answer
Mark scheme for question 5.1

State two reasons why values stored using a floating point representation are usually stored in normalised form.

Reason 1

Reason 2

[2 marks]

Answer
Mark scheme for question 5.2

Questions 05.3, 05.4 and 05.5 use a normalised floating point representation with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement.

Figure 3 shows a floating point representation of a number.

Figure for question 5

Calculate the decimal equivalent of the number.

Express your answer as a fraction or to 4 decimal places.

You should show your working.

[2 marks]

Answer
Mark scheme for question 5.3

Questions 05.3, 05.4 and 05.5 use a normalised floating point representation with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement.

Write the normalised floating point representation of the decimal value –23.25 in the boxes below.

You should show your working.

Figure for question 5

[3 marks]

Answer
Mark scheme for question 5.4

Questions 05.3, 05.4 and 05.5 use a normalised floating point representation with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement.

Figure 4 shows the closest possible representation of the decimal number –0.22558594 in this floating point system.

Figure for question 5

By converting this number back to decimal it can be seen that the actual value stored is –0.2265625

Calculate the relative error that has occurred when representing –0.22558594

You should show your working.

Express your answer as a percentage to 2 decimal places.

[2 marks]

Answer
Mark scheme for question 5.5

Question 6

Supermarkets often gather information about their customers and the purchases that they make. This information can be analysed by the supermarket and other companies for a range of purposes.

Some of the information is collected at the checkout, where the identity of the person is read from a loyalty or payment card using RFID (radio-frequency identification) and a barcode reader is used to identify the products being purchased.

By analysing the purchases that a shopper has made, it might be possible to identify such things as whether the shopper has children, is pregnant, or lives in a house with a garden. Other types of analysis might include the amount of money a customer spends, the times that they choose to shop at and the differences in shopping habits of different groups of shoppers.

Describe the principles of operation of the hardware used to collect the information and discuss some of the ethical and legal issues that might arise as a result of the capture and processing of this data.

In your answer you will be assessed on your ability to follow a line of reasoning to produce a coherent, relevant and structured response.

[12 marks]

Answer
Mark scheme for question 6

Question 7

Figure for question 7

Shade one lozenge to identify which of the properties below does not have to be true for a fully normalised database.

Figure for question 7

[1 mark]

Answer
Mark scheme for question 7.1

Figure 6 is an incomplete entity-relationship diagram for part of the database shown in Figure 5.

Draw lines on Figure 6 to indicate the degree of the two relationships between the three entities shown in the entity-relationship diagram.

Figure for question 7

[2 marks]

Answer
Mark scheme for question 7.2

Complete the following SQL statement to create the Animal relation, including the key field.

CREATE TABLE Animal (

[3 marks]

Answer
Mark scheme for question 7.3
Figure for question 7

[7 marks]

Answer
Mark scheme for question 7.4

It is proposed that an additional attribute, ZooName, is added to the Animal relation. This will store the name of the zoo that currently has the animal. No other changes would be made to the database.

Describe one advantage and one disadvantage of adding this new attribute to the relation.

Advantage

Disadvantage

[2 marks]

Answer
Mark scheme for question 7.5

Question 8

A student is setting up a small computer network in their house. The network will link together the laptops, desktop computers and mobile devices that belong to the people who live in the house.

Compare how peer-to-peer networking and client-server networking work.

[3 marks]

Answer
Mark scheme for question 8.1

Explain why a peer-to-peer system would be most appropriate to use in the house.

[3 marks]

Answer
Mark scheme for question 8.2

When a person in the house uses the network to load a webpage it is likely that the Domain Name Server (DNS) system will be used.

Describe the main purpose of the DNS system and how it works.

[3 marks]

Answer
Mark scheme for question 8.3

Question 9

Figure for question 9 Figure for question 9

State the name of the addressing mode used in the instruction ADD R3, R3, R0

[1 mark]

Answer
Mark scheme for question 9.1

Memory location 120 contains the value 23 and memory location 121 contains the value 5.

Complete the trace table to show how the contents of the memory locations and registers change when the program in Figure 7 is executed.

Figure for question 9

[5 marks]

Answer
Mark scheme for question 9.2

State the purpose of the program in Figure 7.

[1 mark]

Answer
Mark scheme for question 9.3

The program in Figure 7 has been written using assembly language.

State two reasons why the programmer may have chosen to write this program in assembly language rather than in a high-level programming language.

Reason 1

Reason 2

[2 marks]

Answer
Mark scheme for question 9.4

The program in Figure 7 will be translated into machine code.

Explain the relationship between an assembly language instruction and a machine code instruction.

[1 mark]

Answer
Mark scheme for question 9.5

Question 10

A digital recording was made using a sampling rate of 44 100 Hz with a 16-bit sample resolution.

A sampling rate of 1 Hz means that one sample has been taken every second.

The file, which stores only the recording, is 17.199 megabytes in size.

Calculate the duration of the recording in seconds.

You should show your working.

[3 marks]

Answer
Mark scheme for question 10.1

MIDI is a system that can be used to enable musical devices to communicate and to represent music on a computer.

Describe the advantages of using MIDI to represent music instead of using sampled sound.

[3 marks]

Answer
Mark scheme for question 10.2

Question 11

Compare the hardware requirements of thin-client and thick-client computing systems.

[3 marks]

Answer
Mark scheme for question 11

Question 12

Figure for question 12

Shade one lozenge to indicate which of the listed functions from Figure 8 includes a higher-order function in its definition.

Figure for question 12

[1 mark]

Answer
Mark scheme for question 12.1

Shade two lozenges to indicate which of the listed functions from Figure 8 use recursion in their definitions.

Figure for question 12

[1 mark]

Answer
Mark scheme for question 12.2

Calculate the results of making the function calls listed in Table 2, using the functions and list in Figure 8 as appropriate.

Figure for question 12

[4 marks]

Answer
Mark scheme for question 12.3

Explain the purpose of the function fz.

[1 mark]

Answer
Mark scheme for question 12.4

It is proposed that the definition of the function fz is changed to: fz d = fu (fy (d)) Explain why this new definition of fz could be considered to be an improvement over the definition of fz in Figure 8.

[1 mark]

Answer
Mark scheme for question 12.5

Question 13

Below is a definition of a term relating to the architecture of a computer system:

Machine code instructions stored in main memory are fetched and executed serially by a processor that performs arithmetic and logical operations.

Shade one lozenge to indicate which term this defines.

Figure for question 13

[1 mark]

Answer
Mark scheme for question 13.1

Explain why desktop computers usually have secondary storage devices.

[2 marks]

Answer
Mark scheme for question 13.2

A computer is fitted with a solid-state disk (SSD).

Describe the principles of operation of an SSD.

[4 marks]

Answer
Mark scheme for question 13.3

The paper as printed

Spotted a mistake on this page?Report a problem