uiz Space

January 2026 term · Database Management Systems · BSCS2001

Database Management Systems Quiz 2: 12 April 2026, Set 1 (January 2026 term)

The IIT Madras BS Database Management Systems (DBMS) Quiz 2 paper sat on 12 Apr 2026, in the January 2026 term, set 1: 16 questions for 18 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
16
Marks
18
Duration
120 min
MSQ
3
Written
6
MCQ
7

Updated

Official paper: Business Data Management 06 Apr 26 · No negative marking.

Question 1

+3 marksOne or more correct options

Consider the following Entity Relationship Diagram:

Choose the correct statement(s):

Consider the following Entity Relationship Diagram:

Select all that apply.

  1. A

    A project may exist on which no employee is currently working.

  2. B

    There may exist a department which currently has no ongoing projects

  3. C

    An employee might be working in more than one departments

  4. D

    Every dependent depends on exactly one employee

Show answer

Correct answers

  • A

    A project may exist on which no employee is currently working.

  • B

    There may exist a department which currently has no ongoing projects

  • D

    Every dependent depends on exactly one employee

Question 2

+3 marksOne or more correct options

Suppose we are trying to find a number 52 in a binary search tree. Which of the following probe sequences are possible while performing the search? Note: Each option shows a probe sequence for searching 52 in different binary search trees

Select all that apply.

  1. A

    85, 62, -18, 55, -8, 51, 52

  2. B

    78, -22, 68, -10, 58, 55, 52

  3. C

    -25, 82, 45,-10, 70, 55, 52

  4. D

    28, 75,-15, 62,-8, 68, 52

Show answer

Correct answers

  • A

    85, 62, -18, 55, -8, 51, 52

  • B

    78, -22, 68, -10, 58, 55, 52

Question 3

+3 marksWritten answer

Consider the relation M(P,Q,R,S,T ) with the following functional dependencies: S → PQ PQR → ST The number of super keys of M is:

Show answer

A written answer, not marked automatically.

Question 4

+3 marksWritten answer

Consider the following schema:

Consider the following schema:
Show answer

A written answer, not marked automatically.

Question 5

+4 marksOne correct option

Consider the relational schema R(A, B, C, D, E, F, G, H), with the following functional dependencies: D → EF GB → C G → ABH CDE → F Select the functional dependency that can be removed from the given set without altering any candidate key of this relation.

  1. A

    G → ABH

  2. B

    CDE → F

  3. C

    D → EF

  4. D

    GB → C

Show answer

Correct answer

  • B

    CDE → F

Question 6

+4 marksOne correct option

Consider a relation G(P,Q,R,S,T), with the following functional dependencies: T → P QR → T P → Q What is the highest normal form of G? Note: All intermediate steps/decomposition in the process of normalization must be loss-less.

  1. A

    1NF

  2. B

    2NF

  3. C

    3NF

  4. D

    BCNF

Show answer

Correct answer

  • C

    3NF

Question 7

+4 marksOne correct option

Consider a relation R(A,B,C,D,E,F,G,H) with the following functional dependencies: A→BC B →CFH E →A F →EG CH →G Normalize R, such that all the resulting relations are at their highest possible normal forms, now answer the question given below. Note: All intermediate steps/decomposition in the process of normalization must be loss-less. Select the correct option among the following:

  1. A

    The minimum number of relations in which R can be decomposed, so that all of the resulting relations are in BCNF is 4.

  2. B

    There is no possible way to decompose R into smaller relations such that all of them are in BCNF.

  3. C

    The dependency F → G is lost in the normalization process.

  4. D

    No dependency is lost in the normalization process.

Show answer

Correct answer

  • D

    No dependency is lost in the normalization process.

Question 8

+4 marksOne correct option

Consider a hard-disk with the following specifications: Average Seek Time = 12ms Average Rotational delay = 3.5 ms One disk block unit is 4 KB Data Rate = 256 KB/sec What will be the total disk access time for a single block unit?

  1. A

    27.625 ms

  2. B

    19.225 ms

  3. C

    15.5 ms

  4. D

    31.125 ms

Show answer

Correct answer

  • D

    31.125 ms

Question 9

+4 marksOne correct option

Consider a relation shoe(model, price) which contains the models and prices of different shoes. If it is given that price of every shoe is different then what does the following SQL query list?

Consider a relation shoe(model, price) which contains the models and prices of different shoes. If it is given that pric
  1. A

    model of the fourth most costly shoe.

  2. B

    models of four most costly shoes.

  3. C

    model of the fourth least costly shoe.

  4. D

    models of four least costly shoes.

Show answer

Correct answer

  • B

    models of four most costly shoes.

Question 10

+2 marksOne or more correct options

Which among the following methods of psycopg2 is/are used to execute SQL statements?

Select all that apply.

  1. A

    cursor.execute()

  2. B

    cursor.executemany()

  3. C

    cursor.fetchall()

  4. D

    cursor.fetchmany()

Show answer

Correct answers

  • A

    cursor.execute()

  • B

    cursor.executemany()

Question 11

+2 marksOne correct option

Consider a relation R(A,B,C,D) which has no non-trivial functional dependencies. Select all the option(s) which can serve as candidate key(s) of the relation R.

  1. A

    {ABC, BCD, CDA, DAB}

  2. B

    {A, B, C, D}

  3. C

    {ABCD}

  4. D

    None of these

Show answer

Correct answer

  • C

    {ABCD}

Question 12

+4 marksOne correct option

Consider a relation R(A,B,C,D,E) with the following functional dependency set: FD = {D → B, E → A, CD → E } If this relation is decomposed into R1(B,C,D,E) and R2(E,A), then which of the following statement(s) is/are true? Note: All intermediate steps/decomposition in the process of normalization must be loss less.

  1. A

    The decomposition is lossy but dependency preserving.

  2. B

    The decomposition is lossless and dependency preserving.

  3. C

    R1 is in 2NF and R2 is in 3NF.

  4. D

    Both R1 and R2 are in 2NF.

Show answer

Correct answer

  • B

    The decomposition is lossless and dependency preserving.

Question 13

+3 marksWritten answer

Given a relation T(P,Q,R) with the following set of functional dependencies: P → QR Q → PR R → PQ Answer the given sub-questions:

How many functional dependencies are there in the canonical/minimal cover of the given relation?

Show answer

A written answer, not marked automatically.

Question 14

+3 marksWritten answer

Given a relation T(P,Q,R) with the following set of functional dependencies: P → QR Q → PR R → PQ Answer the given sub-questions:

How many canonical/minimal cover(s) is/are possible for the given relation?

Show answer

A written answer, not marked automatically.

Question 15

+4 marksWritten answer

Suppose LRU block replacement policy is used for managing the buffer in main memory. If the buffer has 3 block frames, then for the given block request sequence what is the total number of page faults? 1, 3, 2, 4, 2, 3, 1, 2, 4, 3, 1, 4 Note: Assume that the buffer was initially empty

Show answer

A written answer, not marked automatically.

Question 16

+1 markWritten answer

Given a relation T(P,Q,R) with the following set of functional dependencies: P → QR Q → PR R → PQ Answer the given sub-questions:

Show answer

A written answer, not marked automatically.