Tap an option to check your answer — the correct answer and full explanation appear after you choose.
Computer ScienceDatabases & DBMSPPSCID: LTP-8096
Which group of SQL commands, including INSERT, UPDATE and DELETE, is used to change the data stored in a database?
AData Definition Language (DDL)
BData Manipulation Language (DML) ✓ Correct answer
CData Control Language (DCL)
DTransaction Control Language (TCL)
✓ Correct answer: Data Manipulation Language (DML)
Full explanation
Data Manipulation Language (DML) is the group of SQL commands, including INSERT, UPDATE and DELETE, used to change the data stored in a database.
Computer ScienceDatabases & DBMSPPSCID: LTP-8097
Which SQL statement is used to retrieve data from one or more tables in a database?
ASELECT ✓ Correct answer
BINSERT
CUPDATE
DDELETE
✓ Correct answer: SELECT
Full explanation
The SELECT statement is used to retrieve data from one or more tables in a database.
Computer ScienceDatabases & DBMSPPSCID: LTP-8098
Which SQL operation combines rows from two or more tables based on a related column between them?
AUNION
BGROUP BY
CORDER BY
DJOIN ✓ Correct answer
✓ Correct answer: JOIN
Full explanation
A JOIN is the SQL operation that combines rows from two or more tables based on a related column between them.
Computer ScienceDatabases & DBMSPPSCID: LTP-8099
Which database structure speeds up searching by allowing the system to find rows quickly without scanning the whole table?
AView
BTrigger
CIndex ✓ Correct answer
DSchema
✓ Correct answer: Index
Full explanation
An index is the database structure that speeds up searching by allowing the system to find rows quickly without scanning the whole table.
Computer ScienceDatabases & DBMSPPSCID: LTP-8100
Which set of four properties — Atomicity, Consistency, Isolation and Durability — must a database transaction guarantee?
ABASE
BACID ✓ Correct answer
CCRUD
DOLAP
✓ Correct answer: ACID
Full explanation
ACID is the set of four properties — Atomicity, Consistency, Isolation and Durability — that a database transaction must guarantee.
Computer ScienceDatabases & DBMSPPSCID: LTP-8101
In an entity-relationship model, what is a real-world object or thing about which data is stored, such as a student or an employee, called?
AEntity ✓ Correct answer
BAttribute
CRelationship
DKey
✓ Correct answer: Entity
Full explanation
In an entity-relationship model, a real-world object or thing about which data is stored, such as a student or an employee, is called an entity.
Computer ScienceDatabases & DBMSPPSCID: LTP-8102
In an entity-relationship model, what is a property or characteristic of an entity, such as a student's name or age, called?
AEntity
BRelationship
CTuple
DAttribute ✓ Correct answer
✓ Correct answer: Attribute
Full explanation
In an entity-relationship model, a property or characteristic of an entity, such as a student's name or age, is called an attribute.
Computer ScienceDatabases & DBMSPPSCID: LTP-8103
Which diagram shows entities, their attributes and the relationships between them in a database design?
AFlowchart
BUse case diagram
CEntity-Relationship diagram ✓ Correct answer
DClass diagram
✓ Correct answer: Entity-Relationship diagram
Full explanation
An Entity-Relationship diagram shows entities, their attributes and the relationships between them in a database design.
Computer ScienceDatabases & DBMSPPSCID: LTP-8104
Which central store holds definitions and descriptions of the data elements, tables and fields in a database?
AData warehouse
BData dictionary ✓ Correct answer
CData mart
DData lake
✓ Correct answer: Data dictionary
Full explanation
A data dictionary is the central store that holds definitions and descriptions of the data elements, tables and fields in a database.
Computer ScienceDatabases & DBMSPPSCID: LTP-8198
Which type of database is designed for unstructured or semi-structured data and does not use the traditional table structure?
ANoSQL database ✓ Correct answer
BRelational database
CHierarchical database
DNetwork database
✓ Correct answer: NoSQL database
Full explanation
A NoSQL database is designed for unstructured or semi-structured data and does not use the traditional table structure.
Computer ScienceDatabases & DBMSPPSCID: LTP-8199
Which of the following is a popular document-oriented NoSQL database?
AMySQL
BOracle
CPostgreSQL
DMongoDB ✓ Correct answer
✓ Correct answer: MongoDB
Full explanation
MongoDB is a popular document-oriented NoSQL database.
Computer ScienceDatabases & DBMSPPSCID: LTP-8200
Which commercial relational database management system is developed by the Oracle Corporation?
AMicrosoft Access
BSQLite
COracle Database ✓ Correct answer
DMariaDB
✓ Correct answer: Oracle Database
Full explanation
Oracle Database is the commercial relational database management system developed by the Oracle Corporation.
Computer ScienceDatabases & DBMSPPSCID: LTP-8201
Which large central store holds historical data from many sources, organised for reporting and analysis rather than daily transactions?
AData mart
BData warehouse ✓ Correct answer
COperational database
DData lake
✓ Correct answer: Data warehouse
Full explanation
A data warehouse is the large central store that holds historical data from many sources, organised for reporting and analysis rather than daily transactions.
Computer ScienceDatabases & DBMSPPSCID: LTP-8202
Which saved set of SQL statements is stored in the database and can be executed by calling its name?
AStored procedure ✓ Correct answer
BTrigger
CView
DCursor
✓ Correct answer: Stored procedure
Full explanation
A stored procedure is a saved set of SQL statements stored in the database that can be executed by calling its name.
Computer ScienceDatabases & DBMSPPSCID: LTP-8203
Which database object automatically runs a set of actions when a specified event, such as an INSERT, occurs on a table?
AView
BIndex
CProcedure
DTrigger ✓ Correct answer
✓ Correct answer: Trigger
Full explanation
A trigger is the database object that automatically runs a set of actions when a specified event, such as an INSERT, occurs on a table.
Computer ScienceDatabases & DBMSPPSCID: LTP-8204
Which virtual table is created by a query and shows data from one or more real tables without storing the data itself?
AIndex
BTrigger
CView ✓ Correct answer
DSchema
✓ Correct answer: View
Full explanation
A view is a virtual table created by a query that shows data from one or more real tables without storing the data itself.
Computer ScienceDatabases & DBMSPPSCID: LTP-8205
Which term describes the overall structure and organisation of a database, including its tables, fields and relationships?
AInstance
BSchema ✓ Correct answer
CTuple
DDomain
✓ Correct answer: Schema
Full explanation
A schema describes the overall structure and organisation of a database, including its tables, fields and relationships.
Computer ScienceDatabases & DBMSPPSCID: LTP-8206
Which key is a field, or combination of fields, that could uniquely identify each record in a table?
ACandidate key ✓ Correct answer
BPrimary key
CForeign key
DSuper key
✓ Correct answer: Candidate key
Full explanation
A candidate key is a field, or combination of fields, that could uniquely identify each record in a table.
Computer ScienceDatabases & DBMSPPSCID: LTP-8207
In a relational database table, what is a single row, representing one record, called?
AAttribute
BDomain
CRelation
DTuple ✓ Correct answer
✓ Correct answer: Tuple
Full explanation
In a relational database table, a single row, representing one record, is called a tuple.
Computer ScienceDatabases & DBMSPPSCID: LTP-8299
Which software manages databases and lets users create, read, update and delete data?
AOperating system
BCompiler
CWeb server
DDatabase Management System (DBMS) ✓ Correct answer
✓ Correct answer: Database Management System (DBMS)
Full explanation
A Database Management System (DBMS) manages databases and lets users create, read, update and delete data.