0% found this document useful (0 votes)
13 views

db_ch2

Uploaded by

malkmoh781.mm
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

db_ch2

Uploaded by

malkmoh781.mm
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

MCQ – Chapter 2

1. What is the purpose of the View Definition Language (VDL) in a DBMS?


a) To specify the internal schema
b) To specify user views
c) To perform data manipulation operations
d) To compile queries
Answer: b) To specify user views

2. What does Physical Data Independence allow in a DBMS?


a) Modifying application programs without changing the database
b) Changing the logical schema without altering the external schema
c) Altering the internal schema without affecting the conceptual schema
d) Performing data retrieval operations more efficiently
Answer: c) Altering the internal schema without affecting the conceptual schema

3. Which DBMS component module is responsible for query optimization?


a) DDL compiler
b) Query compiler
c) Query optimizer
d) Runtime database processor
Answer: c) Query optimizer

4. In a DBMS, what is a schema construct?


a) A detailed description of the database
b) An object in the schema, such as a table or column
c) A snapshot of the database at a particular moment
d) A set of queries and transactions
Answer: b) An object in the schema, such as a table or column

5. Which of the following is an example of logical data independence?


a) Changing the storage location of the database files
b) Modifying the physical storage devices
c) Adding a new attribute to an existing entity
d) Changing the compression technique
Answer: c) Adding a new attribute to an existing entity

6. What is the role of the DDL compiler in a DBMS?


a) To process schema definitions and store descriptions in the DBMS catalog
b) To execute data manipulation commands
c) To handle query optimization
d) To manage runtime database processing
Answer: a) To process schema definitions and store descriptions in the DBMS
catalog
7. Which of the following best describes data consistency in a DBMS?
a) The ability to change the database schema without affecting applications
b) The state where data values are accurate and reliable
c) The capability to handle concurrent transactions
d) The process of backing up data regularly
Answer: b) The state where data values are accurate and reliable

8. What is the significance of the database schema in DBMS?


a) It contains the actual data stored in the database
b) It defines the logical structure and design of the database
c) It manages user permissions and security
d) It optimizes query performance
Answer: b) It defines the logical structure and design of the database

9. Which type of DBMS architecture has all functionality, application execution, and
user interface processing on one machine?
a) Client-server architecture
b) Distributed architecture
c) Centralized DBMS architecture
d) Cloud-based architecture
Answer: c) Centralized DBMS architecture

10. What is the main advantage of the client-server architecture in a DBMS?


a) Reduced communication costs
b) Improved query performance
c) Distributed processing power and specialized servers
d) Simplified database management
Answer: c) Distributed processing power and specialized servers

11. Which component in a DBMS is responsible for low-level input/output operations?


a) Query optimizer
b) Runtime database processor
c) Stored data manager
d) Precompiler
Answer: c) Stored data manager

12. What does the term 'database state' refer to?


a) The set of queries being executed at a given time
b) The schema of the database
c) The data in the database at a particular moment in time
d) The metadata stored in the DBMS catalog
Answer: c) The data in the database at a particular moment in time
13. Which function is NOT typically provided by database system utilities?
a) Backup and recovery
b) Performance monitoring
c) Application program compilation
d) Database storage reorganization
Answer: c) Application program compilation

14. In the context of DBMS, what does the term 'data abstraction' refer to?
a) The process of backing up the database
b) The separation of data from the application programs
c) The optimization of database queries
d) The encryption of sensitive data
Answer: b) The separation of data from the application programs

15. Which type of independence allows changes in the physical schema without
affecting the conceptual schema?
a) Logical data independence
b) Functional data independence
c) Physical data independence
d) Structural data independence
Answer: c) Physical data independence

16. Which of the following is an example of a DBMS utility?


a) Query optimizer
b) Database storage reorganization
c) Runtime database processor
d) DDL compiler
Answer: b) Database storage reorganization

17. What is the primary role of the precompiler in a DBMS?


a) To optimize queries
b) To process DML commands from an application program
c) To manage runtime database processing
d) To compile schema definitions
Answer: b) To process DML commands from an application program

18. What does logical data independence ensure?


a) Physical storage changes do not affect the logical schema
b) Changes in the logical schema do not affect the external schema
c) User views are not affected by internal schema changes
d) Database queries are optimized for performance
Answer: b) Changes in the logical schema do not affect the external schema

19. Which of the following is NOT a type of data independence in DBMS?


a) Physical data independence
b) Logical data independence
c) Functional data independence
d) Both a and b
Answer: c) Functional data independence

20. What is the purpose of the storage definition language (SDL) in DBMS?
a) To define the logical schema
b) To specify the internal schema
c) To create user views
d) To manipulate data in the database
Answer: b) To specify the internal schema

21. Which DBMS component is responsible for validating the correctness of query
syntax?
a) Query optimizer
b) Query compiler
c) Runtime database processor
d) Interactive query interface
Answer: b) Query compiler

22. What is the key advantage of using a DBMS for data consistency?
a) Improved query performance
b) Ensuring data values are accurate and reliable
c) Easier data manipulation
d) Simplified database schema
Answer: b) Ensuring data values are accurate and reliable

23. In the context of a university database, which level of database architecture would
handle the user interfaces and application programs?
a) Internal level
b) Conceptual level
c) External level
d) Physical level
Answer: c) External level

24. Which of the following describes the 'database schema'?


a) The data stored in the database at a particular moment
b) The overall logical structure and design of the database
c) The set of all queries executed on the database
d) The data manipulation operations allowed by the DBMS
Answer: b) The overall logical structure and design of the database

25. Which DBMS component module is concerned with transaction management


a) DDL compiler
b) Runtime database processor
c) Query optimizer
d) Stored data manager
Answer: b) Runtime database processor

26. What is an example of a change that can be made under physical data
independence without affecting the conceptual schema?
a) Adding a new entity type
b) Changing the file organization technique
c) Modifying application programs
d) Redefining user views
Answer: b) Changing the file organization technique

27. Which level of the database architecture is responsible for the logical structure of
the entire database?
a) Physical level
b) External level
c) Conceptual level
d) Internal level
Answer: c) Conceptual level

28. What does the database system environment typically include?


a) Database schema and DDL
b) Database languages and utilities
c) DBMS component modules
d) All of the above
Answer: d) All of the above

29. Which type of DBMS architecture allows multiple client machines to access server
resources?
a) Centralized DBMS architecture
b) Distributed DBMS architecture
c) Client-server architecture
d) Cloud-based architecture
Answer: c) Client-server architecture

30. Which database language is used for performing manipulation operations such as
retrieval, insertion, deletion, and modification of the data?
a) DDL (Data Definition Language)
b) SDL (Storage Definition Language)
c) VDL (View Definition Language)
d) DML (Data Manipulation Language)
Answer: d) DML (Data Manipulation Language)

You might also like