Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : DATABASE MANAGEMENT
SYSTEMS (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
SYSTEMS (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
The relationStudents(Name, Total_Marks) contains the names and marks of different students where no two students have the same name or total marks. What will the following SQL query return?

Solution
Consider a relationR(A, B, C, D, E) with following functional dependency set FD : {A→ BC, CD → E, B → D, E → A}
What is the highest normal form ofR?
What is the highest normal form ofR?
Solution
Consider the relationR(A, B, C, D, E, F) with dependency set
FD: {AB→ C, E → F, AC → B, BC → A, B → D, AD → E}
Following are the two decompositions ofR:
- D1 :{AB, BC, EF, ABDE}
- D2 :{ABC, ADF, ACDE}
Choose the correct option
FD: {AB→ C, E → F, AC → B, BC → A, B → D, AD → E}
Following are the two decompositions ofR:
- D1 :{AB, BC, EF, ABDE}
- D2 :{ABC, ADF, ACDE}
Choose the correct option
Solution
Inscript
Consider a relationStudent(studID, Sname, Age, Sex) where studID is the primary key. How many superkeys are possible for the relationStudent?
Consider a relationStudent(studID, Sname, Age, Sex) where studID is the primary key. How many superkeys are possible for the relationStudent?
Solution
Assume no functional dependencies other than those listed hold.
Consider relationR(StudentID, StudentName, ClubID, ClubName, MentorID, MentorName, FeePaid)

Each tuple represents one student’s membership in one club.
Which of the following statements are TRUE?
Consider relationR(StudentID, StudentName, ClubID, ClubName, MentorID, MentorName, FeePaid)
Each tuple represents one student’s membership in one club.
Which of the following statements are TRUE?
Solution
A DBMS stores its database on a magnetic disk. While reading a required sector, the disk arm has already moved to the correct track, but the desired sector has not yet reached the read-write head.
Which of the following statements are TRUE?
Which of the following statements are TRUE?
Solution
Consider a relationR(A, B, C, D, E) with the following multivalued dependencies:
- A →→ B
- B →→ D
Suppose relationRcontains the tuples (0, 1, 2, 3, 4) and (0, 5, 6, 7, 8). Which of the following tuple(s) must also be inR?
- A →→ B
- B →→ D
Suppose relationRcontains the tuples (0, 1, 2, 3, 4) and (0, 5, 6, 7, 8). Which of the following tuple(s) must also be inR?
Solution
Which of the following are correct probe sequences in Binary Search Trees?
Solution
Consider the relation schemaR(A,B,C) with functional dependency set
F = {A→ B, B → C}
Two database instances I1and I2over R both satisfy F.
- In I1, all values happen to be distinct.
- In I2, many values repeat.
Which statement is correct?
F = {A→ B, B → C}
Two database instances I1and I2over R both satisfy F.
- In I1, all values happen to be distinct.
- In I2, many values repeat.
Which statement is correct?
Solution
In Python Postgres database connectivity the cursor.fetchmany() method is used to retrieve data from a table. What does this method returns?
Solution
Consider the above two tables belonging to University database.
Select all the SQL queries that would fetch distinct names of instructors who belong toCS department and who have taught courses in bothFallof2024andSpringof2025.
Solution
Consider the following ER diagram representing aLibrary Management System. Select all the correct statements regarding the relational model corresponding to this diagram with the minimum possible number of tables.

Note: You can merge two entities together, provided no extra NULL values needs to be added explicitly.
Note: You can merge two entities together, provided no extra NULL values needs to be added explicitly.
Solution
Consider a relationR(A, B, C, D, E, F, G, H, I, J) having functional dependencies as followsF = {AB→ C, D → IJ, A → DE, F → GH}.
Select all the correct statements regarding normalization ofR.
Select all the correct statements regarding normalization ofR.
Solution
Inscript
Consider the relational schemaR(A, B, C, D, E, F, G) with the given dependency set
FD:{AB→ CD, AF → D, DE → F, C → G, F → E, G → A}
How many functional dependencies are there in the canonical/minimal cover of the given FD set ?
Note: Give answer considering that all dependencies have a single attribute on right side of arrow
Consider the relational schemaR(A, B, C, D, E, F, G) with the given dependency set
FD:{AB→ CD, AF → D, DE → F, C → G, F → E, G → A}
How many functional dependencies are there in the canonical/minimal cover of the given FD set ?
Note: Give answer considering that all dependencies have a single attribute on right side of arrow
Solution
Inscript
Consider a string of pending block references in the order given: 4, 2, 3, 4, 5, 2, 7, 3, 5, 2, 5, 3, 4, 2. The system has a buffer with 3 slots. Assume that initially the buffer is empty.
Let,
- x: Number of hits when LRU algorithm is used for block replacement
- y: Number of hits when MRU algorithm is used for block replacement
What will be the value of the following expression?

Consider a string of pending block references in the order given: 4, 2, 3, 4, 5, 2, 7, 3, 5, 2, 5, 3, 4, 2. The system has a buffer with 3 slots. Assume that initially the buffer is empty.
Let,
- x: Number of hits when LRU algorithm is used for block replacement
- y: Number of hits when MRU algorithm is used for block replacement
What will be the value of the following expression?
Solution
Inscript
Consider the relationR(A, B, C, D, E) with dependency set
FD: {A→ B, C → D, D → AE, EB → C}
How many candidate keys are there for relationR?
Consider the relationR(A, B, C, D, E) with dependency set
FD: {A→ B, C → D, D → AE, EB → C}
How many candidate keys are there for relationR?
Solution
Shape
Thickness [ / ]
3
All colors