Question Bank Template
Question Bank Template
Question
What is the primary difference between a Database System and a File System?
Which of the following is NOT part of the database architecture?
The internal level of the database architecture deals with:
Which of the following best describes a schema in a database system?
Which of the following is an example of Data Manipulation Language (DML)?
What is the purpose of Data Independence in a database system?
Which of the following is an example of a superkey?
What is the primary key of a table?
Which of the following describes a one-to-many (1:M) relationship?
Which symbol in an ER diagram represents a relationship?
In the ER model, a superclass is associated with which concept?
What does generalization in an ER model represent?
What is aggregation in the context of the ER model?
What is the purpose of a foreign key in a relational database?
Which of the following is a higher-degree relationship?
In an ER diagram, an ellipse is used to represent:
What is the role of Data Definition Language (DDL) in a database system?
Which of the following is true about logical data independence?
In an ER diagram, a one-to-one (1:1) relationship means:
What is reduction of an ER diagram to tables?
What is a key characteristic of the Relational Data Model?
What is the purpose of a primary key in a relational database?
Which of the following ensures that foreign keys in one table refer to valid primary keys in another table?
Which operation in relational algebra is used to combine the rows from two relations?
Which of the following is NOT a type of integrity constraint in a relational database?
Which SQL command is used to define a new table in a database?
Which of the following is NOT a type of SQL command?
Which SQL data type is used to store textual data?
Which of the following is a set operator in SQL?
What is the function of the GROUP BY clause in SQL?
Which of the following is an example of an aggregate function in SQL?
What does the SQL INSERT command do?
Which of the following operators is used to combine two queries in SQL, eliminating duplicate records?
What is the purpose of a foreign key in a relational database?
Which of the following is an example of a domain constraint in SQL?
Which of the following is NOT an SQL Data Type?
In SQL, which operator is used to match a specified pattern in a column?
What is the role of indexes in SQL databases?
Which SQL command is used to delete a row from a table?
Which of the following SQL statements will allow you to update an existing record in a table?
Which of the following is a requirement for a table to be in 1NF?
In the context of 2NF, what does "full dependency" mean?
Which of the following functional dependencies is violated in a table in 2NF?
What is the main goal of 3NF in database normalization?
What is BCNF (Boyce-Codd Normal Form)?
Which of the following is a multi-valued dependency (MVD)?
Which of the following is not a benefit of normalization?
In the context of functional dependencies, which of the following statements is true?
Which normal form resolves transitive dependencies?
What does the Lossless Join Decomposition property guarantee in database normalization?
Which of the following is a key characteristic of Inclusion Dependency?
What is the issue resolved by 4NF (Fourth Normal Form)?
Which of the following is an example of a transitive dependency?
Which of the following is a violation of BCNF?
When a relation is in 3NF, which of the following holds true?
Which of the following represents a lossless decomposition of a table?
What does 5NF (Fifth Normal Form) primarily deal with?
Which of the following is a valid reason for denormalization in a database design?
Which normal form is concerned with eliminating join dependencies?
What is the key objective of database normalization?
Type Option1
Type Answer 1
MCQ A file system stores data in a structured format, while a database system does not.
MCQ DBMS
MCQ How users interact with the database.
MCQ A set of stored procedures.
MCQ CREATE TABLE
MCQ To ensure the security of the database.
MCQ A single attribute that uniquely identifies a record.
MCQ A key that uniquely identifies a record in a table.
MCQ One entity is related to only one other entity.
MCQ Rectangle
MCQ Generalization
MCQ Combining similar entities into a higher-level entity.
MCQ Representing a relationship between two entities as an entity.
MCQ To uniquely identify a record in a table.
MCQ A relationship between two entities.
MCQ An entity.
MCQ It is used to insert, update, or delete data from a database.
MCQ It allows changes to the physical storage without affecting the logical schema.
MCQ One entity is related to many other entities.
MCQ The process of merging entities into one.
MCQ Data is stored in a hierarchical structure.
MCQ To define the allowable values for a column.
MCQ Entity Integrity
MCQ Union
MCQ Entity Integrity
MCQ SELECT
MCQ DDL (Data Definition Language)
MCQ INT
MCQ JOIN
MCQ It filters records based on a condition.
MCQ MAX()
MCQ Deletes records from a table.
MCQ INTERSECT
MCQ To define the domain of an attribute.
MCQ CREATE TABLE Students (student_id INT PRIMARY KEY)
MCQ INT
MCQ LIKE
MCQ To store backup copies of tables.
MCQ REMOVE
MCQ INSERT INTO
MCQ Every column must contain atomic values.
MCQ A non-key attribute depends on a part of the composite primary key.
MCQ A non-key attribute depends on a composite key.
MCQ Eliminate multi-valued dependencies.
MCQ A stricter form of 3NF, where every functional dependency’s left-hand side is a superkey.
MCQ A dependency where one attribute determines multiple values of another attribute.
MCQ Reduction of data redundancy.
MCQ A functional dependency describes a relationship between two attributes.
MCQ No transitive dependency exists.
MCQ The decomposed relations can be joined back to recover the original relation.
MCQ The values of one relation are a subset of the values of another relation.
MCQ Partial dependencies.
MCQ Student_ID → Course_Name
MCQ A non-superkey attribute determines a non-key attribute.
MCQ No transitive dependency exists.
MCQ Splitting a table into two smaller tables where a join operation will not be able to recover the o
MCQ Elimination of multi-valued dependencies.
MCQ To reduce data redundancy.
MCQ Eliminate join dependencies.
MCQ To organize data in such a way that redundancy is minimized and data integrity is maintained.
Option1Mark
Answer 1 Mar
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
1
1
1
1
1
0
1
0
1
0
1
1
1
1
Option2
Answer 2
A database system manages data efficiently with built-in support for relationships and querying, whereas a file system doe
Applications
How the data is physically stored.
The logical structure of the database, defining tables, relationships, and constraints.
SELECT * FROM Students
To allow changes to the data storage and schema without affecting the application.
A set of attributes that uniquely identifies a record in a table.
A minimal superkey chosen to uniquely identify an entity in a table.
One entity is related to many entities.
Diamond
Specialization
Combining similar entities into a higher-level entity.
Representing a relationship between two entities as an entity.
To link records between two different tables.
A relationship between three or more entities.
A relationship
It defines the structure of the database, including tables and relationships.
It allows changes to the logical schema without affecting the external schema.
One entity is related to only one other entity.
The process of converting the ER model into a relational schema.
Data is stored in tables (relations) consisting of rows and columns.
To uniquely identify each record in a table.
Referential Integrity
Difference
Referential Integrity
INSERT
DML (Data Manipulation Language)
VARCHAR
UNION
It sorts the results of a query.
SELECT
Modifies existing records in a table.
UNION
To link tables together and enforce referential integrity.
SELECT * FROM Students WHERE age > 18
STRING
IN
To speed up data retrieval by providing a quick lookup of values.
DELETE
UPDATE
The table must have a composite key.
A non-key attribute depends on the entire primary key.
A non-key attribute depends on a part of the composite key.
Remove transitive dependencies.
A normal form that only deals with multi-valued dependencies.
A dependency where one attribute determines multiple tuples.
Improved data integrity.
A functional dependency can exist between two tuples in a table.
Every non-key attribute is fully dependent on the primary key.
Redundancy is completely eliminated in the database.
A column in one table references a primary key in another table.
Transitive dependencies.
Student_ID → Teacher_ID → Teacher_Name
A non-key attribute depends on another non-key attribute.
Every non-key attribute is fully dependent on the primary key.
Removing attributes from a table to reduce redundancy.
Decomposing relations to eliminate join dependencies.
To ensure data integrity.
Resolving issues with partial dependencies.
To speed up database queries.
Option2Mark
Answer 2 Mark
1
0
1
0
0
1
1
1
1
0
0
0
0
1
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
0
0
1
0
0
1
0
1
0
1
0
1
0
0
Option3
Answer 3
A file system stores data in relational tables, while a database system stores data in text files.
User
The relationships between tables.
The actual data stored in the database at any given time.
ALTER TABLE
To store data in a compressed format.
A candidate key that is not minimal.
A foreign key that links two tables.
Many entities are related to one entity.
Line
Aggregation
Breaking down an entity into smaller sub-entities.
Treating attributes as entities.
To define the structure of a table.
A relationship between a primary key and a foreign key.
An attribute
It helps manage transactions in the database.
It is easier to achieve than physical data independence.
Many entities are related to one entity.
The process of storing data in an efficient format.
Data is stored as files in directories.
To link tables together.
Domain Integrity
Join
Table Integrity
CREATE
DCL (Data Control Language)
DATE
EXCEPT
It groups records that have identical values in specified columns.
JOIN
Adds new records to a table.
EXCEPT
To optimize the performance of queries.
INSERT INTO Students VALUES (1, 'John', 20)
DATE
BETWEEN
To maintain referential integrity.
TRUNCATE
ALTER
Every non-key attribute must be fully dependent on the primary key.
A non-key attribute depends on another non-key attribute.
A non-key attribute depends on the whole primary key.
Ensure every relation is in 1NF.
A normal form that deals with the removal of partial dependencies.
A dependency where two attributes are independent of each other.
Simplification of database design.
A functional dependency can only exist between primary keys and non-key attributes.
Remove partial dependencies.
The decomposed relations contain no functional dependencies.
A composite key determines all other attributes in the table.
Transitive dependencies.
Student_ID → Student_Name
A superkey depends on a non-key attribute.
Every non-key attribute is fully dependent on the primary key.
Combining two relations to avoid data redundancy.
Resolving issues with multi-valued dependencies.
To achieve normalization.
Removing transitive dependencies.
To ensure data consistency across different databases.
Option3Mark Option4
Complexity
Answer 4 Mark Answer 5 Answer 5 Mark Time (in minutes) Key (for easy search) (1 o 5)
0 1 2
1 1 3
0 1 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
1 1
0 1
1 1
1 1
0 1
0 1
1 1
1 1
0 1
1 1
0 1
1 1
0 1
0 1
1 1
0 1
CorrectAnswer WrongAnswer
Right Answer
( 1 to 5)
Option B Option A, Option C, Option D
Option D Option A, Option B, Option C
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option C Option A, Option B, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option A Option B, Option C, Option D
Option A Option B, Option C, Option D
Option A Option B, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option B Option A, Option C, Option D
Option C Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option C, Option D
Option A Option A, Option B, Option D
Option C Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option D Option A, Option C, Option D
Option B Option A, Option B, Option D
Option A Option A, Option B, Option D
Option B Option A, Option B, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option C Option A, Option C, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option A Option A, Option B, Option D
Option C Option A, Option C, Option D
Option C Option A, Option B, Option D
Option B Option A, Option C, Option D
Option C Option A, Option B, Option D
Option B Option A, Option C, Option D
Option B Option A, Option C, Option D
Option C Option A, Option C, Option D
Option C Option A, Option C, Option D
Option B Option A, Option B, Option D
Option A Option A, Option B, Option D
Option C Option A, Option C, Option D
Option B Option A, Option B, Option D
Option A Option A, Option C, Option D
Option B Option A, Option B, Option D
Option A Option A, Option B, Option D
DescAns