MCQS DBMS
MCQS DBMS
o A) Data redundancy
o A) Data abstraction
o B) Data isolation
o C) Data redundancy
o D) Data independence
Answer: C
Explanation: In a database system, data redundancy is minimized, while data
abstraction and independence are key features.
o A) Data Redundancy
o B) Data Isolation
o C) Controlled Redundancy
o D) Increased Complexity
Answer: C
Explanation: DBMS systems reduce data redundancy and isolation, ensuring
controlled data redundancy.
o A) End Users
o B) System Analyst
o C) Database Designer
o D) Operator
Answer: C
Explanation: The Database Designer defines the database structure and is
responsible for the database's logical design.
o A) Database Administrator
o B) Application Programmer
o C) Casual User
o D) System Analyst
Answer: C
Explanation: Casual users interact with the database occasionally and usually
through predefined interfaces.
6. The personnel who maintain the DBMS software and provide technical support are known
as:
o A) Tool developers
o B) System designers
o C) Database Administrators
o D) Maintenance personnel
Answer: D
Explanation: Maintenance personnel are responsible for the day-to-day functioning
of the system.
o A) Database Designer
o B) System Analyst
o C) Application Programmer
o A) End User
o C) System Analyst
o D) Tool Developer
Answer: B
Explanation: The DBA is responsible for access control, ensuring that only authorized
users can access data.
o B) Number of tables
o C) Number of users
o D) Query complexity
Answer: C
Explanation: Databases are classified based on the number of users (e.g., single-user
or multi-user databases).
10. Which of the following is an example of a worker behind the scenes in a DBMS
environment?
o A) Application Programmer
o B) System Analyst
o C) DBMS Implementer
o D) Database Designer
Answer: C
Explanation: DBMS implementers are responsible for building and maintaining the
database software itself.
o A) Schema
o B) Instance
o C) Data model
o D) DBMS
Answer: A
Explanation: A schema is the blueprint or description of the database structure.
3. Which of the following refers to a snapshot of the data in a database at a specific point in
time?
o A) Schema
o B) Instance
o C) Data model
o D) State
Answer: B
Explanation: An instance refers to the actual data at any given moment, while the
schema defines its structure.
o A) Physical Level
o B) Conceptual Level
o C) External Level
o D) Internal Level
Answer: C
Explanation: The external level is the highest level of abstraction, dealing with how
users view the data.
o A) Conceptual
o B) External
o C) Internal
o D) Both A and C
Answer: D
Explanation: Both the conceptual and internal levels help provide data
independence.
o A) Change the schema at the conceptual level without affecting the external views
o B) Change the schema at the internal level without affecting the conceptual schema
o C) Change the schema at the external level without affecting the internal schema
o D) Change the schema at the external level without affecting the DBMS
Answer: A
Explanation: Logical data independence allows changes to the conceptual schema
without altering external schemas.
7. The DBMS language used to define the database structure is:
o A) DDL
o B) DML
o C) DCL
o D) TCL
Answer: A
Explanation: Data Definition Language (DDL) is used to define the structure of the
database schema.
o A) Menu-based interfaces
o B) Query languages
o C) Network interfaces
o D) Form-based interfaces
Answer: C
Explanation: Network interfaces are not considered a type of DBMS interface.
o A) Hierarchical DBMS
o B) Network DBMS
o C) Multi-model DBMS
o D) Object-oriented DBMS
Answer: C
Explanation: Multi-model DBMS supports multiple types of data models like
hierarchical, network, and relational.
o A) Hierarchical model
o B) Network model
o C) Object-oriented model
o D) Semantic model
Answer: D
Explanation: The semantic data model is more modern and focuses on the meaning
of data, unlike traditional models.
o A) A set of attributes
o D) A data tuple
Answer: B
Explanation: An entity is a distinguishable object in the ER model, characterized by a
set of attributes.
o A) Entity Type
o B) Entity Set
o C) Attribute
o D) Key
Answer: B
Explanation: An entity set is a collection of entities of the same type in a database.
o A) A column
o B) A row
o C) A data type
o D) A relationship
Answer: B
Explanation: In the relational model, a tuple refers to a single row in a table.
o A) Attribute
o B) Key
o C) Domain
o D) Foreign Key
Answer: B
Explanation: A key, typically a primary key, ensures the uniqueness of tuples in a
table.
o A) Foreign Keys
o B) Domain Constraints
o C) Tuple Constraints
o D) Query Languages
Answer: A
Explanation: Foreign keys maintain referential integrity by ensuring that
relationships between tables remain valid.
7. In relational algebra, which operation is used to select specific columns from a table?
o A) Select
o B) Project
o C) Join
o D) Union
Answer: B
Explanation: The projection operation is used to choose specific columns in a
relational algebra query.
8. What type of calculus uses logical expressions to describe queries in a relational database?
o A) Relational Algebra
o B) Tuple Calculus
o C) Domain Calculus
o D) Predicate Calculus
Answer: B
Explanation: Tuple calculus uses logical formulas to describe queries that specify the
desired tuples.
9. Which constraint ensures that no null values are allowed in a particular column?
o A) Key Constraint
o B) Domain Constraint
o C) Entity Integrity
o D) Referential Integrity
Answer: C
Explanation: Entity integrity ensures that no null values are allowed in columns that
are part of a primary key.
10. Which query language operates on the domain of attributes in relational databases?
o A) Tuple Calculus
o B) Domain Calculus
o C) Relational Algebra
o D) SQL
Answer: B
Explanation: Domain calculus works on the domain of attributes rather than
individual tuples.
o A) Controlled redundancy
o C) Data sharing
o D) Data consistency
Answer: B
Explanation: Implementing a DBMS can be expensive due to the cost of hardware,
software, and specialized personnel.
12. The process of maintaining the database over time is known as:
o A) Database manipulation
o B) Database maintenance
o C) Database management
o D) Database design
Answer: B
Explanation: Database maintenance involves managing and updating the database
to ensure it functions efficiently over time.
13. Which of the following is a category of DBMS users that write programs to access the
database?
o A) End Users
o B) Application Programmers
o C) Database Administrators
o D) System Analysts
Answer: B
Explanation: Application programmers write programs or use tools to access and
manage data.
14. A DBA is responsible for:
o A) Designing applications
15. The process of ensuring data security and proper access control in a DBMS is handled by
the:
o A) Database Designer
o B) System Analyst
o C) Application Programmer
o D) Database Administrator
Answer: D
Explanation: The Database Administrator ensures data security and controls access
to the database.
16. Who typically defines the logical and physical structure of the database?
o A) System Analyst
o B) Database Designer
o C) Database Administrator
o D) End User
Answer: B
Explanation: The database designer is responsible for creating the logical and
physical structures of the database.
17. Which category of database users frequently accesses the database but does not have
deep technical knowledge?
o A) Casual Users
o B) Application Programmers
o C) Database Administrators
o D) Database Designers
Answer: A
Explanation: Casual users access the database via user-friendly interfaces but do not
interact with the system at a technical level.
18. Which of the following best describes the role of a system analyst in a DBMS environment?
19. Workers behind the scenes in a database system include all EXCEPT:
o A) DBMS designers
o B) DBMS implementers
o C) Database administrators
o D) Tool developers
Answer: C
Explanation: Database administrators are considered actors on the scene, while the
others work behind the scenes in developing the DBMS software.
11. Which of the following levels of a database is closest to how data is physically stored?
o A) Conceptual Level
o B) External Level
o C) Internal Level
o D) Logical Level
Answer: C
Explanation: The internal level deals with the physical storage of data on the
hardware.
12. The user views of the database are described at which level?
o A) External Level
o B) Internal Level
o C) Conceptual Level
o D) Logical Level
Answer: A
Explanation: The external level defines how individual users interact with the
database, often through views or user interfaces.
13. What ensures that changes in the internal schema do not affect the external schema?
o D) Database Consistency
Answer: A
Explanation: Physical data independence ensures that changes in the internal
schema do not affect the conceptual schema or the external views.
14. Which of the following defines the structure of the database in terms of entities and
relationships?
o D) Query Language
Answer: A
Explanation: DDL is used to define the structure and schema of the database.
15. The classification of DBMS based on data models includes all EXCEPT:
o A) Hierarchical DBMS
o B) Relational DBMS
o C) Network DBMS
o D) Sequential DBMS
Answer: D
Explanation: There is no such thing as a "sequential DBMS." Hierarchical, network,
and relational are valid types of DBMS models.
16. Which DBMS language is used to access and modify data in the database?
o A) DDL
o B) DML
o C) DCL
o D) TCL
Answer: B
Explanation: Data Manipulation Language (DML) is used to retrieve, insert, delete,
and modify data in a database.
18. The language used to define the security restrictions and access rights to the database is:
o A) DML
o B) DDL
o C) DCL
o D) SQL
Answer: C
Explanation: Data Control Language (DCL) is used to specify access rights and
security restrictions in a database.
20. The ability to change the conceptual schema without affecting external schemas is called:
o C) Schema Mapping
o D) Data Redundancy
Answer: B
Explanation: Logical data independence refers to the ability to modify the
conceptual schema without affecting the external schema.
Unit III: Data Modelling using ER Model and Relational Model (Continued)
o A) Foreign Key
o B) Candidate Key
o C) Primary Key
o D) Composite Key
Answer: C
Explanation: A primary key is an attribute or a combination of attributes that
uniquely identifies an entity in an entity set.
o B) A derived attribute
o A) Attribute
o B) Tuple
o C) Relationship
o D) Foreign Key
Answer: C
Explanation: A relationship represents how entities are related to each other in an
ER model.
o A) Relation
o B) Domain
o C) Attribute
o D) Tuple
Answer: D
Explanation: A tuple represents a single row in a relational table.
o A) Non-null
o B) Unique
o C) Both A and B
o D) A foreign key
Answer: C
Explanation: A primary key must be unique for each tuple and cannot contain null
values.
o A) Predicate logic
o B) Set theory
o C) Procedural expressions
o D) Relational algebra
Answer: A
Explanation: Relational calculus uses predicate logic to specify queries in a non-
procedural way.
o A) Data persistence
o B) Data redundancy
o C) Data sharing
o D) Data integrity
Answer: B
Explanation: Data redundancy is minimized in a well-designed database, while
persistence, sharing, and integrity are essential characteristics.
o B) The ability to modify the schema without affecting the application programs
23. Which of the following is considered an actor on the scene in a database environment?
o A) DBMS designers
o B) Database administrators
o C) Maintenance personnel
o D) Tool developers
Answer: B
Explanation: Database administrators are considered actors on the scene, as they
interact directly with the database system.
24. Which DBMS user interacts with the system to define and manage the database structure?
o A) End User
o B) Database Designer
o C) System Analyst
o D) Application Programmer
Answer: B
Explanation: Database designers are responsible for defining the database structure,
including schemas and relationships.
o A) Data consistency
o B) Security of data
o C) Data redundancy
o D) Controlled access
Answer: C
Explanation: A key goal of databases is to reduce data redundancy.
o A) Conceptual schema
o B) Physical schema
o C) External schema
o D) Application schema
Answer: A
Explanation: The conceptual schema defines the logical structure of the entire
database.
27. The DBMS system that manages the interaction between users and the database is:
28. Who is responsible for translating business requirements into technical database designs?
o A) Database Administrator
o B) System Analyst
o C) Database Designer
o D) End User
Answer: B
Explanation: The system analyst translates business requirements into technical
database designs and system requirements.
o A) External schema
o B) Conceptual schema
o C) Logical schema
o D) Internal schema
Answer: D
Explanation: The internal schema describes the physical storage of data on devices
like disks.
22. The independence of application programs from changes in the internal schema is known
as:
o A) Data consistency
o B) Logical data independence
o D) Schema independence
Answer: C
Explanation: Physical data independence means that changes in the internal schema
(physical storage) do not affect the conceptual schema or applications.
23. The layer of the database that provides a user’s view of the data is called:
o A) Internal level
o B) External level
o C) Physical level
o D) Conceptual level
Answer: B
Explanation: The external level defines user-specific views of the data, such as how
users interact with it.
24. The collection of information stored in a database at a particular moment is known as:
o A) Database schema
o B) Database state
o C) Database instance
o D) Database model
Answer: C
Explanation: A database instance refers to the data in the database at a particular
moment, while the schema remains constant.
25. Which of the following ensures that changes in the logical schema do not affect external
views?
o C) Conceptual mapping
o D) External mapping
Answer: A
Explanation: Logical data independence allows changes to the logical schema
without affecting the external views.
28. The schema that contains the logical structure of the entire database is:
o A) External schema
o B) Internal schema
o C) Conceptual schema
o D) Physical schema
Answer: C
Explanation: The conceptual schema defines the logical structure of the entire
database.
29. The relational database management system (RDBMS) model is based on:
o A) Trees
o B) Hierarchical structure
o C) Tables
o D) Object-oriented principles
Answer: C
Explanation: The relational model is based on organizing data into tables (relations).
30. Which of the following is true about the external level of a database system?
o D) It is independent of users
Answer: B
Explanation: The external level defines the user’s view of the database, including
customized views for different users.
Unit III: Data Modelling using ER Model and Relational Model (Additional Questions)
o A) Oval
o B) Diamond
o C) Rectangle
o D) Circle
Answer: C
Explanation: Entities in an ER diagram are represented using rectangles.
o A) A collection of attributes
o C) A property of an entity
o D) A domain of an attribute
Answer: B
Explanation: A relationship connects two or more entities in an ER model, showing
how they interact.
o A) Foreign Key
o B) Primary Key
o C) Composite Key
o D) Super Key
Answer: B
Explanation: A primary key uniquely identifies each tuple (row) in a relational table.
o A) Name
o C) Age
o D) Gender
Answer: B
Explanation: Address is a composite attribute, as it can be broken down into multiple
components (street, city, zip code).
o B) A tree of entities
o C) A directed graph
o D) An array of data
Answer: A
Explanation: A relation in the relational model refers to a table consisting of columns
and rows.
26. In an ER model, an attribute that can be calculated from other attributes is known as:
o A) Composite attribute
o B) Derived attribute
o C) Multivalued attribute
o D) Single-valued attribute
Answer: B
Explanation: A derived attribute is one that can be computed from other attributes,
such as age being derived from birth date.
27. Which of the following integrity constraints ensures that foreign keys in a table must refer
to valid primary keys in another table?
o A) Domain Integrity
o B) Referential Integrity
o C) Entity Integrity
o D) Data Integrity
Answer: B
Explanation: Referential integrity ensures that foreign key values must correspond to
valid primary key values in another table.
28. An entity set that does not have sufficient attributes to form a primary key is known as:
o A) Strong entity
o B) Weak entity
o C) Independent entity
o D) Composite entity
Answer: B
Explanation: A weak entity depends on a strong entity and does not have a primary
key of its own.
29. In relational algebra, the operation that combines two relations and removes duplicate
tuples is called:
o A) Union
o B) Intersection
o C) Difference
o D) Cartesian Product
Answer: A
Explanation: The union operation combines two relations and removes duplicate
tuples from the result.
o A) A valid value
o C) A zero value
o D) A default value
Answer: B
Explanation: NULL values represent missing or unknown data in a relational
database.
35. Which relational algebra operation corresponds to the SQL “JOIN” operation?
o A) UNION
o B) INTERSECTION
o B) Procedural Calculus
o A) DROP
o B) DELETE
o C) TRUNCATE
o D) REMOVE
Answer: A
Explanation: The DROP command is used to remove a table (relation) from a
database completely.
38. A query language that uses mathematical predicates to specify a query is:
o A) SQL
o B) Relational Algebra
o C) Relational Calculus
39. Which of the following relational algebra operations is used to combine tuples from two
relations without removing duplicates?
o A) UNION
o B) INTERSECTION
o C) CARTESIAN PRODUCT
o D) JOIN
Answer: C
Explanation: The Cartesian product combines all tuples from two relations without
considering duplicates.
40. Which of the following constraints ensure that no two tuples in a relation have the same
value for a specific set of attributes?
o A) Referential integrity
o B) Key constraint
o C) Entity integrity
o D) Domain constraint
Answer: B
Explanation: A key constraint ensures that no two tuples in a relation have the same
value for the primary key or unique attributes.
42. Which of the following represents a relationship where one entity is associated with
multiple entities, but each associated entity can only be related to one entity of the other
type?
o A) One-to-one relationship
o B) One-to-many relationship
o C) Many-to-many relationship
o D) Self-referencing relationship
Answer: B
Explanation: A one-to-many relationship allows one entity to be associated with
multiple others, while each of those entities is related to only one entity of the first
type.
43. In relational calculus, a query that returns all tuples from a relation that meet certain
conditions is a part of:
o C) Both A and B
44. In the relational model, which operation is used to filter rows based on specific conditions?
o A) SELECT
o B) PROJECT
o C) UNION
o D) INTERSECTION
Answer: A
Explanation: The SELECT operation in relational algebra is used to retrieve rows that
satisfy certain conditions.
45. Which of the following is a high-level, declarative query language commonly used in
relational databases?
o A) Relational Algebra
o B) SQL
46. Which of the following operations is used in relational algebra to combine rows from two
relations with matching values of a common attribute?
o A) UNION
o B) JOIN
o C) INTERSECTION
o D) DIFFERENCE
Answer: B
Explanation: The JOIN operation is used to combine rows from two tables based on
matching values of a common attribute.
47. Which of the following statements best describes the purpose of relational calculus?
o A) Every entity in the entity set participates in at least one relationship instance
50. The operation that extracts specific columns from a relation is called:
o A) SELECT
o B) PROJECT
o C) JOIN
o D) UNION
Answer: B
Explanation: The PROJECT operation extracts specific columns (attributes) from a
relation.
o A) A tuple in one table does not have a corresponding tuple in the referenced table
o C) A tuple is inserted into a relation with a foreign key that has no match in the
referenced relation
52. Which of the following relational algebra operations removes duplicate rows from a
relation?
o A) SELECT
o B) PROJECT
o C) UNION
o D) INTERSECTION
Answer: B
Explanation: The PROJECT operation removes duplicate rows from a relation when
projecting specific columns.
53. In the relational model, the set of permitted values for an attribute is called its:
o A) Domain
o B) Range
o C) Scope
o D) Key
Answer: A
Explanation: The domain of an attribute defines the set of permissible values that
the attribute can take.
54. A relational algebra operation that combines all rows from two tables, including rows that
do not have matching values, is called:
o A) Outer Join
o B) Inner Join
o C) Cartesian Product
o D) Natural Join
Answer: A
Explanation: An outer join combines all rows from both tables, including unmatched
rows, filling missing values with NULL.
o A) Date of birth
o C) Name
o D) Address
Answer: B
Explanation: A derived attribute is calculated from other attributes, such as age
being derived from the date of birth.
57. Which of the following types of join returns only the rows that have matching values in
both tables?
o A) Outer Join
o B) Inner Join
o C) Cross Join
o D) Self Join
Answer: B
Explanation: An inner join returns only rows with matching values in both tables.
58. Which of the following relational algebra operations produces the intersection of two
relations?
o A) UNION
o B) INTERSECTION
o C) CARTESIAN PRODUCT
o D) DIFFERENCE
Answer: B
Explanation: The INTERSECTION operation returns rows that are common to both
relations.
o B) An oval
o C) A double oval
o D) A diamond
Answer: C
Explanation: A multivalued attribute is represented by a double oval in an ER
diagram.
60. Which of the following statements is true about domain constraints in a relational model?