Lesson 1.3.1
1.3.1 Compression, encryption and hashing Quiz: OCR Computer Science, Unit 3
20 questions
In partnership with Revision Ninja
Lesson 1.3.1, Compression, encryption and hashing: 20 multiple choice questions for the OCR Computer Science (H446), Unit 3: Exchanging data, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
Which type of compression permanently removes data to reduce file size?
- Run length encoding
- Dictionary coding
- Lossless compression
- Lossy compression
-
Which compression method allows the original file to be reconstructed perfectly?
- Symmetric encryption
- Asymmetric encryption
- Lossy compression
- Lossless compression
-
Which file type typically uses lossy compression to reduce file size?
- Executable file
- JPEG image
- Text document
- Source code
-
What does run length encoding replace repeated sequences of data with?
- Dictionary keys
- Hash digests
- Frequency-value pairs
- Public keys
-
What is the run length encoding output for the string AAAAABBB?
- A5B3
- 8AB
- 5A8B
- 5A3B
-
What replaces recurring words or phrases when using dictionary compression?
- Run counts
- Short index tokens
- Hash digests
- Private keys
-
What must be transmitted alongside the compressed data in dictionary coding?
- The private key
- The hash function
- The original file
- The dictionary table
-
Which key structure is used to encrypt and decrypt in symmetric encryption?
- Two public keys
- Hash digest key
- Public-private pair
- Single shared key
-
What is the main security challenge associated with using symmetric encryption?
- Data corruption
- Irreversible hashing
- Key distribution
- Slow processing speed
-
How many keys are used in an asymmetric encryption key pair?
- Three separate keys
- Two different keys
- One shared key
- No keys
-
Which key decrypts a message that was encrypted using asymmetric encryption?
- Recipient's public key
- Sender's public key
- Sender's private key
- Recipient's private key
-
Which key does a sender use to encrypt a private message for a recipient?
- Sender's private key
- Recipient's public key
- Recipient's private key
- Sender's public key
-
Which fundamental property distinguishes a hash function from an encryption algorithm?
- It is one-way
- It requires passwords
- It uses keys
- It is reversible
-
Which application relies on hashing rather than encryption for data security?
- Compressing text files
- Sending private emails
- Storing user passwords
- Establishing VPN tunnels
-
What happens to the hash digest if a single input character is changed?
- Output remains identical
- Output length doubles
- One character changes
- Output changes completely
-
What is a hash value called when used to verify data integrity during transfer?
- Ciphertext
- Checksum digest
- Symmetric key
- Dictionary index
-
What term describes unreadable encrypted data before it has been decrypted?
- Plaintext
- Ciphertext
- Hash digest
- Dictionary token
-
Which key does a sender use to create a valid digital signature?
- Recipient's public key
- Sender's public key
- Sender's private key
- Recipient's private key
-
What term describes the event when two different inputs produce identical hash outputs?
- Key exchange error
- Encryption failure
- Hash collision
- Dictionary overflow
-
Why is symmetric encryption generally preferred over asymmetric encryption for large files?
- One-way transformation
- Faster processing speed
- Higher key secrecy
- No key distribution
Related quizzes
- Database design: keys, entity relationships, normalisation and indexing Quiz · 1.3.2a · 20 questions
- SQL, data management, referential integrity and ACID transactions Quiz · 1.3.2b · 20 questions
- Network characteristics, protocols, TCP/IP, DNS and protocol layering Quiz · 1.3.3a · 20 questions
- LANs, WANs, switching, network hardware, security and client-server Quiz · 1.3.3b · 20 questions
- HTML, CSS, JavaScript and client-side and server-side processing Quiz · 1.3.4a · 20 questions
- Search engine indexing and the PageRank algorithm Quiz · 1.3.4b · 20 questions
- Processor components: ALU, control unit, registers and buses Quiz · 1.1.1a · 20 questions
- Operating systems and memory management Quiz · 1.2.1a · 20 questions
- Primitive data types and binary number representation Quiz · 1.4.1a · 20 questions
- Data Protection Act 1998 and Computer Misuse Act 1990 Quiz · 1.5.1a · 20 questions