GATE DA 2026 | Question 59

Database Management and Warehousing › Relational Calculus · NAT · 2 marks · Answer: 2 to 3

  1. Question 59Database Management and Warehousingnat2 marks
    Let there be two relations and as shown. has three columns , and . has two columns and .
    X                Y
    P   Q   R        P   S
    P1  Q1  R1       P1  10
    P2  Q2  R2       P1  15
    P3  Q3  R2       P2  20
                     P3  1
    Consider that the following tuple relational calculus expression is evaluated.
    The number of tuples that will be returned is __________ . (Answer in integer)

    Answer: 2 to 3

    Solution

    - is always true (take ). - So a tuple of is returned when has some row with the same and . Checking: - : has . Yes. - : has . Yes. - : has only , and is false. No. Two tuples of are returned. A relation is a set, so having two matching rows for does not duplicate the output. Answer: 2. (The official key accepts 2 to 3.)

Attempt GATE DA 2026 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →