Skip to content

GATE CS Integrity Constraints questions

Practise Integrity Constraints questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

8 on this page
Official PYQ2021DatabasesIntegrity ConstraintsMCQ · 1 mark
Consider the following statements S1S1 and S2S2 about the relational data model: S1S1: A relation scheme can have at most one foreign key. S2S2: A foreign key in a relation scheme RR cannot be used to refer to tuples of R.R. Which one of the following choices is correct?
Official PYQ2017DatabasesIntegrity ConstraintsNAT · 1 mark
Consider the following tables T1T1 and T2.T2. …
Official PYQ2014DatabasesIntegrity ConstraintsNAT · 1 mark
Given an instance of the STUDENTS relation as shown as below …
Official PYQ2014DatabasesIntegrity ConstraintsNAT · 1 mark
The maximum number of superkeys for the relation schema R(E,F,G,H)R(E,F,G,H) with EE as the key is _____.
Official PYQ2014DatabasesIntegrity ConstraintsMCQ · 1 mark
A prime attribute of a relation scheme RR is an attribute that appears
Official PYQ2005DatabasesIntegrity ConstraintsMCQ · 1 mark
Consider a relation scheme R=(A,B,C,D,E,H)R = (A, B, C, D, E, H) on which the following functional dependencies hold: {A→BA \rightarrow B, BC→DBC \rightarrow D, E→CE \rightarrow C, D→AD \rightarrow A}. What are the candidate keys R?
Official PYQ2005DatabasesIntegrity ConstraintsMCQ · 1 mark
The following table has two attributes AA and CC where AA is the primary key and CC is the foreign key referencing AA with on-delete cascade. …
Official PYQ1997DatabasesIntegrity ConstraintsMCQ · 1 mark
Let R(a,b,c)R (a, b, c) and S(d,e,f)S(d, e, f) be two relations in which dd is the foreign key of SS that refers to the primary key of RR. Consider the following four operations RR and SS Insert into RR Insert into SS Delete from RR Delete from SS Which of the following can cause violation of the referential integrity constraint above?