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
-
This file is used by the database server.
-
This file determines the runtime resources for the database.
-
These files are actively monitored by the database.
-
Thee files uses the initialisation parameters to check the database compatibility.
-
These files cannot be set or modified while the database is running.
E
Correct answer
Explanation
These files can be set or modified in case the database is running.
-
Output
-
Session
-
Client ID
-
Service
-
Trace
E
Correct answer
Explanation
This option is not present in Application Tracing Utilities in the Oracle database.
-
These files are technically not database files.
-
These files are used by the database server initially at start-up.
-
These files are created when a failure occurs which causes the loss of data.
-
The files are monitored by the database.
-
Both (1) and (3)
E
Correct answer
Explanation
These are the correct statements about the back up files in the Oracle database.
-
Journal
-
Ledger
-
Trail Balance
-
memo
A
Correct answer
Explanation
The journal is the book of original (prime) entry where all business transactions are recorded chronologically as they occur, before being classified and posted to ledger accounts.
-
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.
-
EnableSession
-
PHP session
-
Session memory
-
SQL injection
-
MySqli_connect
B
Correct answer
Explanation
This session allows an application to store information for the current session, which can be defined as one user being logged into your application.
-
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