GATE 2014 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2014 (Session 1)

65 questions

MCQ 40 · NAT 251-mark 30 · 2-mark 35

Questions 31–35 of 65

Q31Relational Schema1 markMCQ−0.33 if wrong
Consider the relation scheme R = (E, F, G, H, I, J, K, L, M, N) and the set of functional dependencies
{{E,F}→\rightarrow{G}, {F}→\rightarrow{I,J}, {E,H}→\rightarrow{K,L}, {K}→\rightarrow{M}, {L}→\rightarrow{N} } on R. What is the key for R?

Q32SQL1 markMCQ−0.33 if wrong
Given the following statements:
S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL
S2: Given the table R(a,b,c) where a and b together form the primary key, the following is a valid table definition.
CREATE TABLE S (
a INTEGER,
d INTEGER,
e INTEGER,
PRIMARY KEY (d),
FOREIGN KEY (a) references R)
Which one of the following statements is CORRECT?

Q33Network Layer Protocol1 markMCQ−0.33 if wrong
Consider the following three statements about link state and distance vector routing protocols, for a large network with 500 network nodes and 4000 links
[S1] The computational overhead in link state protocols is higher than in distance vector protocols.
[S2] A distance vector protocol (with split horizon) avoids persistent routing loops, but not a link state protocol.
[S3] After a topology change, a link state protocol will converge faster than a distance vector protocol.
Which one of the following is correct about S1, S2, and S3?

Q34Network Security1 markMCQ−0.33 if wrong
Which one of the following are used to generate a message digest by the network security protocols?
(P) RSA
(Q) SHA-1
(R) DES
(S) MD5

Q35Application Layer Protocols1 markMCQ−0.33 if wrong
Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.
1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.