DBMS-Introduction to Database Design Questions and Answers
Practice ModeShowing 10 of 50 questions
Q21
What is a composite key?
Answer: Option A
Explanation: A composite key consists of two or more columns that uniquely identify a record in a table.
Q22
Which SQL command modifies existing data?
Answer: Option A
Explanation: UPDATE command is used to modify existing records in a database table.
Q23
What is the purpose of an index?
Answer: Option A
Explanation: Indexes improve query performance by providing faster data retrieval through optimized search paths.
Q24
Which database model uses parent-child relationships?
Answer: Option A
Explanation: Hierarchical model organizes data in tree-like structures with parent-child relationships.
Q25
What is data dictionary?
Answer: Option A
Explanation: Data dictionary contains metadata about database structure, tables, columns, and relationships.
Q26
Which constraint maintains referential integrity?
Answer: Option A
Explanation: Foreign key constraint ensures referential integrity between related tables.
Q27
What is a weak entity?
Answer: Option A
Explanation: A weak entity depends on another entity for its existence and identification.
Q28
Which SQL function counts records?
Answer: Option A
Explanation: COUNT() function returns the number of records matching specified criteria.
Q29
What is database schema?
Answer: Option A
Explanation: Database schema defines the logical structure and organization of the database.
Q30
Which normal form requires elimination of partial dependencies?
Answer: Option A
Explanation: Second Normal Form (2NF) eliminates partial dependencies where attributes depend on part of a composite key.