0% found this document useful (0 votes)
59 views20 pages

DBMS MCQ

The document consists of a series of questions and answers related to Database Management Systems (DBMS), covering topics such as definitions, functions, types of databases, properties, applications, users, components, and architecture. Key concepts include the role of DBMS, types of databases like relational and NoSQL, and the ACID properties that ensure data integrity. The document serves as a comprehensive quiz or study guide for understanding fundamental DBMS concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views20 pages

DBMS MCQ

The document consists of a series of questions and answers related to Database Management Systems (DBMS), covering topics such as definitions, functions, types of databases, properties, applications, users, components, and architecture. Key concepts include the role of DBMS, types of databases like relational and NoSQL, and the ACID properties that ensure data integrity. The document serves as a comprehensive quiz or study guide for understanding fundamental DBMS concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

1. What does DBMS stand for?

a) Data Book Management System


b) Database Management System
c) Data Management Storage
d) Database Machine System

Answer: b) Database Management System

2. Which of the following is NOT a function of DBMS?

a) Data storage
b) Data retrieval
c) Data security
d) Data encryption hardware

Answer: d) Data encryption hardware

3. Which of the following is an example of a DBMS?

a) Microsoft Excel
b) Oracle
c) Notepad
d) Google Chrome

Answer: b) Oracle

4. Which of the following is a feature of a DBMS?

a) Redundancy
b) Data inconsistency
c) Centralized data management
d) Data loss

Answer: c) Centralized data management

5. What is the primary purpose of DBMS?


a) To store data
b) To manage hardware resources
c) To manage large amounts of data efficiently
d) To program data

Answer: c) To manage large amounts of data efficiently

6. Which of the following is an advantage of using a DBMS?

a) Faster data access


b) Higher data redundancy
c) No need for backups
d) Data inconsistency

Answer: a) Faster data access

7. Which of the following is NOT a type of DBMS?

a) Hierarchical DBMS
b) Network DBMS
c) Relational DBMS
d) Linear DBMS

Answer: d) Linear DBMS

8. What is a primary key in DBMS?

a) A key that identifies a unique record in a table


b) A key that encrypts the data
c) A key that stores the data
d) A key used to create indexes

Answer: a) A key that identifies a unique record in a table

9. Which SQL statement is used to retrieve data from a database?

a) SELECT
b) INSERT
c) DELETE
d) UPDATE

Answer: a) SELECT

10. What is normalization in DBMS?

a) A process of storing data in multiple databases


b) A process to remove redundancy and improve data integrity
c) A process to back up data regularly
d) A process to create complex relationships

Answer: b) A process to remove redundancy and improve data integrity

Type of database

11. Which of the following is a type of database that stores data in a tabular
form, where data is organized into rows and columns?

a) Hierarchical Database
b) Network Database
c) Relational Database
d) Object-Oriented Database

Answer: c) Relational Database

12. In which type of database is data organized in a tree-like structure, with


parent-child relationships?

a) Relational Database
b) Hierarchical Database
c) Network Database
d) Document Database

Answer: b) Hierarchical Database

13. Which of the following databases is based on object-oriented programming


principles and uses objects for storing data?
a) Relational Database
b) Object-Oriented Database
c) NoSQL Database
d) Key-Value Database

Answer: b) Object-Oriented Database

14. Which of the following is a feature of NoSQL databases?

a) Fixed schema
b) Scalability and flexibility for handling unstructured data
c) Use of SQL queries
d) Data stored in tables

Answer: b) Scalability and flexibility for handling unstructured data

15. Which type of database is most suitable for handling large amounts of
unstructured or semi-structured data, such as documents, images, or videos?

a) Relational Database
b) NoSQL Database
c) Hierarchical Database
d) Object-Oriented Database

Answer: b) NoSQL Database

16. Which type of database is designed for storing and managing large collections
of multimedia content such as images, audio, and video files?

a) Data Warehouse
b) Document-Oriented Database
c) Multimedia Database
d) Relational Database

Answer: c) Multimedia Database


17. Which type of database management system uses a graph structure with
nodes, edges, and properties to represent and store data?

a) Relational Database
b) Graph Database
c) Key-Value Database
d) Object-Oriented Database

Answer: b) Graph Database

18. Which of the following is a type of database that organizes data into a
network of interconnected records, allowing more flexible relationships between
data compared to a hierarchical database?

a) Object-Oriented Database
b) Network Database
c) Relational Database
d) NoSQL Database

Answer: b) Network Database

19. Which type of database is typically used for analytical purposes and stores
large volumes of historical data for business intelligence and reporting?

a) Transactional Database
b) Data Warehouse
c) In-memory Database
d) NoSQL Database

Answer: b) Data Warehouse

20. Which of the following databases is optimized for read-heavy workloads and
allows quick retrieval of data using key-value pairs?

a) Key-Value Database
b) Relational Database
c) Document Database
d) Column-Family Database
Answer: a) Key-Value Database

Database properties

21. What does ACID stand for in database management?

A) Atomicity, Consistency, Isolation, Durability


B) Addition, Consistency, Isolation, Durability
C) Atomicity, Consistency, Interaction, Durability
D) Atomicity, Consistency, Integrity, Durability

Answer: A) Atomicity, Consistency, Isolation, Durability

22. Which of the following properties ensures that once a transaction is committed, its
changes are permanent in a database?

A) Atomicity
B) Consistency
C) Isolation
D) Durability

Answer: D) Durability

23. Which property of ACID guarantees that a transaction will either complete fully or not
at all, ensuring no partial updates?

A) Atomicity
B) Consistency
C) Isolation
D) Durability

Answer: A) Atomicity

24. Which of the following ensures that a database remains in a valid state before and after
a transaction?

A) Atomicity
B) Consistency
C) Isolation
D) Durability
Answer: B) Consistency

25. In a relational database, the property that ensures that a transaction's operations do
not interfere with other concurrent transactions is called:

A) Atomicity
B) Consistency
C) Isolation
D) Durability

Answer: C) Isolation

26. Which of the following statements best describes database normalization?

A) Normalization involves converting complex queries into simpler ones.


B) Normalization reduces data redundancy and improves data integrity.
C) Normalization is used to optimize database performance by creating indexes.
D) Normalization organizes data into denormalized tables.

Answer: B) Normalization reduces data redundancy and improves data integrity.

27. A foreign key in a database is used to:

A) Identify the primary key of the database


B) Establish a relationship between two tables
C) Ensure the uniqueness of a column
D) Store data in an encrypted format

Answer: B) Establish a relationship between two tables

28. Which of the following is a property of a relational database model?

A) Data is stored in tables with rows and columns.


B) Data is stored as key-value pairs.
C) Data is stored in a hierarchical structure.
D) Data is stored in a graph-like structure.

Answer: A) Data is stored in tables with rows and columns.


29. Which SQL command is used to remove a table from a database?

A) DELETE
B) DROP
C) REMOVE
D) ERASE

Answer: B) DROP

30. In a database, what is the primary purpose of an index?

A) To store duplicate records for faster access


B) To speed up retrieval of data
C) To ensure data integrity
D) To establish relationships between tables

Answer: B) To speed up retrieval of data

Application of DBMS

31. Which of the following is a typical application of a database in a business environment?

A) Data processing
B) Inventory management
C) Website hosting
D) Video editing

Answer: B) Inventory management

32. Which of the following is the main application of databases in banking systems?

A) Storing video files


B) Managing customer accounts and transactions
C) Managing email communication
D) Hosting websites

Answer: B) Managing customer accounts and transactions


33. Which of the following is NOT an application of databases?

A) E-commerce platforms
B) Employee payroll management
C) Social media interactions
D) Image rendering

Answer: D) Image rendering

34. In a university database system, which of the following is a primary application?

A) Data storage for student records and courses


B) Managing the university’s financial transactions
C) Storing faculty emails
D) Online lecture streaming

Answer: A) Data storage for student records and courses

35. Which of the following is an application of databases in healthcare?

A) Managing patient medical records


B) Organizing patient visits to restaurants
C) Recording medical sales transactions
D) Streaming medical videos online

Answer: A) Managing patient medical records

36. Which type of database is commonly used in online e-commerce systems for managing
product listings, customer orders, and transactions?

A) Relational database
B) Hierarchical database
C) Network database
D) Object-oriented database

Answer: A) Relational database

37. In a library system, which of the following is a primary use of databases?


A) Storing and managing information about books, authors, and patrons
B) Editing multimedia content
C) Streaming video content for online users
D) Managing online payment transactions

Answer: A) Storing and managing information about books, authors, and patrons

38. Which of the following is an example of a real-world application of NoSQL databases?

A) Managing structured customer data in a traditional banking system


B) Storing large amounts of unstructured data for social media platforms
C) Organizing inventory data in a small retail store
D) Managing sales transactions in a retail store

Answer: B) Storing large amounts of unstructured data for social media platforms

39. Which of the following applications relies heavily on geographic information system
(GIS) databases?

A) Online travel and mapping applications


B) Employee payroll management systems
C) E-commerce product recommendation engines
D) Video streaming services

Answer: A) Online travel and mapping applications

40. In a customer relationship management (CRM) system, what is the role of a database?

A) Storing customer contact details, interaction history, and purchase behavior


B) Hosting promotional videos and advertisements
C) Rendering website pages
D) Managing financial transactions

Answer: A) Storing customer contact details, interaction history, and purchase behavior

User of Database

41. Who is responsible for the overall design, implementation, and maintenance of a
database system?
A) Database User
B) Database Administrator (DBA)
C) Application Programmer
D) Data Analyst

Answer: B) Database Administrator (DBA)

42. Which type of database user is primarily concerned with querying and manipulating
data for business or research purposes?

A) Database Administrator
B) Application Programmer
C) End User
D) Data Architect

Answer: C) End User

43. What is the main responsibility of an application programmer in the context of


database systems?

A) To maintain the security of the database


B) To design the database schema
C) To write application programs that interact with the database
D) To monitor the performance of the database

Answer: C) To write application programs that interact with the database

44. Which of the following best describes a "power user" in a database environment?

A) A user who has full access to the database and can modify the schema
B) A user who can write complex queries and reports, but cannot modify the database structure
C) A user who performs daily transactions and operations in the database
D) A user who only reads data from the database

Answer: B) A user who can write complex queries and reports, but cannot modify the
database structure
45. Which of the following is NOT typically a responsibility of a database administrator
(DBA)?

A) Backing up data regularly


B) Writing application programs
C) Ensuring database security
D) Managing user access and permissions

Answer: B) Writing application programs

46. Which of the following database users typically interacts with the database via an
application interface without directly accessing the underlying database structure?

A) Database Administrator
B) End User
C) Data Architect
D) Application Programmer

Answer: B) End User

47. Which type of database user typically performs tasks such as data entry and retrieval,
often using user-friendly software or applications?

A) Data Analyst
B) End User
C) Database Designer
D) Database Administrator

Answer: B) End User

48. Which of the following users is typically responsible for creating and maintaining
database structures such as tables, indexes, and schemas?

A) End User
B) Application Programmer
C) Database Administrator
D) Data Analyst

Answer: C) Database Administrator


49. A "read-only" user of a database is most likely to be:

A) Database Administrator
B) End User
C) Data Analyst
D) Application Programmer

Answer: B) End User

50. Which of the following users can create and manage the database schema, including
tables, views, and constraints?

A) End User
B) Database Administrator
C) Application Programmer
D) Data Analyst

Answer: B) Database Administrator

Components of a Database System


51. Which of the following is NOT a component of a database system?

A) Database Engine
B) Database Schema
C) Database Query Processor
D) Operating System

Answer: D) Operating System

52. What is the primary role of the Database Management System (DBMS)?

A) To physically store data on the disk


B) To manage the database and allow users to interact with it
C) To secure and encrypt all data
D) To generate reports for the end users

Answer: B) To manage the database and allow users to interact with it


53. The component of a database system that manages how data is stored and retrieved is
called:

A) Query Processor
B) Database Engine
C) Transaction Manager
D) Data Dictionary

Answer: B) Database Engine

54. Which of the following is responsible for interpreting and executing SQL queries in a
database system?

A) Database Engine
B) Query Processor
C) Data Dictionary
D) Transaction Manager

Answer: B) Query Processor

55. The part of the database system that stores metadata (information about the database
structure, tables, and relationships) is known as:

A) Data Dictionary
B) Database Engine
C) Query Processor
D) Data Repository

Answer: A) Data Dictionary

56. Which component of a database system ensures that multiple transactions are
processed in a secure and reliable manner without interference?

A) Data Dictionary
B) Transaction Manager
C) Database Engine
D) Query Processor

Answer: B) Transaction Manager


57. What is the role of the "Storage Manager" in a database system?

A) To handle the allocation of storage space for data and indexes


B) To ensure that users can access data through queries
C) To store the backup copies of the database
D) To provide a user interface for managing the database

Answer: A) To handle the allocation of storage space for data and indexes

58. Which of the following is responsible for ensuring the integrity, consistency, and
correctness of the database?

A) Transaction Manager
B) Database Engine
C) Integrity Constraints
D) Query Processor

Answer: C) Integrity Constraints

59. The component of a database system that manages communication between the
database and the end user is called:

A) Data Dictionary
B) Database Engine
C) User Interface
D) Query Processor

Answer: C) User Interface

60. Which of the following components ensures that a database is able to support
concurrent transactions without conflicts?

A) Transaction Manager
B) Data Dictionary
C) Query Processor
D) Database Engine

Answer: A) Transaction Manager


Levels of DBMS Architecture

61 What are the levels of DBMS architecture?

A) External, Conceptual, Internal


B) Logical, Physical, External
C) Internal, Logical, Physical
D) Data, Logical, External

Answer: A) External, Conceptual, Internal

62. Which of the following is not a level in the DBMS architecture?

a) Internal
b) External
c) Physical
d) Logical

Answer: c) Physical

63. Which of the following is true about the three-level architecture of DBMS?

a) The internal level deals with the logical design of the database.
b) The external level represents the user view of the data.
c) The logical level represents the physical storage of data.
d) The internal level corresponds to the user views.

Answer: b) The external level represents the user view of the data.

64. What is the role of the internal schema in DBMS architecture?

a) It describes the data from the user’s perspective.


b) It defines how data is physically stored.
c) It handles data manipulation and query processing.
d) It is used for data security and access control.

Answer: b) It defines how data is physically stored.

65. Which level of DBMS architecture is closest to the physical storage of data?

a) Internal
b) External
c) Logical
d) Conceptual
Answer: a) Internal

66. Which of the following DBMS architectures uses a two-level approach


(external and internal levels)?

a) ANSI/SPARC DBMS architecture


b) Client-server architecture
c) Relational DBMS architecture
d) Network DBMS architecture

Answer: a) ANSI/SPARC DBMS architecture

67. The logical schema is responsible for which of the following?

a) Describing the physical storage of data


b) Defining the structure of data, such as tables, views, etc.
c) Translating user queries to internal operations
d) Protecting the database from unauthorized access

Answer: b) Defining the structure of data, such as tables, views, etc.

68. What is the purpose of the external schema in DBMS?

a) To describe the physical storage of the database


b) To map the user’s view of the data
c) To ensure security of the database
d) To manage data manipulation operations

Answer: b) To map the user’s view of the data

69. Which architecture model uses a single schema to describe the entire
database structure?

a) 1-tier architecture
b) 2-tier architecture
c) 3-tier architecture
d) Network architecture

Answer: a) 1-tier architecture

70. Which of the following components is not typically part of the DBMS
architecture?

a) Query Processor
b) Transaction Manager
c) File System Manager
d) Application Layer

Answer: d) Application Layer

71. Which of the following is a feature of the three-level DBMS architecture?

a) It provides a separation of concerns between data storage and user interactions.


b) It only focuses on physical data storage.
c) It lacks abstraction layers.
d) It uses a single schema for both user and internal data.

Answer: a) It provides a separation of concerns between data storage and user interactions.

72. In DBMS architecture, what is the role of a Database Management System


(DBMS)?

a) To handle only query processing and execution.


b) To provide abstraction and manage the interaction between users and the database.
c) To store raw data directly in memory.
d) To execute only user-level operations.

Answer: b) To provide abstraction and manage the interaction between users and the database.

73. Which level of DBMS architecture does the external schema correspond to?

a) User view level


b) Physical storage level
c) Data dictionary level
d) Logical level

Answer: a) User view level

74. Which is true regarding DBMS architecture in a client-server model?

a) The client interacts with the external schema, and the server handles internal schema
operations.
b) The client only manages the internal schema while the server is responsible for the external
schema.
c) Both the client and server manage logical and external schemas together.
d) Client and server manage physical storage and query processing only.

Answer: a) The client interacts with the external schema, and the server handles internal schema
operations.
75. Which of the following is the function of a DBMS query processor in a three-
level DBMS architecture?

a) Convert user queries into low-level instructions that interact with the physical storage.
b) Manage storage allocation for the database.
c) Authenticate users and provide access control.
d) Provide user interfaces for database manipulation.

Answer: a) Convert user queries into low-level instructions that interact with the physical
storage.

76. Which of the following is an example of DBMS architecture in a distributed


environment?

a) Client-server architecture
b) Peer-to-peer architecture
c) 3-tier architecture
d) Multi-tier architecture

Answer: c) 3-tier architecture

77. Which of the following best describes the concept of data independence in
DBMS?

a) Data independence prevents unauthorized access to the database.


b) Data independence refers to the ability to modify the schema without affecting the application.
c) Data independence ensures that all users have the same data access rights.
d) Data independence ensures that only physical storage changes without affecting the logical
design.

Answer: b) Data independence refers to the ability to modify the schema without affecting the
application.

77. The DBMS architecture that handles multiple external views of data is:

a) Client-server architecture
b) 2-tier architecture
c) 3-tier architecture
d) Three-level architecture

Answer: d) Three-level architecture

78. In DBMS architecture, the term "conceptual schema" refers to:


a) The physical storage format of data.
b) The user's view of the data.
c) The overall structure of data as it is represented to the DBMS.
d) A detailed description of the hardware used to store the database.

Answer: c) The overall structure of data as it is represented to the DBMS.

79. Which level of DBMS architecture helps in data abstraction and separation?

a) Internal level
b) Logical level
c) External level
d) Both logical and external levels

Answer: d) Both logical and external levels

80. Which of the following DBMS architecture is best suited for supporting web-
based applications?

a) 1-tier architecture
b) 2-tier architecture
c) 3-tier architecture
d) Network DBMS architecture

Answer: c) 3-tier architecture

You might also like