Questions: Introduction to Database Systems

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Two employees simultaneously open the same spreadsheet to update a customer's phone number. Employee A saves first; Employee B saves second, overwriting Employee A's change. The customer's record now has incorrect data. Which DBMS capability directly prevents this?

AEfficient querying through indexing
BSchema enforcement and data validation
CConcurrency control — coordinating simultaneous access to prevent conflicting writes
DDurability and crash recovery
Question 2 Multiple Choice

A database administrator reorganizes physical disk storage to improve query performance, moving data from one file layout to a more efficient one. The application's query 'SELECT * FROM customers WHERE city = New York' continues to work without any code changes. What property of the DBMS makes this possible?

ADurability — the data survived the reorganization
BData independence — the logical structure is separated from physical storage details
CSchema enforcement — the table schema didn't change
DQuery optimization — the optimizer automatically rewrites the query
Question 3 True / False

A DBMS can recover to a consistent state after a power failure that occurs in the middle of a multi-step database operation.

TTrue
FFalse
Question 4 True / False

A database is essentially a sophisticated spreadsheet — the main difference is that databases can store larger amounts of data in rows and columns.

TTrue
FFalse
Question 5 Short Answer

Explain what 'data independence' means in a database system and why it matters for the applications that use the database.

Think about your answer, then reveal below.