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

GATE 2014 (Session 2)

65 questions

MCQ 42 · NAT 231-mark 30 · 2-mark 35

Questions 36–40 of 65

Q36Physical Layer2 marksMCQ−0.67 if wrong
Consider the store and forward packet switched network given below. Assume that the bandwidth of each link is 10610^{6} bytes / sec. A user on host A sends a file of size 10310^{3} bytes to host B through routers R1 and R2 in three different ways. In the first case a single packet containing the complete file is transmitted from A to B. In the second case, the file is split into 10 equal parts, and these packets are transmitted from A to B. In the third case, the file is split into 20 equal parts and these packets are sent from A to B. Each packet contains 100 bytes of header information along with the user data. Consider only transmission time and ignore processing, queuing and propagation delays. Also assume that there are no errors during transmission. Let T1, T2 and T3 be the times taken to transmit the file in the first, second and third case respectively. Which one of the following is CORRECT?
A B R1 R2

Q37OSI Layer2 marksMCQ−0.67 if wrong
An IP machine Q has a path to another IP machine H via three IP routers R1, R2, and R3.
Q---R1---R2---R3---H
H acts as an HTTP server, and Q connects to H via HTTP and downloads a file. Session layer encryption is used, with DES as the shared key encryption protocol. Consider the following four pieces of information:
[I1] The URL of the file downloaded by Q
[I2] The TCP port numbers at Q and H
[I3] The IP addresses of Q and H
[I4] The link layer addresses of Q and H
Which of I1, I2, I3, and I4 can an intruder learn through sniffing at R2 alone?

Q38Application Layer Protocols2 marksMCQ−0.67 if wrong
A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?

Q39Transaction2 marksMCQ−0.67 if wrong
Consider the following schedule S of transactions T1, T2, T3, T4:
T1 T2 T3 T4 Writes(X) Commit Reads(X) Writes(Y) Reads(Z) Commit Writes(X) Commit Reads(X) Reads(Y) Commit
Which one of the following statements is CORRECT?

Q40Relational Algebra2 marksMCQ−0.67 if wrong
Consider a join (relation algebra) between relations r(R)and s(S) using the nested loop method. There are 3 buffers each of size equal to disk block size, out of which one buffer is reserved for intermediate results. Assuming size(r(R))<\ltsize(s(S)), the join will have fewer number of disk block accesses if