GATE CS 2021 : National champion Quiz-3 (App update required to attempt this test)
Attempt now to get your rank among 278 students!
Question 1
Student (snum: integer, sname: string, major: string, level: string, age: integer)
Class (name: string, meets at: string, room: string, fid: integer)
Enrolled (snum: integer, cname: string)
Faculty (fid: integer, fname: string, deptid: integer)
Consider the following SQL statements:
SELECT DISTINCT S.sname
FROM Student S
WHERE S.snum IN
(SELECT E.snum
FROM Enrolled E
GROUP BY E.snum
HAVING COUNT (*) >= ALL (SELECT COUNT (*)
FROM Enrolled E2
GROUP BY E2.snum))
What is the output of the following Query?
Question 2
Suppliers (sid:integer, sname:string, city:string, street:string)
Parts (pid:integer, pname:string, color:string)
Catalog (sid:integer, pid:integer, cost:real)
Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?
Question 3
Question 4
What is the output return by the above query?
Question 5
E1 has two single-valued attributes a11 and a12 of which a11 is the key attribute. E2 has two single- valued attributes a21 and a22 of which a21 is the key attribute. E3 has two single-valued attributes a31 and a32 of which a31 is the key attribute. The relationships do not have any attributes.
If a relational model is derived from the above ER model, then the minimum number of relations that would be generated if all the relations are in 3NF is_________.
Question 6
A) Number of prime key always same to primary key
B) It is forced that only a super key can identify an attribute uniquely in 3.5NF
C) R(ABCD), ABC->D, D-> B, partial dependency presents in this relation R
D) Super key establishes connection between two tables.
Which statement/statements are false -
Question 7
f1 = ∑m(1, 2, 4, 8, 10, 14) f2 = ∑m(2, 5, 9, 11) f3 = ∑m(2, 4, 5, 6, 7)
The minimum configuration of decoder will be __________
Question 8
Question 9
What will be a minimal expression for function F, considering I1 and I0 is connected to C.
Question 10
Question 11
Question 12
How many states the sequential circuit has?
- 278 attempts
- 1 upvote
- 5 comments
Tags :
GATE & PSU CSGeneral