DBMSDPP11 by Vijay Agarwal Sir
DBMSDPP11 by Vijay Agarwal Sir
Engineering
B All of (i), (ii), (iii), and (iv) can cause its violation
A. P only
B. Q only
C. Both P and Q
D. Neither P nor Q
[MCQ] Consider the following statements:
P: Updation of tuples into referenced relation may cause foreign
key violation.
Q: Updation of tuples into referencing relation may cause foreign
key violation.
Which of the following is/are INCORRECT?
A. P only
B. Q only
C. Both P and Q
D. Neither P nor Q
[MCQ]
Consider the following relationship entity diagram (ERD)
Which of the following possible relations will not hold if the above
ERD is mapped into a relation model?
A Person (NID, Name) B Qualification (NID, ExamID,
QualifiedDate)
C Exam (ExamID, NID, D Exam (ExamID, ExamName)
ExamName)
[MCQ]
Consider the following ERD:
Which of the following is the minimum number of relational table
and foreign key required for above ERD?
A. 3, 2
B. 1, 1
C. 2, 1
D. None of these
[NAT]
Consider the following ER diagram
Total number of RDBMS table in the above diagram?
[NAT]
B. 4, 5
C. 5, 4
D. 4, 6
Common data for Question No. 1,2
& 3 Consider the following ER-
diagram
[MCQ]
#Q.1 The minimum number of tables needed to represent A, B, C, D, R1, R2, R3, R4,
R5 is
A 3 B 4
C 5 D 6
[MCQ]
#Q.2 Above ER diagram, consists of Entity types B and D. These are connected by
R4 which does not have its own attribute.
Which one of the following is correct?
C Both a and b
D None of these
[MCQ]
#Q.3 Which of the following is a correct attribute set for one of the tables for the
correct answer to the above question?
A (a1,b1,c1)
B (b1,b1,c1,a1)
C (c1,c2)
D (a1,a2)
MCQ
Suppose 𝑅1 (A, B) and 𝑅2 (C, D) are two relation schemes. Let 𝑟1 and 𝑟2 be
the corresponding relation instances. B is a foreign key that refers to C in
𝑅2 . If data in 𝑟1 and 𝑟2 satisfy referential integrity constraints, which of
the following is ALWAYS TRUE?
A ΠB(r1)-ΠC(r2)=ϕ B ΠC(r2)-ΠB(r1)=ϕ
C ΠB(r1)=ΠC(r2) D ΠB(r1)-ΠC(r2) ≠ϕ
[NAT]
Link: https://unacademy.com/a/Top-250-Questions-on-DBMS.html%27