Database Questions

Practice Database MCQs with answers and explanations. Page 3 of 5.

Category
Technical Questions
Topic
Database
Page
3 / 5
Mode
Practice

Questions

Open any question to view the answer and explanation.

A data dictionary is a special file or set of tables that contains which of the following information about the fields in all files or tables of a database?
Open
View answer
Once referential integrity has been enforced between a primary table and a related secondary table, can you still freely delete a row from the primary table when related rows exist in the secondary table?
Open
View answer
In relational database terminology, a subset of the database that contains virtual data derived from base tables but is not explicitly stored is called what?
Open
View answer
In database management systems (DBMS), a data model is defined as a collection of concepts that can be used to describe the structure of a database, including its entities, attributes, and relationships. Is this statement correct?
Open
View answer
Representational or conceptual data models in database systems provide concepts that are close to the way many users perceive and understand data in the real world. Is this statement correct?
Open
View answer
In a database management system, physical data models describe the details of how data is actually stored on computer storage devices such as disks and SSDs. Is this statement correct?
Open
View answer
In the context of database management systems, what is a schema and how does it describe the overall structure of a database?
Open
View answer
In a database system, the capacity to change the conceptual schema without having to change external schemas or application programs is called what type of data independence?
Open
View answer
Which of the following lists correctly names major types of database management systems (DBMS) based on their underlying data models?
Open
View answer
In entity relationship (ER) modeling, the number of entity types participating in a relationship type is called what?
Open
View answer
In an entity relationship (ER) model, the relationship where both participating entities belong to the same entity type is called what?
Open
View answer
In entity relationship (ER) modeling, which of the following are considered relationship constraints?
Open
View answer
Which of the following is a disadvantage of using a singly circular linked list data structure?
Open
View answer
What is the time complexity of a sequential (linear) search in the worst case for a list of n elements?
Open
View answer
If you are using the C programming language to implement a heterogeneous linked list (where nodes can store different data types), which pointer type is typically used to refer to the data field?
Open
View answer
Does the minimum spanning tree (MST) of a weighted graph always give the shortest distance between any two specified nodes in that graph?
Open
View answer
Which of the following database products implemented the CODASYL DBTG network data model?
Open
View answer
In an entity relationship diagram (ERD), which of the following indicates the maximum number of entity instances that can be involved in a relationship?
Open
View answer
In SQL, which of the following is a reason for using a view to hide certain columns from users?
Open
View answer
Which of the following phenomena occurs when a transaction rereads data it has previously read and finds that the data has been modified or deleted by another committed transaction?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.