Database management
  • 1. Database management involves the design, implementation, and maintenance of database systems to efficiently store and retrieve data. It includes tasks such as defining database structures, organizing data, ensuring data integrity, and optimizing database performance. Database management also encompasses security measures to protect data from unauthorized access or corruption. Effective database management is crucial for businesses to make informed decisions, streamline operations, and enhance customer experiences.

    Which language is commonly used to query databases?
A) SQL
B) Python
C) Java
D) C++
  • 2. What does CRUD stand for in database management?
A) Calculate, Rearrange, Update, Delete
B) Copy, Read, Upload, Display
C) Create, Read, Update, Delete
D) Connect, Retrieve, Utilize, Delete
  • 3. What is normalization in database design?
A) Deleting unnecessary data
B) Organizing data to minimize redundancy
C) Adding duplicate records for safety
D) Scrambling data for security
  • 4. What type of relationship exists between two tables when one record in the first table can have many related records in the second table?
A) One-to-One
B) Many-to-Many
C) None of the above
D) One-to-Many
  • 5. Which of the following is a NoSQL database?
A) Oracle
B) MongoDB
C) MySQL
D) PostgreSQL
  • 6. Which command is used to remove a table from a database?
A) REMOVE TABLE
B) DELETE TABLE
C) ERASE TABLE
D) DROP TABLE
  • 7. Which statement is used to retrieve data from a database?
A) SEARCH
B) RETRIEVE
C) FETCH
D) SELECT
  • 8. What is the purpose of an index in a database?
A) To confuse the database engine
B) To speed up data retrieval
C) To slow down data retrieval
D) To limit data access
  • 9. Which type of join returns all records when there is a match in both tables?
A) RIGHT JOIN
B) LEFT JOIN
C) OUTER JOIN
D) INNER JOIN
  • 10. What is data integrity in database management?
A) The size of the database
B) The speed of data retrieval
C) The structure of the data
D) The accuracy, consistency, and reliability of data stored in a database
  • 11. Which command is used to change the structure of a table in a database?
A) MODIFY TABLE
B) CHANGE TABLE
C) ALTER TABLE
D) RESTRUCTURE TABLE
  • 12. Which SQL clause is used to group rows based on a specified condition?
A) ORDER BY
B) GROUP BY
C) HAVING
D) FILTER
  • 13. Which database model allows for objects to be stored as collections of attributes and methods?
A) Relational
B) Object-oriented
C) Network
D) Hierarchical
  • 14. Which type of database relationship requires a linking table?
A) Many-to-Many
B) One-to-One
C) One-to-Many
D) Many-to-One
  • 15. What does the term 'relational database' refer to?
A) A type of database that stores and provides access to data points that are related to one another
B) A database used by multiple organizations
C) A database that stores only text data
D) A database without any relationships
  • 16. Which statement is used to enforce referential integrity in a database?
A) CHECK
B) UNIQUE
C) FOREIGN KEY
D) PRIMARY KEY
  • 17. Which SQL statement is used to insert new data into a database?
A) UPDATE
B) CREATE TABLE
C) SELECT *
D) INSERT INTO
  • 18. What is denormalization in database design?
A) Encrypting all data
B) Removing unnecessary data
C) Organizing data logically
D) Intentionally adding redundancy to improve performance
  • 19. Which type of database model allows for flexible and scalable data storage without fixed table schema?
A) Relational
B) Hierarchical
C) Object-oriented
D) NoSQL
  • 20. Which command is used to query data from multiple tables in a database?
A) JOIN
B) LINK
C) COMBINE
D) MERGE
  • 21. What does SQL stand for?
A) Structured Query Language
B) System Query Logic
C) Standardized Query Language
D) Software Query Library
  • 22. What does the term 'OLAP' stand for in database management?
A) Online Analytical Processing
B) Optimized Local Access Protocol
C) Object-Oriented Language Adaptation Protocol
D) Offline Automated Processing
  • 23. What is a backup in database management?
A) Data sent to a remote location
B) A report of database activities
C) A separate database
D) A copy of data that can be restored in case of data loss
  • 24. Which database model represents data as connections or relationships between different entities?
A) Hierarchical
B) Network
C) NoSQL
D) Relational
  • 25. Which SQL clause is used to filter records in a SELECT statement based on a specified condition?
A) GROUP BY
B) WHERE
C) ORDER BY
D) HAVING
  • 26. Which database model uses tables to store data and relationships between those tables?
A) Object-oriented
B) NoSQL
C) Relational
D) Hierarchical
  • 27. Which database management system is open-source and commonly used for web applications?
A) IBM Db2
B) Oracle Database
C) Microsoft SQL Server
D) MySQL
  • 28. Which SQL function is used to calculate the total number of rows that match a specific condition?
A) COUNT
B) MAX
C) SUM
D) AVG
  • 29. Which type of database model uses a tree-like structure with parent-child relationships?
A) NoSQL model
B) Hierarchical model
C) Relational model
D) Network model
Created with That Quiz — a math test site for students of all grade levels.