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
-
SimpleXML extension
-
SQLite extension
-
New MySqli extension
-
Oracle server
-
Oracle instance
B
Correct answer
Explanation
This extension is an embedded structured query language library that does not require any SQL server.
-
Network Model
-
Object-Oriented Model
-
Relational Model
-
Entity Relationship Model
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.
-
data integrity
-
data consistency
-
data sufficiency
-
none of the above
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.
-
DBA
-
The end user
-
The systems programmer
-
The client
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.
-
module
-
relational model
-
schema
-
sub schema
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.
-
deadlock
-
lost update
-
uncommitted dependency
-
inconsistent data
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.
-
physical data model
-
record based logical model
-
object based logical model
-
none of the above
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.
-
tuple
-
entity
-
degree
-
attribute
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.
-
4th Dimension
-
FoxPro
-
dbase-IV
-
All of the above
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.
-
FORTRAN
-
AUTOFLOW
-
BPL
-
TOTAL
-
relations
-
domains
-
queries
-
none of the above
-
Table
-
Tree-like Structure
-
Complex Logical Relationship
-
Record
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.
-
store data input by a user
-
retrieve information from files
-
answer queries
-
both (2) and (3)
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.
-
Users
-
Separate files
-
DBA
-
All of the above
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.
-
data
-
files
-
fields
-
none of the above
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.