1
GATE CSE 2018
MCQ (Single Correct Answer)
+1
-0.3
Consider the following two tables and four queries in SQL.
Book (isbn, bname), Stock (isbn, copies)
Query 1:
SELECT B.isbn, S.copies
 FROM Book B INNER JOIN Stock S
 ON B.isbn = S.isbn;

Query 2:
SELECT B.isbn, S.copies
 FROM Book B LEFT OUTER JOIN Stock S
 ON B.isbn = S.isbn;
Query 3:
SELECT B.isbn, S.copies
 FROM Book B RIGHT OUTER JOIN Stock S
 ON B.isbn = S.isbn;
Query 4:
SELECT B.isbn, S.copies
 FROM Book B FULL OUTER JOIN Stock S
 ON B.isbn = S.isbn;
Which one of the queries above is certain to have an output that is a superset of the outputs of the other three queries?
A
Query 1
B
Query 2
C
Query 3
D
Query 4
2
GATE CSE 2018
MCQ (Single Correct Answer)
+2
-0.6
In an Entity-Relationship $$(ER)$$ model, suppose $$R$$ is a many-to-one relationship from entity set $$E1$$ to entity set $$E2.$$ Assume that $$E1$$ and $$E2$$ participate totally in $$R$$ and that the cardinality of $$E1$$ is greater than the cardinality of $$E2$$

Which one of the following is true about $$R$$?

A
Every entity in $$E1$$ is associated with exactly one entity in $$E2.$$
B
Some entity in $$E1$$ is associated with more than one entity in $$E2.$$
C
Every entity in $$E2$$ is associated with exactly one entity in $$E1.$$
D
Every entity in $$E2$$ is associated with at most one entity in $$E1.$$
3
GATE CSE 2018
Numerical
+1
-0
Consider the sequential circuit shown in the figure, where both flip-flops used are positive edge-triggered $$D$$ flip-flops. GATE CSE 2018 Digital Logic - Sequential Circuits Question 8 English

The number of states in the state transition diagram of this circuit that have a transition back to the same state on some value of β€œin” is _____.

Your input ____
4
GATE CSE 2018
MCQ (Single Correct Answer)
+2
-0.6
Consider the unsigned $$8$$-bit fixed point binary number representation below $$${b_7}\,\,{b_6}\,\,{b_5}\,\,{b_4}\,\,{b_3}\,\,.\,\,{b_2}\,\,{b_1}\,\,{b_0}$$$
where the position of the binary point is between $${b_3}$$ and $${b_2}$$. Assume $${b_7}$$ is the most significant bit. Some of the decimal numbers listed below cannot be represented exactly in the above representation:
$$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ $$(i)$$ $$31.500$$ $$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ $$(ii)$$ $$0.875$$ $$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ $$(iii)$$ $$12.100$$ $$\,\,\,\,\,\,\,\,\,\,\,\,\,$$ (iv) $$3.001$$

Which one of the following statements is true?

A
None of $$(i), (ii), (iii), (iv)$$ can be exactly represented
B
Only $$(ii)$$ cannot be exactly represented
C
Only $$(iii)$$ and $$(iv)$$ cannot be exactly represented
D
Only $$(i)$$ and $$(ii)$$ cannot be exactly represented
EXAM MAP