DBMS Quiz - MCQ - Multiple Choice Questions

Dive into the world of Database Management Systems with this beginner-friendly quiz! Whether you are just starting out or want to refresh your foundational knowledge, these questions cover key concepts crucial to understanding DBMS. Each question comes with a correct answer and a brief explanation to enrich your learning experience.

1. What does DBMS stand for?

A. Digital Base Management System
B. Database Management Software
C. Database Management System
D. Data Block Management System

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

A. RDBMS
B. HDBMS
C. OODBMS
D. FDBMS

3. What language is used by most relational DBMSs for queries?

A. QL
B. SQL
C. RQL
D. DQL

4. In a database, what is a collection of related data entries called?

A. Cell
B. Key
C. Table
D. Schema

5. What is a single entry in a database table called?

A. Key
B. Record
C. Field
D. Pointer

6. Which of the following best describes the purpose of a primary key in a database table?

A. Encrypting data
B. Speeding up search queries
C. Uniquely identifying a record
D. Indicating relationships between tables

7. What type of database relationship links records in two tables based on common values?

A. Dynamic link
B. Embedded link
C. Foreign link
D. Foreign key relationship

8. What does a composite key mean in a DBMS?

A. A key that is composed of two or more columns
B. A key that is used in complex queries
C. A key that is composed of duplicate values
D. A key that can be divided into multiple parts

9. Which one is NOT a characteristic of a database?

A. Persistent data
B. Multi-user access
C. Limited data redundancy
D. Temporary data

10. In a relational database, a table is also known as a?

A. Tuple
B. Relation
C. Field
D. Attribute

11. A foreign key in one table points to the ________ in another table.

A. Foreign Key
B. Secondary Key
C. Primary Key
D. Composite Key

12. Which of the following refers to the correctness and completeness of data?

A. Integrity
B. Security
C. Redundancy
D. Consistency

13. What is the primary purpose of normalization in DBMS?

A. Speeding up transactions
B. Reducing data redundancy
C. Increasing storage
D. Enhancing security

14. What does the acronym ACID stand for in database transactions?

A. Atomicity, Consistency, Isolation, Durability
B. Availability, Concurrency, Isolation, Data Integrity
C. Atomicity, Concurrency, Integrity, Durability
D. Access, Consistency, Integrity, Durability

15. Which of the following models uses a tree-like structure?

A. Relational model
B. Hierarchical model
C. Network model
D. Object-oriented model

16. What does DDL stand for in DBMS?

A. Data Definition Language
B. Data Driven Language
C. Database Driven Language
D. Data Deployment Language

17. In a database, what does a 'foreign key' represent?

A. A primary key from another table
B. A unique identifier for the database
C. A special key used for encryption
D. The secondary index key

18. Which normal form ensures that a table has a primary key and that all columns are fully functionally dependent on it?

A. 1NF
B. 2NF
C. 3NF
D. BCNF

19. What does the 'C' in CRUD operations stand for?

A. Create
B. Call
C. Copy
D. Clear

20. Which of the following is NOT a type of database join?

A. Inner Join
B. Outer Join
C. Middle Join
D. Cross Join

21. Which of the following DBMS is NOT based on the relational model?

A. MySQL
B. PostgreSQL
C. Oracle
D. MongoDB

22. What is the main advantage of using an index in a DBMS?

A. It reduces storage space.
B. It speeds up search/query performance.
C. It ensures data consistency.
D. It makes data encryption easier.

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

A. REMOVE TABLE
B. DELETE TABLE
C. DROP TABLE
D. ERASE TABLE

24. Which of the following is a disadvantage of a database management system?

A. Data redundancy
B. Data integrity
C. Complexity
D. Data consistency

25. What is a data warehouse?

A. A tool for backup and recovery
B. A database designed for transactional processes
C. A large database specifically designed for query and analysis
D. A temporary storage for data before it's inserted into the database

26. What does the SQL command "ALTER" do?

A. Deletes a database
B. Modifies an existing database object
C. Lists the structure of a table
D. Inserts data into a table

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

A. SELECT
B. FETCH
C. RETRIEVE
D. GET

28. In a DBMS, what is the role of a schema?

A. To define the structure of the database
B. To encrypt the database
C. To define the database backup process
D. To authenticate users

29. Which of the following SQL statements is used to update existing data in a database?

A. UPDATE
B. MODIFY
C. CHANGE
D. REVISE

30. Which of the following is not a property of transaction in DBMS?

A. Atomicity
B. Consistency
C. Durability
D. Flexibility

31. Which normal form aims to remove transitive dependencies in a relational database?

A. 1NF
B. 2NF
C. 3NF
D. BCNF

32. What is a 'view' in a DBMS?

A. A snapshot of the data
B. A backup of the data
C. A virtual table based on the result of an SQL statement
D. A user-defined function

33. Which of the following is NOT a SQL constraint?

A. UNIQUE
B. FOREIGN KEY
C. DELETE
D. PRIMARY KEY

34. What does the SQL command "JOIN" specifically do?

A. Combines rows from two or more tables based on a related column.
B. Creates a new table in the database.
C. Deletes data from a table.
D. Updates data in a table.

35. What is the purpose of the "GROUP BY" clause in SQL?

A. To sort the results in ascending or descending order.
B. To group the results based on one or more columns.
C. To retrieve a single value after calculations.
D. To filter the results based on a condition.

36. Which SQL clause is used to specify a condition while fetching data from a single table?

A. AND
B. OR
C. NOT
D. WHERE

37. What is the result of the SQL command "DROP TABLE table name;"?

A. It deletes the data in the table.
B. It deletes the table structure.
C. It deletes both the table structure and the data within it.
D. It archives the table.

38. In which normal form, does a table have all entries in a column of the same kind?

A. 1NF
B. 2NF
C. 3NF
D. 4NF

39. In a relational database, what does a row represent?

A. Field
B. Relation
C. Tuple
D. Attribute

40. Which SQL statement is used to insert a new record in a table?

A. ADD NEW
B. INSERT INTO
C. ADD INTO
D. ADD RECORD

41. Which of the following operations allows for extracting a subset of a database?

A. Union
B. Intersection
C. Projection
D. Cartesian Product

Comments

Spring Boot 3 Paid Course Published for Free
on my Java Guides YouTube Channel

Subscribe to my YouTube Channel (165K+ subscribers):
Java Guides Channel

Top 10 My Udemy Courses with Huge Discount:
Udemy Courses - Ramesh Fadatare