Basic Computing
Database Basics
Which database term best fits this description: is a concurrency-control mechanism that restricts conflicting access to data?
A. Isolation
B. Superkey
C. Lock
D. Third Normal Form
Correct Answer: C
Lock is a concurrency-control mechanism that restricts conflicting access to data.
Basic Computing
Database Basics
Which database term best fits this description: occurs when transactions wait on one another's locked resources in a cycle?
A. Deadlock
B. Denormalization
C. UNIQUE constraint
D. View
Correct Answer: A
Deadlock occurs when transactions wait on one another's locked resources in a cycle.
Basic Computing
Database Basics
Which database term best fits this description: occurs when repeating a range query returns a different set of rows because another transaction inserted or deleted matching rows?
A. Composite key
B. Phantom read
C. One-to-many relationship
D. ALTER
Correct Answer: B
Phantom read occurs when repeating a range query returns a different set of rows because another transaction inserted or deleted matching rows.
Basic Computing
Database Basics
Which database term best fits this description: occurs when the same row is read twice and returns different committed values due to another transaction's update?
A. Superkey
B. Nonrepeatable read
C. HAVING
D. Full backup
Correct Answer: B
Nonrepeatable read occurs when the same row is read twice and returns different committed values due to another transaction's update.
Basic Computing
Database Basics
Which database term best fits this description: occurs when a transaction reads data written by another transaction that has not committed?
A. Dirty read
B. Replication
C. Hierarchical model
D. ER diagram
Correct Answer: A
Dirty read occurs when a transaction reads data written by another transaction that has not committed.
Basic Computing
Database Basics
Which database term best fits this description: provides row-by-row processing of a result set or query output?
A. UPDATE
B. Deletion anomaly
C. First Normal Form
D. Cursor
Correct Answer: D
Cursor provides row-by-row processing of a result set or query output.
Basic Computing
Database Basics
Which database term best fits this description: executes automatically in response to specified database events?
A. Surrogate key
B. Foreign key
C. Trigger
D. Cursor
Correct Answer: C
Trigger executes automatically in response to specified database events.
Basic Computing
Database Basics
Which database term best fits this description: is a named program unit stored in the database and executed on request?
A. Stored procedure
B. Nonclustered index
C. CHECK constraint
D. Optimistic concurrency control
Correct Answer: A
Stored procedure is a named program unit stored in the database and executed on request.
Basic Computing
Database Basics
Which database term best fits this description: stores the result of a query physically and refreshes it according to DBMS rules?
A. Materialized view
B. Atomicity
C. Deletion anomaly
D. Relational model
Correct Answer: A
Materialized view stores the result of a query physically and refreshes it according to DBMS rules.
Basic Computing
Database Basics
Which database term best fits this description: is a named query that presents a virtual table-like result?
A. Deletion anomaly
B. DEFAULT constraint
C. View
D. IS NULL
Correct Answer: C
View is a named query that presents a virtual table-like result.
Basic Computing
Database Basics
Which database term best fits this description: describes operations selected to execute a query?
A. Execution plan
B. RIGHT OUTER JOIN
C. Pessimistic concurrency control
D. DISTINCT
Correct Answer: A
Execution plan describes operations selected to execute a query.
Basic Computing
Database Basics
Which database term best fits this description: chooses an execution strategy for a SQL query?
A. GROUP BY
B. Query optimizer
C. Network model
D. Incremental backup
Correct Answer: B
Query optimizer chooses an execution strategy for a SQL query.
Basic Computing
Database Basics
Which database term best fits this description: stores index keys separately from table data with references to rows?
A. Nonclustered index
B. Self join
C. DELETE
D. CROSS JOIN
Correct Answer: A
Nonclustered index stores index keys separately from table data with references to rows.
Basic Computing
Database Basics
Which database term best fits this description: determines or closely influences physical row order in DBMSs that implement clustered storage?
A. Clustered index
B. Cursor
C. Isolation
D. REVOKE
Correct Answer: A
Clustered index determines or closely influences physical row order in DBMSs that implement clustered storage.
Basic Computing
Database Basics
Which database term best fits this description: joins a table to another reference of itself?
A. Index
B. REVOKE
C. Self join
D. Deadlock
Correct Answer: C
Self join joins a table to another reference of itself.
Basic Computing
Database Basics
Which database term best fits this description: returns matched rows and unmatched rows from both sides?
A. Transaction log
B. Full backup
C. First Normal Form
D. FULL OUTER JOIN
Correct Answer: D
FULL OUTER JOIN returns matched rows and unmatched rows from both sides.
Basic Computing
Database Basics
Which database term best fits this description: returns all right-side rows plus matching left-side rows?
A. RIGHT OUTER JOIN
B. DEFAULT constraint
C. CREATE
D. Deadlock
Correct Answer: A
RIGHT OUTER JOIN returns all right-side rows plus matching left-side rows.
Basic Computing
Database Basics
Which database term best fits this description: returns all left-side rows plus matching right-side rows?
A. Read replica
B. NOT NULL constraint
C. LEFT OUTER JOIN
D. Stored procedure
Correct Answer: C
LEFT OUTER JOIN returns all left-side rows plus matching right-side rows.
Basic Computing
Database Basics
Which database term best fits this description: returns rows that satisfy the join condition on both sides?
A. Foreign key
B. GRANT
C. INNER JOIN
D. Self join
Correct Answer: C
INNER JOIN returns rows that satisfy the join condition on both sides.
Basic Computing
Database Basics
Which database term best fits this description: tests specifically for SQL NULL values?
A. BETWEEN
B. IS NULL
C. REVOKE
D. Cursor
Correct Answer: B
IS NULL tests specifically for SQL NULL values.