←

Paper 2 (written)

1.12 marks
Represent −45 as an 8-bit two's complement binary number.
1.21 mark
Convert 11010011 to hexadecimal.
1.32 marks
A floating-point number has an 8-bit two's complement mantissa 0.1010000 and a 4-bit two's complement exponent 0011. Calculate its denary value.
1.42 marks
Explain why floating-point numbers are normalised.
1.53 marks
A 3-minute stereo recording is sampled at 44.1 kHz with 16-bit resolution. Calculate the file size in megabytes (1 MB = 10⁶ bytes).
1.62 marks
Calculate the size in bytes of an uncompressed 1920 × 1080 bitmap with a colour depth of 24 bits.
1.73 marks
Explain how run-length encoding works and why it is effective for some images but not others.
1.82 marks
Explain the difference between lossy and lossless compression.
1.93 marks
Explain why the Vernam cipher is said to offer perfect security.
2.13 marks
Simplify A·B + A·B̄ + Ā·B, showing your working.
2.23 marks
Use De Morgan's laws to write NOT(A + B) and NOT(A · B) in another form, and state one use of logic simplification.
2.33 marks
Explain the difference between system software and application software, with an example of each.
2.44 marks
Compare compilers and interpreters.
3.15 marks
Describe the fetch stage of the fetch–decode–execute cycle, referring to the registers used.
3.24 marks
Explain how clock speed, number of cores and cache size affect processor performance.
3.35 marks
    MOV R0, #0    MOV R1, #1loop:    ADD R0, R0, R1    ADD R1, R1, #1    CMP R1, #5    BLT loop    STR R0, 100    HALT
Trace this program (AQA instruction set) and state the value stored in memory location 100. Explain the purpose of the program.
3.43 marks
Explain how a processor handles an interrupt.
4.14 marks
Describe the role of each layer of the TCP/IP stack when a web page is requested.
4.23 marks
A host has IP address 192.168.10.37 with subnet mask 255.255.255.192 (/26). State the network address, the broadcast address and the number of usable host addresses in the subnet.
4.35 marks
Explain how digital signatures and digital certificates use asymmetric encryption to provide security.
5.16 marks
A shop stores orders in one table: Order(OrderID, OrderDate, CustomerID, CustomerName, CustomerEmail, ProductID, ProductName, Price, Quantity) Normalise this to third normal form, showing the tables and keys.
5.24 marks
Write an SQL query to list the names and prices of products costing more than £20, most expensive first.
5.34 marks
Write an SQL query to show the total quantity of products ordered by the customer with email 'ana@example.com'.
5.43 marks
Explain what is meant by atomicity and isolation in transaction processing.
6.13 marks
Describe three characteristics of Big Data.
6.24 marks
L = [3, 8, 1, 6]. State the result of: (a) map (*2) L, (b) filter (>5) applied to the result of (a), (c) fold (+) 0 applied to the result of (b). Explain one benefit of functional programming for Big Data.
6.32 marks
A function add takes two integers and returns an integer. Write its type in the form used for functional programming and explain partial application.
712 marks
Discuss the ethical, legal and cultural issues raised by police use of live facial recognition in public places.

Finished?

Answer every question to finish (28 left), or finish when the time’s up.

Score 0 / 100 · 0 of 28 marked

This paper is written by Plasmo in the style of the AQA A-Level Computer Science exam. It is not a past paper and is not produced or endorsed by the exam board.

AQA A-Level Computer Science Mock Exam: Paper 2 (written) | Plasmo