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

Multiple choice
  1. jamming

  2. password

  3. documentation

  4. record lock

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. deadlock

  2. lost update

  3. uncommitted dependency

  4. inconsistent data

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Authentication through database links

  2. Distributed database security

  3. Auditing database links

  4. Administration tools

  5. Site autonomy

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. A transaction writes a data item after it is read by an uncommitted transaction.

  2. A transaction reads a data item after it is read by an uncommitted transaction.

  3. A transaction reads a data item after it is written by a committed transaction.

  4. A transaction reads a data item after it is written by an uncommitted transaction.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

 This may leave the transactions vulnerable to dirty reads, phantom reads, etc. in the database system.

Multiple choice
  1. Tables

  2. Treelike structures

  3. Complex logical relationship

  4. Records

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. 5

  2. 4

  3. 3

  4. 6

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Data definition language

  2. Data manipulation language

  3. Transaction control language

  4. Data control language

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. SQL plus

  2. PL/SQL

  3. Forms

  4. Reports

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. business form

  2. handwritten list

  3. rolodex card file

  4. all of above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Data record

  2. Data file

  3. Database

  4. Data bank

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Transaction database

  2. Graphics database

  3. Video on demand database

  4. Multimedia database

Reveal answer Fill a bubble to check yourself
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.