Computer Knowledge
Database Management Systems
5,543 Questions
Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.
E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database
Database Management Systems Questions
-
jamming
-
password
-
documentation
-
record lock
D
Correct answer
Explanation
When multiple users try to update the same record simultaneously, record locking prevents conflicts by ensuring only one transaction can modify the record at a time. This concurrency control mechanism prevents the lost update problem where two updates overwrite each other. Locking maintains data integrity and consistency in multi-user database environments.
-
deadlock
-
lost update
-
uncommitted dependency
-
inconsistent data
B
Correct answer
Explanation
Locking prevents the lost update problem, which occurs when two transactions read the same data and then overwrite each other's updates. By locking data before updating, one transaction waits for the other to complete, ensuring updates are applied sequentially. Deadlock (A) is a potential problem with locking, not a solution. Uncommitted dependency (C) and inconsistent data (D) are other concurrency issues that locking addresses.
-
Authentication through database links
-
Distributed database security
-
Auditing database links
-
Administration tools
-
Site autonomy
D
Correct answer
Explanation
These tools are used to manage an Oracle distributed database system.
'Site autonomy' means each server participating in a distributed database is administered independently from all other databases.
-
A transaction writes a data item after it is read by an uncommitted transaction.
-
A transaction reads a data item after it is read by an uncommitted transaction.
-
A transaction reads a data item after it is written by a committed transaction.
-
A transaction reads a data item after it is written by an uncommitted transaction.
D
Correct answer
Explanation
This may leave the transactions vulnerable to dirty reads, phantom reads, etc. in the database system.
-
Rollback
-
Commit
-
Remote procedure calls
-
System change number
-
Savepoint
C
Correct answer
Explanation
These are the calls made in Oracle to perform work at some remote database.
-
checkpoint
-
backup mechanism
-
shadow paging
-
cascading rollback
-
recovery
A
Correct answer
Explanation
This option is correct as checkpoints are the points scheduled at regular intervals, and involves operations like writing all the records from the main memory to secondary storage. Hence, it synchronizes database and t ransaction log files.
-
Aborted
-
Active
-
Partially committed
-
Failed
-
Committed
A
Correct answer
Explanation
This option is correct as when the execution of the transaction is stopped or aborted, it is rolled back to a state prior to its start.
-
Remote transaction
-
Distributed transaction
-
Two-phase commit mechanism
-
Global database name
-
None of these
C
Correct answer
Explanation
This transaction in distributed databases guarantees that all statements in a transaction either commit or rollback as a unit.
-
Tables
-
Treelike structures
-
Complex logical relationship
-
Records
A
Correct answer
Explanation
The relational database model is fundamentally based on tables (relations) that store data in rows and columns. Data is organized into tables with defined relationships between them through keys. While relational databases do store records, the defining characteristic is the tabular structure. Treelike structures describe hierarchical databases, and complex logical relationships exist in network databases, not relational ones.
B
Correct answer
Explanation
SQL is commonly categorized into 4 main types: DDL (Data Definition Language) for schema operations, DML (Data Manipulation Language) for data operations, DCL (Data Control Language) for permissions, and TCL (Transaction Control Language) for transaction management. Some classifications may include DQL separately, but 4 is the standard answer.
-
Data definition language
-
Data manipulation language
-
Transaction control language
-
Data control language
B
Correct answer
Explanation
Data Manipulation Language (DML) is used to query and manipulate existing data in database objects. DML includes commands like SELECT, INSERT, UPDATE, and DELETE that work with the data within tables. DDL creates or modifies table structures, while DCL manages permissions and TCL controls transactions.
-
SQL plus
-
PL/SQL
-
Forms
-
Reports
D
Correct answer
Explanation
Oracle Reports is the application development tool specifically designed for developing and executing reports in the Oracle environment. SQL*Plus is a query interface, PL/SQL is a procedural language extension, and Oracle Forms is for building forms-based applications, but Reports is the dedicated reporting tool.
-
business form
-
handwritten list
-
rolodex card file
-
all of above
D
Correct answer
Explanation
Record management systems can be modeled after various organizational methods. Business forms, handwritten lists, and rolodex card files all represent valid conceptual models for structuring record-keeping systems. Since each option represents a legitimate approach, 'all of the above' is the correct choice.
-
Data record
-
Data file
-
Database
-
Data bank
C
Correct answer
Explanation
The hierarchy of data organization progresses from smallest to largest: data field → data record → data file → database. A database is the highest level among the given options as it contains multiple related files. Data bank is not a standard term in the data organization hierarchy.
-
Transaction database
-
Graphics database
-
Video on demand database
-
Multimedia database
D
Correct answer
Explanation
Multimedia databases are specifically designed to handle diverse data types including text, images, audio, and video. Transaction databases focus on recording transactions, graphics databases on visual data, and video-on-demand databases are specialized for video streaming. Multimedia encompasses all these data types.