1
GATE CSE 1998
Subjective
+2
-0
Suppose we have a database consisting of the following three relations.
FREQUENTS (student, parlor) giving the parlors each student visits.
SERVES (parlor, ice-cream) indicating what kind of ice-creams each parlor serves.
LIKES (student, ice-cream) indicating what ice-creams each student likes.
(Assume that each student likes at least one ice-cream and frequents at least one parlor)Express the following in SQL:
Print the students that frequent at least one parlor that serves some ice-cream that they like.
2
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
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, C2 are selection conditions and A1, A2 are attributes of R1?
3
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
There are five records in a database.
Name | Age | Occupation | Category |
---|---|---|---|
Rama | 27 | CON | A |
Abdul | 22 | ENG | A |
Jennifer |
28 | DOC | B |
Maya | 32 | SER | D |
Dev | 24 | MUS | C |
There is an index file associated with this and it contains the values 1, 3, 2, 5 and 4. Which one of the fields is the index built from?
4
GATE CSE 1998
MCQ (Single Correct Answer)
+2
-0.6
Consider the following determinant
$$$\Delta = \left| {\matrix{
1 & a & {bc} \cr
1 & a & {ca} \cr
1 & a & {ab} \cr
} } \right|$$$
Which of the following is a factor of $$\Delta $$ ?
Paper analysis
Total Questions
Algorithms
2
Compiler Design
2
Computer Organization
2
Data Structures
5
Database Management System
6
Discrete Mathematics
16
Operating Systems
13
Programming Languages
3
Theory of Computation
8
More papers of GATE CSE
GATE CSE 2024 Set 2
GATE CSE 2024 Set 1
GATE CSE 2023
GATE CSE 2022
GATE CSE 2021 Set 2
GATE CSE 2021 Set 1
GATE CSE 2020
GATE CSE 2019
GATE CSE 2018
GATE CSE 2017 Set 2
GATE CSE 2017 Set 1
GATE CSE 2016 Set 2
GATE CSE 2016 Set 1
GATE CSE 2015 Set 1
GATE CSE 2015 Set 3
GATE CSE 2015 Set 2
GATE CSE 2014 Set 2
GATE CSE 2014 Set 3
GATE CSE 2014 Set 1
GATE CSE 2013
GATE CSE 2012
GATE CSE 2011
GATE CSE 2010
GATE CSE 2009
GATE CSE 2008
GATE CSE 2007
GATE CSE 2006
GATE CSE 2005
GATE CSE 2004
GATE CSE 2003
GATE CSE 2002
GATE CSE 2001
GATE CSE 2000
GATE CSE 1999
GATE CSE 1998
GATE CSE 1997
GATE CSE 1996
GATE CSE 1995
GATE CSE 1994
GATE CSE 1993
GATE CSE 1992
GATE CSE 1991
GATE CSE 1990
GATE CSE 1989
GATE CSE 1988
GATE CSE 1987
GATE CSE
Papers
2023
2022
2020
2019
2018
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
1997
1996
1995
1994
1993
1992
1991
1990
1989
1988
1987