Lesson 1.3.2a
1.3.2a Database design: keys, entity relationships, normalisation and indexing Quiz: OCR Computer Science, Unit 3
20 questions
In partnership with Revision Ninja
Lesson 1.3.2a, Database design: keys, entity relationships, normalisation and indexing: 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
-
What attribute uniquely identifies a record in a relational database table?
- Foreign key
- Candidate key
- Composite key
- Primary key
-
Which normal form requires the removal of repeating groups or non-atomic attributes?
- Boyce-Codd normal form
- Third normal form
- Second normal form
- First normal form
-
Which normal form eliminates partial dependencies on a composite primary key?
- Unnormalised form
- Second normal form
- First normal form
- Third normal form
-
Which database normal form removes non-key attributes that depend on other non-key attributes?
- Fourth normal form
- Third normal form
- Second normal form
- First normal form
-
What key links a record in one table to the primary key in another?
- Surrogate key
- Foreign key
- Primary key
- Candidate key
-
What consists of two or more attributes that together uniquely identify a row?
- Surrogate key
- Composite key
- Secondary key
- Foreign key
-
What data structure technique is used to speed up data retrieval operations on a table?
- Indexing
- Encapsulation
- Aggregation
- Normalisation
-
Which relationship type cannot be directly implemented in a relational database without a junction table?
- Many-to-one
- Many-to-many
- One-to-one
- One-to-many
-
An attribute depends on only part of a composite primary key. Which normal form is violated?
- Second normal form
- First normal form
- Fourth normal form
- Third normal form
-
An attribute depends on another non-key attribute instead of the primary key. Which normal form is violated?
- First normal form
- Third normal form
- Second normal form
- Unnormalised form
-
To represent a doctor treating many patients, and patients seeing many doctors, what table structure is required?
- Index table
- Foreign table
- Composite table
- Junction table
-
A database field contains a comma-separated list of multiple telephone numbers. Which normal form does this violate?
- Second normal form
- Third normal form
- Boyce-Codd normal form
- First normal form
-
What is a major operational disadvantage of having multiple indexes on a frequently updated database table?
- Larger schema
- Slower inserts
- Broken relationships
- Higher latency reads
-
Where should the foreign key be placed when implementing a one-to-many relationship between Department and Employee?
- Both tables
- Employee table
- Department table
- Junction table
-
What database rule prevents a foreign key from referencing a non-existent primary key value in another table?
- Entity integrity
- Domain integrity
- Referential integrity
- Transitive integrity
-
If attribute X uniquely determines attribute Y, how is this functional dependency written in database notation?
- Y -> X
- X -> Y
- X = Y
- Y <-> X
-
An automatically generated unique identifier with no real-world business meaning is known as what type of key?
- Natural key
- Surrogate key
- Candidate key
- Secondary key
-
Any attribute or combination of attributes that could uniquely identify a database row is called what?
- Candidate key
- Secondary key
- Surrogate key
- Foreign key
-
What term describes accidentally losing essential information when removing a record from an unnormalised database?
- Transitive anomaly
- Insertion anomaly
- Deletion anomaly
- Update anomaly
-
What relationship cardinality exists between a UK citizen and their unique National Insurance number?
- Many-to-many
- Many-to-one
- One-to-one
- One-to-many
Related quizzes
- Compression, encryption and hashing Quiz · 1.3.1 · 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