EXAM QUESTIONS · A LEVEL 9618
Security (A2) Exam-Style Questions with Answers (A Level 9618)
Original exam-style questions on symmetric and asymmetric encryption, public and private keys, quantum cryptography, SSL/TLS, digital certificates and digital signatures for Cambridge AS & A Level Computer Science 9618 (Paper 3). There are 21 marks in total. Try each question on paper first, then press Show answer to see the mark scheme. Answers that can be calculated mark themselves.
Explain how asymmetric encryption is used so that only the intended receiver can read a message.
Show answer
- The receiver has a pair of keys: a public key and a private key. [1]
- The receiver’s public key is shared openly. [1]
- The sender encrypts the message using the receiver’s public key. [1]
- Only the receiver’s matching private key can decrypt it, and the private key is never shared. [1]
Describe how a digital signature is created and checked.
Show answer
Any five from:
- A hashing algorithm is applied to the message to produce a message digest.
- The sender encrypts the digest with their private key; this is the digital signature.
- The message and signature are sent together.
- The receiver decrypts the signature with the sender’s public key to get the digest.
- The receiver hashes the received message with the same algorithm.
- If the two digests match, the message came from the sender and has not been changed.
Explain the purpose of a digital certificate and how one is obtained.
Show answer
- It links a public key to the identity of its owner, so users can trust that the key is genuine. [1]
- The organisation applies to a Certificate Authority (CA), which checks its identity. [1]
- The CA issues the certificate, signed with the CA’s private key, containing the owner’s name, public key, expiry date and serial number. [1]
Describe the main steps when a browser connects to a website using TLS.
Show answer
Any four from:
- The browser requests a secure connection (client hello).
- The server sends its digital certificate, which includes its public key.
- The browser checks the certificate is valid and issued by a trusted CA.
- A session key is agreed / created and sent securely using the server’s public key.
- All further data is encrypted with the symmetric session key.
Explain how quantum cryptography makes it possible to detect an eavesdropper.
Show answer
- Keys are sent as photons with different polarisations (quantum key distribution). [1]
- Measuring a photon changes its state. [1]
- So if an eavesdropper intercepts the photons, errors appear in the key and the two parties can detect the interception and discard the key. [1]
Give one reason why symmetric encryption is still used, even though asymmetric encryption is more secure for sharing keys.
Show answer
- Symmetric encryption is much faster [1], so it is used to encrypt large amounts of data once a session key has been shared securely using asymmetric encryption. [1]
Frequently asked questions
How does a digital signature work?
A hash (message digest) of the message is encrypted with the sender’s private key. The receiver decrypts it with the sender’s public key and compares it with their own hash of the message; if they match, the message is authentic and unchanged.
Are these past paper questions?
No. These are original exam-style questions written by a Computer Science teacher in the Cambridge style.
Revise the topic: 9618 security (A2) notes · 9618 flashcards · All exam-style questions