Ace
Learns
Theme
light_mode
dark_mode
light_mode
Light
dark_mode
Dark
monitor
Auto
Open main menu
menu_open
×
Home
History
Geography
Astronomy
Physics
Chemistry
Biology
Agriculture
Sports
Computer Science
Articles
Contact Us
MCQ Categories
Articles
Home
Contact Us
Home
»
Computer Science
»
Databases
»
Integrity Constraints in DBMS
Databases
unfold_more
double_arrow
ER Model in DBMS
double_arrow
Functional Dependencies in DBMS
double_arrow
Integrity Constraints in DBMS
double_arrow
Normalization in DBMS
double_arrow
Relational Algebra in DBMS
double_arrow
Relational Calculus in DBMS
double_arrow
SQL in DBMS
double_arrow
Transactions in DBMS
quiz
Integrity Constraints in DBMS
1.
What is the primary purpose of integrity constraints in DBMS?
A)
To define relationships between tables
B)
To enforce security measures on database access
C)
To maintain the consistency and accuracy of data
D)
To optimize query performance
Answer
keyboard_arrow_down
keyboard_arrow_up
C) To maintain the consistency and accuracy of data
Explanation
2.
Which integrity constraint ensures that a primary key cannot have a null value in a relational table?
A)
Referential Integrity Constraint
B)
Entity Integrity Constraint
C)
Domain Constraint
D)
Key Constraint
Answer
keyboard_arrow_down
keyboard_arrow_up
B) Entity Integrity Constraint
Explanation
3.
What does a domain constraint specify in a database?
A)
A valid set of values for an attribute
B)
Constraints on foreign keys
C)
Relationships between tables
D)
Unique keys in a table
Answer
keyboard_arrow_down
keyboard_arrow_up
A) A Valid set of values for an attribute
Explanation
4.
Which of the following constraints enforces Referential Integrity in a database?
A)
Primary Key Constraint
B)
Unique Constraint
C)
Foreign Key Constraint
D)
Check Constraint
Answer
keyboard_arrow_down
keyboard_arrow_up
C) Foreign Key Constraint
Explanation
Quick Links
Geography
chevron_right
Climatology
chevron_right
Geomorphology
chevron_right
Regional Geography
chevron_right
Oceanography
Current Affairs & Events
chevron_right
Latest Current Events
chevron_right
Daily Current Affairs
Physics
chevron_right
Thermodynamics
chevron_right
Electricity and Magnetism
chevron_right
Dynamics
chevron_right
Waves and Optics
Astronomy
chevron_right
Stars
chevron_right
High-Energy Astrophysics
chevron_right
Space Exploration
chevron_right
Solar system