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
Sports
chevron_right
Asian Games
chevron_right
Cricket
chevron_right
Common Wealth Games
chevron_right
Football
Computer Science
chevron_right
Computer Networks
chevron_right
Python Programming Language
chevron_right
Cryptography
chevron_right
Operating System
Current Affairs & Events
chevron_right
Daily Current Affairs
chevron_right
Latest Current Events
Agriculture
chevron_right
Green Revolution
chevron_right
Processes and Factors of Soil Formation
chevron_right
Major Crops and Classification
chevron_right
Pest and Disease Classification