GATE CS Databases questions
Practise Databases questions for GATE CS. Explore official PYQs and original subject-wise quizzes, check answers and view available solutions. Free, no sign-in.
Separate schema constraints from assumptions in the question. For SQL, trace joins and grouping; for normalisation, work from the stated functional dependencies.
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.
19 on this page
B-trees are preferred to binary trees in databases because
Which of the following is/are correct?
Consider the schema and the dependencies and . Let be a decomposition such that . The decomposition is
For the schedule given below, which of the following is correct: …
Which of the following is correct?
Let be a relation scheme with the following dependencies . Which one of the following is a key for ?
The relational algebra expression equivalent to the following tuple calculus expression: is
Consider the join of a relation with a relation . If has tuples and has tuples then the maximum and minimum sizes of the join respectively are
Which of the following query transformations (i.e., replacing the l.h.s. expression by the r.h.s expression) is incorrect? R1 and R2 are relations, C1 and C2 are selection conditions and A1 and A2 are attributes of R1.
There are five records in a database. …
Given two union compatible relations and , what is the result of the operation ?
Which normal form is considered adequate for normal relational database design?
Let and be two relations in which is the foreign key of that refers to the primary key of . Consider the following four operations and Insert into Insert into Delete from Delete from Which of the following can cause violation of the referential integrity constraint above?
For a database relation , where the domains include only atomic values, only the following functional dependencies and those that can be inferred from them hold This relation is
State True or False with reason Logical data independence is easier to achieve than physical data independence.
State True or False with reason There is always a decomposition into Boyce-Codd normal form (BCNF) that is lossless and dependency preserving.
An (indexed sequential) file consists of records of size bytes each, including key field of size bytes. An address of a disk block takes bytes. If the disk block size is bytes and there are records, compute the size of the data and index areas in terms of number blocks. How many levels of do …
Indicate which of the following statements are true: A relational database which is in NF may still have undesirable data redundancy because there may exist:
State whether the following statements are TRUE or FALSE: A relation with schema satisfies the function dependency , The tuples and can both be in simultaneously.
