Skip to content
Early access — you're among the first to try PYQLabs. Share feedback

Query Processing

GATE CSE & IT · 7 questions across 5 years (1998-2021) · 13% recurrence rate

Recurrence sparkline

19982021
199820102021

Difficulty mix

easy 29%
med 57%
hard 14%

Question types

MCQ6
NAT1

All 7 questions on Query Processing

2021 PYQ

A relation r(A, B) in a relational database has 1200 tuples. The attribute A has integer values ranging from 6 to 20, and the attribute B has integer values ranging from 1 to 20. Assume that the attributes A and B are in...

Med
2014 PYQ

What is the optimized version of the relation algebra expression $$\pi_{A1}(\pi_{A2}(\sigma_{F1}(\sigma_{F2}(r))))$$, where $$A1, A2$$ are sets of attributes in r with $$A1 \subset A2$$ and $$F1,F2$$ are Boolean expressi...

Easy
2014 PYQ

Consider a join (relation algebra) between relations r(R) and s(S) using the nested loop method. There are 3 buffers each of size equal to disk block size, out of which one buffer is reserved for intermediate results. As...

Med
2007 PYQ

Consider the following relation schemas : b-Schema = (b-name, b-city, assets) a-Schema = (a-num, b-name, bal) d-Schema = (c-name, a-number) Let branch, account and depositor be respectively instances of the above schemas...

Med
2007 PYQ

Consider a selection of the form σ A ≤ 100(r), where r is a relation with 1000 tuples. Assume that the attribute values for A among the tuples are uniformly distributed in the interval [ 0, 500 ]. Which one of the follow...

Easy
2006 PYQ

Consider a database with three relation instances shown below. The primary keys for the Drivers and Cars relation are Did and cid respectively and the records are stored in ascending order of these primary keys as given...

Hard
1998 PYQ

Which of the following query transformations (i.e. replacing the l.h.s. expression by the r.h.s. expression) is incorrect? R 1 and R 2 are relations, C 1 , C 2 are selection conditions and A 1 , A 2 are attributes of R 1...

Med