GCSE Past Paper Questions

WJEC GCSE Computer Science

Summer 2024 hardware 4m true false Q1

Show if each statement about CPUs is TRUE or FALSE.

StatementTrueFalse
The Control Unit (CU) decodes the program instruction in the Current Instruction Register (CIR).
The Program Counter (PC) holds the address in main memory that is currently being read.
RISC CPUs run at lower clock speeds than CISC CPUs.
The slower the clock speed, the more power is generally required.
Summer 2024 communication 4m matching Q2a

Match the network hardware with the correct description.

Description HubRouterSwitchBridge
Joins together two networks that use the same base protocols.
Copies all packets of data to all devices on the network.
Stores the addresses of computers on the network and transfers data between devices.
Analyses each data packet and sends it to the computer it was intended for.
Summer 2024 communication 4m short answer Q2b

Identify four different types of computer network.

Summer 2024 program construction 4m fill blank Q3a

Using the terms given, complete the following sentences about the stages of compilation.

Symbol Lexical Code Translation Optimisation Assembly Semantic Syntax
During analysis, keywords and identifiers are replaced by tokens.
During analysis, variables are checked to ensure that they are of the correct data type.
A table is created to hold the addresses of variables and subroutines.
Code may be employed to make the program more efficient.
Summer 2024 program construction 4m code error Q3b

This pseudo code is part of a payroll system. The system calculates the net pay by subtracting deductions from the gross pay. The pseudo code includes errors. Identify two errors in the code. State each error type and correction needed.

def CalcPay():

    Gross = input
    Tax = (Gross * 0.20)
    NatIns = (Gross * 0.10)
    Pension = (Gross * 0.10)
    Deducts = tax + NatIns + Pension
    NetPay = Gross + Deducts
Summer 2024 data organisation 2m short answer Q4a_i

Convert the binary number 11111100₂ to hexadecimal.

Summer 2024 data organisation 2m short answer Q4a_ii

Convert the denary number 138₁₀ to hexadecimal.

Summer 2024 data organisation 2m short answer Q4a_iii

Convert the hexadecimal number 5D₁₆ to denary.

Summer 2024 data organisation 1m short answer Q4b_i

State the effect of an arithmetic shift left by one place.

Summer 2024 data organisation 1m short answer Q4b_ii

State the effect of an arithmetic shift right by two places.

Summer 2024 software engineering 6m written Q5

An IDE is a software application that provides programmers with facilities to develop, debug and translate software.

Describe three IDE tools that are provided to help identify and remove errors in program code.

Summer 2024 system software 6m written Q6

Utility software are operating system programs designed to maintain the functionality of a computer system.

Describe three types of utility software that are provided to help maintain the security and integrity of computer data.

Summer 2024 ethical legal environmental 6m written Q7

Describe three examples of current legislation, relevant to the privacy and security of an individual's data when held on computers.

Summer 2024 logical operations 2m short answer Q8a

Apply the distributive law to complete the expressions.

KEY: + = OR, · = AND, ⊕ = XOR, ‾ = NOT

(i) (A · B) + C = ?
(ii) (A + B) · C = ?

Summer 2024 logical operations 2m short answer Q8b

Apply the absorption law to complete the expressions.

KEY: + = OR, · = AND, ⊕ = XOR, ‾ = NOT

(i) A · (A + B) = ?
(ii) A + A · B = ?

Summer 2024 logical operations 4m written Q8c

Clearly showing each step, simplify the Boolean expression:

A · (A + B) + B · (A + B)

Summer 2024 logical operations 4m truth table Q8d

Complete the truth table.: P + (P · Q)

PQP·QP + (P·Q)
0 0
0 1
1 0
1 1
Summer 2024 principles of programming 2m short answer Q9a_i

Parkwood Vale Motors wants to store details of the cars it has in stock in a database. The first two fields have been set as Strings.

Complete the table to include two other data types.

| Field Name | Data Type | Example Data |
|---|---|---|
| Car ID | String | E23TES |
| Manufacturer | String | Tesla |
| Range Miles | ? | 305 |
| Model (X, Y, 3 or Z) | ? | X |

Summer 2024 security data management 2m short answer Q9a_ii

Complete the table to include two other methods of validation.

| Field Name | Data Type | Example | Validation |
|---|---|---|---|
| Car ID | String | E23TES | Format check |
| Manufacturer | String | Tesla | Presence check |
| Range Miles | Integer | 305 | ? |
| Model (X, Y, 3 or Z) | Char | X | ? |

Summer 2024 security data management 4m short answer Q9b

The ASCII code for V is 01010110₂. Demonstrate how V would be encrypted and then decrypted using the XOR encryption method.

The key used is 11110000₂.

Summer 2024 security data management 2m written Q9c

Explain why Parkwood Vale Motors have decided to encrypt the data they hold on their customers.

Summer 2024 program construction 6m written Q10a

Describe the main characteristics that distinguish high-level programming languages from low-level languages.

Summer 2024 program construction 2m written Q10b_i

Describe a typical situation that requires the use of a high-level language.

Summer 2024 program construction 2m written Q10b_ii

Describe a typical situation that requires the use of a low-level language.

Summer 2024 communication 12m written Q12

Explain the purpose and functionality of the TCP/IP 5-layer model in computer networks.

Summer 2023 hardware 4m true false Q1a

Show if each statement about CPUs is TRUE or FALSE.

StatementTrueFalse
A dual-core CPU will always process instructions twice as fast as a single-core CPU.
The ALU can perform comparisons on data, e.g. an IF statement in a high-level language.
Overclocking is the process of setting a processor to run slower than its original design.
Cache memory has a slower disk access speed than RAM.
Summer 2023 hardware 3m written Q1b

Describe the fetch-decode-execute cycle.

Summer 2023 hardware 2m written Q1c

Describe the difference between an embedded system and a general-purpose computer system.

Summer 2023 hardware 2m written Q2a

The store recommends that Ahmed uses flash memory to store the system BIOS instead of ROM.

Explain why the store has made this recommendation.

Summer 2023 hardware 2m short answer Q2b

Ahmed's new computer will come with 4 GB of RAM as standard, but he is able to upgrade to 8 GB. Give two benefits of upgrading the RAM to 8 GB.

Summer 2023 hardware 4m short answer Q2c

Name two input and two output devices that Ahmed may wish to consider purchasing with his new computer.

Summer 2023 logical operations 4m truth table Q3a

Complete the truth table solving the equation:: Z = P·Q̄ + P̄

PQP·Q̄Z
0 0
0 1
1 0
1 1
Summer 2023 logical operations 4m written Q3b

Clearly showing each step, simplify the following Boolean expression:

A·C + C·(A + B)

Summer 2023 communication 3m matching Q4a

Match each protocol with the correct description.

Description HTTPFTPIMAPSMTP
A protocol that can be used when copying a file from one location to another via a network.
The protocol that can be used to transfer multimedia web pages over the internet.
An email protocol that stores email messages on a mail server.
Summer 2023 communication 2m short answer Q4b_i

State the role of both the TCP and IP protocols in network communication.

Summer 2023 communication 3m short answer Q4b_ii

One item of information found in a TCP/IP packet is the Destination Address. Name three other items found in a TCP/IP packet.

Summer 2023 communication 2m short answer Q4c

Give one advantage and one disadvantage of circuit switching.

Summer 2023 communication 6m written Q4d

Explain how DNS resolves addresses when a user attempts to visit a website.

Summer 2023 data organisation 1m short answer Q6a_i

Convert 89₁₀ into binary.

Summer 2023 data organisation 1m short answer Q6a_ii

Convert 01111011₂ into hexadecimal.

Summer 2023 data organisation 1m short answer Q6a_iii

Convert FB₁₆ into denary.

Summer 2023 data organisation 4m written Q6b

Describe the process of carrying out arithmetic shifts to the left and to the right.

Summer 2023 data organisation 2m short answer Q6c

Showing your workings, use binary addition to add 00100101₂ and 01111010₂.

Summer 2023 security data management 4m short answer Q7a

Parkwood Vale Groceries wants to store details of the products it sells in a database.

Complete the table using two different data types (not String) and two different methods of validation (not Format or Presence check).

| Field Name | Data Type | Example | Validation |
|---|---|---|---|
| Product ID | String | FR01234 | Format check |
| Product name | String | Cucumber | Presence check |
| Product type | ? | F | ? |
| Weight | ? | 3.54 | ? |

Summer 2023 security data management 4m written Q7b_i

Except for encryption, describe two software methods that could be used to protect the security of staff data.

Summer 2023 security data management 4m short answer Q7b_ii

Demonstrate how 10101010₂ would be encrypted and then decrypted using the XOR encryption method.

The key used is 11110000₂.

Summer 2023 software engineering 4m fill blank Q8

Complete the following sentences about the different tools available to a programmer in an IDE.

Editor Linker Break Point Memory Inspector Debugger Variable Watch Trace Loader
A is a program which loads previously compiled code into memory.
is a facility which displays the order in which the lines of a program are executed, and possibly the values of variables as the program is being run.
interrupts a program on a specific line of code, allowing the programmer to compare the values of variables against expected values.
is a facility which will display the contents of a section of storage.
Summer 2023 communication 4m code error Q9a

This program is intended to calculate the area of a circle (A = π r²). The program contains errors. Identify the errors and suggest corrections.

1  Start areaProc
2  area is real
3  pi is real
4  radius is real
5
6  set pi = 3.14
7
8  output "Please enter the radius"
9  input radius
10 area = pi * radius - radius
11 ouptut "The area = ", area
12
13 End areaProc
Summer 2023 communication 2m short answer Q9b

Give two benefits to programmers of using a high-level programming language.

Summer 2023 program construction 2m short answer Q9c

Name two stages of the compilation process.

Summer 2023 ethical legal environmental 2m short answer Q10a

Give two principles of the Computer Misuse Act which help businesses protect their data.

Summer 2023 security data management 6m written Q10b

Describe three different types of targeted attack against confidential data.

Summer 2023 security data management 4m written Q10c

Describe two methods of identifying vulnerabilities.

Summer 2023 system software 10m written Q11

Describe the purpose of different utility software provided by the operating system and the functionality of the operating system in managing resources.

Summer 2019 hardware 6m written Q2a

A school is considering replacing their computers with one of the following:

Computer 1: 5 GHz Dual-core 4MB cache, 4 GB RAM, 4 TB HDD
Computer 2: 2.5 GHz Quad-core 8MB cache, 8 GB RAM, 128 GB SSD

Compare the CPU performance of the two computers in terms of cache size, clock speed and number of cores.

Summer 2019 hardware 6m written Q2b

Compare the secondary storage devices used in the two computers.

Computer 1: 4 TB HDD 7200 rpm, DVD/RW
Computer 2: 128 GB SSD, Blu-ray

Summer 2019 logical operations 1m short answer Q3a

State the logical operator that produces the following output:

| A | B | C |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 0 |

Summer 2019 logical operations 1m short answer Q3b

State the logical operator that produces the following output:

| A | B | C |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 1 |

Summer 2019 logical operations 1m multiple choice Q3c_i

Which Boolean expression represents this truth table?

| A | B | C |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 1 | 0 |

Summer 2019 logical operations 1m multiple choice Q3c_ii

Which Boolean expression represents this truth table?

| A | B | C |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 0 |

Summer 2019 communication 3m matching Q4a

Match the protocol with the correct description.

Description EthernetIMAPSMTPTCP
The protocol that allows packets to be sent and received between computer systems.
A protocol that stores email messages on a mail server.
The protocol used to deliver email from the sender to an email server.
Summer 2019 communication 4m written Q4b

Describe the network layer and physical layer in the TCP/IP 5-layer model for data transmission.

Summer 2019 communication 2m short answer Q4c

Identify one protocol from the following used in each layer:

Protocols: Ethernet, IMAP, SMTP, TCP

Application Layer: ?
Transport Layer: ?

Summer 2019 software engineering 6m written Q5

Identify and describe three facilities provided by an IDE (Integrated Development Environment).

Summer 2019 logical operations 1m short answer Q6a

Clearly showing each step, simplify:

P · (0 + P)

Summer 2019 logical operations 4m written Q6b

Clearly showing each step, simplify:

Q · (Q + P) + P · (Q + P)

Summer 2019 data organisation 2m short answer Q7a

Complete the table, converting between denary and hexadecimal.

| Denary | Hexadecimal |
|---|---|
| 123₁₀ | 7B₁₆ |
| ? | 29₁₆ |
| 253₁₀ | ? |

Summer 2019 data organisation 4m short answer Q7b

Complete the table to calculate the binary addition of 18₁₀ to 89₁₀ using an 8-bit register.

Summer 2019 data organisation 3m written Q7c

Use a suitable example of binary addition to demonstrate the concept of overflow.

Summer 2019 data organisation 2m short answer Q7d_i

Perform an arithmetic shift left by one place on 01111001₂ and state the effect.

Summer 2019 data organisation 2m short answer Q7d_ii

Perform an arithmetic shift right by two places on 01100100₂ and state the effect.

Summer 2019 data organisation 3m written Q8a_i

Explain how a graphic is stored using a computer system.

Summer 2019 data organisation 3m written Q8a_ii

Explain how an analogue sound wave is stored using a computer system.

Summer 2019 data organisation 2m written Q8a_iii

Explain how text is stored using a computer system.

Summer 2019 data organisation 2m short answer Q8b_i

A compression method uses these ratios:

Lossy: 10:1
Lossless: 10:9

Calculate the resulting file size using each compression type for a 200 KB image.

Summer 2019 data organisation 3m written Q8b_ii

Explain why one of these compression types (lossy or lossless) is unsuitable for a text document.

Summer 2019 communication 4m written Q9

Explain the purpose and typical contents of an acceptable network use policy.

Summer 2019 security data management 2m written Q10a_i

Describe the following form of cyberattack: Worms.

Summer 2019 security data management 2m written Q10a_ii

Describe the following form of cyberattack: Spyware.

Summer 2019 security data management 2m written Q10a_iii

Describe the following form of cyberattack: Trojans.

Summer 2019 security data management 2m written Q10b_i

Describe the following method of identifying vulnerabilities: Footprinting.

Summer 2019 security data management 2m written Q10b_ii

Describe the following method of identifying vulnerabilities: Ethical hacking.

Summer 2019 security data management 2m written Q10b_iii

Describe the following method of identifying vulnerabilities: Penetration testing.

Summer 2019 system software 6m written Q11

Describe the functionality of three utility software tools.

Summer 2019 communication 12m written Q12

Discuss the advantages and disadvantages of different types of interface.

Autumn 2022 hardware 4m matching Q1

Tick one box only for each device to show if it is used for input, output or storage.

Description InputOutputStorage
Flash drive
Fingerprint scanner
Hard disk drive
Monitor
Autumn 2022 data organisation 4m fill blank Q2

Complete the tables to show the relationship between the data storage units.

nybbles bytes kilobytes megabytes gigabyte
2 = 1 byte
1024 = 1 kilobyte
1024 = 1 megabyte
1024 = 1 gigabyte
Autumn 2022 security data management 3m matching Q3a

Tick one box only to match the correct description with the form of cyberattack.

Description WormSpywareSQL InjectionTrojan
A program that appears to perform a useful function but also provides a 'backdoor' that enables data to be stolen.
A program installed by opening attachments that can be used to collect stored data without the user's knowledge.
Self-replicating program that identifies weaknesses in operating systems and enables remote control of the infected computer.
Autumn 2022 security data management 2m short answer Q3b_i

Describe the following method of identifying vulnerabilities:

Footprinting

Autumn 2022 security data management 2m short answer Q3b_ii

Describe the following method of identifying vulnerabilities:

Penetration testing

Autumn 2022 hardware 4m short answer Q4a

Using the components shown in a Von Neumann type architecture diagram (CPU with ALU, Control Unit, Register, and Main Memory), describe the fetch-decode-execute cycle.

Autumn 2022 hardware 2m short answer Q4b

Describe how a RISC type processor differs from a CISC type processor.

Autumn 2022 hardware 2m short answer Q4c_i

Describe the role of a Graphics card (GPU).

Autumn 2022 hardware 2m short answer Q4c_ii

Describe the role of a Motherboard.

Autumn 2022 logical operations 1m short answer Q5a

State the logical operator used in the following truth table:

| A | B | C |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 1 |

Autumn 2022 logical operations 1m multiple choice Q5b_i

Which Boolean expression represents the function described by the following truth table?

| P | Q | R |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 1 | 0 |

Autumn 2022 logical operations 1m multiple choice Q5b_ii

Which Boolean expression represents the function described by the following truth table?

| X | Y | Z |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 1 |

Autumn 2022 logical operations 3m truth table Q5c

Complete the truth table for the following Boolean expression:: A + (B + C)

ABCB+CA + (B+C)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Autumn 2022 communication 5m fill blank Q6a

Complete the following sentences about the TCP/IP 5-layer model using only the words given.

TRANSPORT BOOLEAN APPLICATION SUSPENSION GATEWAY NETWORK PHYSICAL DATA LINK
The layer provides interfaces to the software to allow it to use the network.
The layer ensures that data is transferred from one point to another reliably and without errors.
Addressing and routing is provided by the layer.
The layer prepares data to be passed to the physical layer.
The layer transmits the raw data.
Autumn 2022 communication 1m short answer Q6b_i

Draw a diagram of a star network topology.

Autumn 2022 communication 2m short answer Q6b_ii

Give two advantages of a star network topology.

Autumn 2022 communication 1m short answer Q6b_iii

Give one disadvantage of a star network topology.

Autumn 2022 ethical legal environmental 5m short answer Q6c

Describe the typical contents of an acceptable use policy.

Autumn 2022 data organisation 1m short answer Q7a_i

Convert 01101010₂ into hexadecimal.

Autumn 2022 data organisation 1m short answer Q7a_ii

Convert B9₁₆ into binary.

Autumn 2022 data organisation 1m short answer Q7a_iii

Give one reason why hexadecimal notation is used as shorthand for binary numbers.

Autumn 2022 data organisation 2m short answer Q7b

Using binary addition, add 10101011₂ to 00110110₂. Show your workings.

Autumn 2022 data organisation 2m short answer Q7c

State the effect of arithmetic shift functions by one place.

LEFT SHIFT: ?
RIGHT SHIFT: ?

Autumn 2022 data organisation 2m short answer Q8a

When graphics are stored using a certain computer system, every colour pixel is created using a combination of the three primary colours: red, green and blue. A 600 × 500 pixels 8-bit colour image has been created.

State the range and number of different colours in denary that can be represented using this colour model.

Autumn 2022 data organisation 2m short answer Q8b

Calculate the storage requirements of a 600 × 500 pixel 8-bit colour image in kilobytes.

Autumn 2022 logical operations 2m short answer Q9a

Clearly showing each step, simplify the following Boolean expression:

A·(B + B̄)

Autumn 2022 logical operations 5m short answer Q9b

Clearly showing each step, simplify the following Boolean expression:

A·(A + B) + B·(A + B)

Autumn 2022 principles of programming 1m short answer Q10a_i

Betty's B&B wants to store booking data on a computer system. The data includes Booking ID, Customer Title, Customer Name, Check in Date, Number of nights, Room Type, Cost and Paid.

State why an array would not be suitable for storing this data.

Autumn 2022 principles of programming 2m short answer Q10a_ii

Give a suitable example of data that may be stored by Betty's B&B using an array.

Autumn 2022 principles of programming 6m short answer Q10b

Design different types of validation check for three of the fields from the booking data table. Do not use presence check in your answer.

For each: state the Field, Type of check, and Rule.

Autumn 2022 security data management 4m short answer Q10c_i

Describe the dangers that organisations face from using computers to store personal data. Do not include malware in your answer.

Autumn 2022 security data management 4m short answer Q10c_ii

Explain the need for organisations to make backups and to maintain generations of files.

Autumn 2022 security data management 2m short answer Q10c_iii

Describe the need to archive files.

Autumn 2022 program construction 6m code error Q11

The following program is intended to add together two numbers and output the answer, but it contains errors. Identify three errors in the program and name each error type.

set firstNumber as integer
set secondNumber as integer
input firstNumber
imput secondNumber
output "The sum is, FirstNumber - secondNumber
Autumn 2022 ethical legal environmental 3m short answer Q12

Describe the environmental impact of digital technology on wider society.

Autumn 2022 program construction 9m written Q13

Describe the principal stages of the compilation process.