Complete GATE CSE 2018 Paper 1 overview, original pages and practice · Timed previous-paper practice

Questions 22–24 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 8 of 22

Question 12

Open question
CSMCQ1 markNeeds review
Consider the following two tables and four queries in SQL.
Book (isbn, name), 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?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 13

Open question
CSMCQ1 markNeeds review
Match the following:
Field
Length in bits
P. UDP Header’s Port Number
I. 48
Q. Ethernet MAC Address
II. 8
R. IPv6 Next Header
III. 32
S. TCP Header’s Sequence Number
IV. 16
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 14

Open question
CSMCQ1 markNeeds review
Consider the following statements regarding the slow start phase of the TCP congestion control algorithm. Note that cwnd stands for the TCP congestion window and MSS denotes the Maximum Segment Size.
(i) The cwnd increases by 2 MSS on every successful acknowledgement. (ii) The cwnd approximately doubles on every successful acknowledgement. (iii) The cwnd increases by 1 MSS every round trip time. (iv) The cwnd approximately doubles every round trip time.
Which one of the following is correct?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer