Databases & DBMS MCQs

20 practice MCQs on this page Page 9 of 16

Tap an option to check your answer — the correct answer and full explanation appear after you choose.

Computer ScienceDatabases & DBMS PPSCID: LTP-7769

In database recovery, a log file is used to:

  1. AStore user photographs
  2. BRecord changes so the database can be restored after a failure ✓ Correct answer
  3. CPrint invoices
  4. DSpeed up the network
Computer ScienceDatabases & DBMS PPSCID: LTP-7887

Microsoft Access is best described as:

  1. AA word processor
  2. BA web browser
  3. CA spreadsheet only
  4. DA database management system ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7888

Which normal form requires that every non-key attribute depends on the whole primary key?

  1. ASecond normal form ✓ Correct answer
  2. BFirst normal form
  3. CThird normal form
  4. DBoyce-Codd normal form
Computer ScienceDatabases & DBMS PPSCID: LTP-7889

In a database table, a column is also called a:

  1. ARecord
  2. BField ✓ Correct answer
  3. CQuery
  4. DReport
Computer ScienceDatabases & DBMS PPSCID: LTP-7890

In a database, a query is used to:

  1. APrint the whole database
  2. BDelete the database
  3. CRetrieve selected data from tables ✓ Correct answer
  4. DChange the password
Computer ScienceDatabases & DBMS PPSCID: LTP-7891

In Microsoft Access, a form is mainly used to:

  1. APrint the database file
  2. BDelete all tables
  3. CSend email
  4. DEnter and view data in a friendly layout ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7892

In Microsoft Access, a report is mainly used to:

  1. APresent database data in a printed format ✓ Correct answer
  2. BDelete records
  3. CCreate a new database
  4. DChange passwords
Computer ScienceDatabases & DBMS PPSCID: LTP-7893

In a database, a relationship links:

  1. ATwo printers
  2. BTables through matching fields ✓ Correct answer
  3. CTwo monitors
  4. DTwo keyboards
Computer ScienceDatabases & DBMS PPSCID: LTP-7894

In a database table, the Text data type is used to store:

  1. AOnly pictures
  2. BOnly dates
  3. CLetters and words ✓ Correct answer
  4. DOnly numbers
Computer ScienceDatabases & DBMS PPSCID: LTP-7895

Sorting the records of a database table means arranging them in:

  1. ARandom order only
  2. BReverse file order only
  3. CNo order at all
  4. DA chosen order, such as alphabetical or numeric ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7896

In Microsoft Access, the default file extension of a database is:

  1. A.accdb ✓ Correct answer
  2. B.docx
  3. C.xlsx
  4. D.pptx
Computer ScienceDatabases & DBMS PPSCID: LTP-7997

Which software system is used to create, store, retrieve and manage structured data in a database?

  1. AOperating System (OS)
  2. BCompiler
  3. CWeb Browser
  4. DDatabase Management System (DBMS) ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7999

Which field in a database table uniquely identifies each record, with no two records sharing the same value?

  1. AForeign key
  2. BPrimary key ✓ Correct answer
  3. CCandidate key
  4. DComposite key
Computer ScienceDatabases & DBMS PPSCID: LTP-8000

Which field in one table refers to the primary key of another table, creating a link between the two tables?

  1. AForeign key ✓ Correct answer
  2. BPrimary key
  3. CIndex key
  4. DAlternate key
Computer ScienceDatabases & DBMS PPSCID: LTP-8001

Which type of database organises data into tables made of rows and columns, with relationships between the tables?

  1. ANoSQL database
  2. BHierarchical database
  3. CObject-oriented database
  4. DRelational Database Management System (RDBMS) ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-8002

Which database design process removes data redundancy by splitting large tables into smaller, well-structured tables?

  1. ADenormalisation
  2. BIndexing
  3. CNormalisation ✓ Correct answer
  4. DPartitioning
Computer ScienceDatabases & DBMS PPSCID: LTP-8003

Which SQL command is used to remove a table from a database?

  1. ADELETE
  2. BDROP ✓ Correct answer
  3. CREMOVE
  4. DTRUNCATE
Computer ScienceDatabases & DBMS PPSCID: LTP-8004

Which database request asks the system to retrieve specific information, for example all customers from one city?

  1. AQuery ✓ Correct answer
  2. BSchema
  3. CTrigger
  4. DView
Computer ScienceDatabases & DBMS PPSCID: LTP-8006

Which regular practice copies database data to a safe location so that it can be restored after a crash or attack?

  1. ADatabase indexing
  2. BDatabase normalisation
  3. CDatabase backup ✓ Correct answer
  4. DDatabase sharding
Computer ScienceDatabases & DBMS PPSCID: LTP-8095

Which group of SQL commands, including CREATE and ALTER, is used to define the structure of a database?

  1. AData Manipulation Language (DML)
  2. BData Control Language (DCL)
  3. CData Definition Language (DDL) ✓ Correct answer
  4. DData Query Language (DQL)

Practice these MCQs interactively