Computer Knowledge

Database Management Systems

5,344 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. Network Model

  2. Object-Oriented Model

  3. Relational Model

  4. Entity Relationship Model

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

Network Model and Relational Model are both record-based logical models. Network Model uses graph structures with records and sets, while Relational Model uses tables (relations) with rows and columns. ER Model is not record-based but a conceptual modeling tool.

Multiple choice
  1. data integrity

  2. data consistency

  3. data sufficiency

  4. none of the above

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

Data redundancy creates inconsistency because the same data stored in multiple places may be updated in one location but not others. This leads to different values for the same data entity, violating data consistency - a fundamental database principle.

Multiple choice
  1. DBA

  2. The end user

  3. The systems programmer

  4. The client

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

The DBA (Database Administrator) is responsible for the conceptual level of the DBMS, which defines the logical structure and relationships of data for the entire organization. End users interact with the external level, systems programmers work at the physical level, and clients are consumers of the database services.

Multiple choice
  1. module

  2. relational model

  3. schema

  4. sub schema

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

A subschema (or external schema) defines how a particular application or user views the data from the database. It provides a customized view of the database that is relevant to specific applications or user groups, hiding irrelevant details and restricting access to authorized data only.

Multiple choice
  1. deadlock

  2. lost update

  3. uncommitted dependency

  4. inconsistent data

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Explanation

Locking protocols prevent concurrent transaction problems: lost updates (overwriting uncommitted changes), uncommitted dependencies (reading dirty data), and inconsistent data (reading partially updated records). Locking ensures transaction isolation and serializability by controlling access to shared data items.

Multiple choice
  1. physical data model

  2. record based logical model

  3. object based logical model

  4. none of the above

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

The ER (Entity-Relationship) Model is an object-based logical data model because it represents real-world entities as objects with attributes and relationships between them. Unlike physical models, it focuses on logical structure. Unlike record-based models, it uses objects/entities rather than tabular structures.

Multiple choice
  1. tuple

  2. entity

  3. degree

  4. attribute

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

In the Relation Model, a column is referred to as an attribute, representing a specific property or characteristic of the entity. A row is called a tuple, the number of columns is the degree, and a relation represents the entire table structure containing tuples and attributes.

Multiple choice
  1. 4th Dimension

  2. FoxPro

  3. dbase-IV

  4. All of the above

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

4th Dimension, FoxPro, and dbase-IV are all xBase database systems that support relational database features including SQL, relational operations, and tabular data structures. While they have xBase heritage, they are widely classified as relational databases in practice and support the core relational model concepts.

Multiple choice
  1. Table

  2. Tree-like Structure

  3. Complex Logical Relationship

  4. Record

Reveal answer Fill a bubble to check yourself
A,C,D Correct answer
Explanation

Relational database model characteristics include: Tables (relations) for data organization, Records (tuples) as individual data entries, and Complex Logical Relationships through foreign keys and joins. Tree-like structures characterize hierarchical models, not relational.

Multiple choice
  1. store data input by a user

  2. retrieve information from files

  3. answer queries

  4. both (2) and (3)

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

Report generators retrieve information from files AND answer queries to produce formatted output. Options A and C are incomplete - report generators do more than just store input or answer queries in isolation. Option D correctly combines both functions.

Multiple choice
  1. Users

  2. Separate files

  3. DBA

  4. All of the above

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

A database environment integrates data into shared databases rather than maintaining separate files. Users interact with the system, and DBAs manage it. Option B is correct because 'separate files' represents the old file-based approach that databases replace.

Multiple choice
  1. data

  2. files

  3. fields

  4. none of the above

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

A field (also called an attribute or column) is the smallest distinguishable unit of data in a record. Records consist of multiple fields, and files consist of multiple records. Option A is too general, while B refers to collections of records.