GATE 2012 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2012

82 questions

MCQ 821-mark 39 · 2-mark 43

Questions 56–60 of 82

Q56Transaction2 marksMCQ−0.67 if wrong
Consider the following transactions with data items P and Q initialized to zero:

T1 :read (P);
       read (Q);
       if P = 0 then Q := Q + 1 ; 
       write (Q).
T2 : read (Q);
        read (P);
        if Q = 0 then P := P + 1 ;
        write (P). 
Any non-serial interleaving of T1 and T2 for concurrent execution leads to

Q57Physical Layer2 marksMCQ−0.67 if wrong
Consider a source computer (S) transmitting a file of size 10610^{6} bits to a destination computer (D) over a network of two routers (R1 and R2) and three links (L1, L2, and L3). L1 connects S to R1; L2 connects R1 to R2; and L3 connects R2 to D. Let each link be of length 100 km. Assume signals travel over each link at a speed of 10810^{8} meters per second. Assume that the link bandwidth on each link is 1Mbps. Let the file be broken down into 1000 packets each of size 1000 bits. Find the total sum of transmission and propagation delays in transmitting the file from S to D?

Q58Network Layer Protocol2 marksMCQ−0.67 if wrong
An Internet Service Provider (ISP) has the following chunk of CIDR-based IP addresses available with it: 245.248.128.0/20. The ISP wants to give half of this chunk of addresses to Organization A, and a quarter to Organization B, while retaining the remaining with itself. Which of the following is a valid allocation of addresses to A and B?

Q59Network Layer Protocol1 markMCQ−0.33 if wrong
In the IPv4 addressing format, the number of networks allowed under Class C addresses is

Q60Transport Layer Protocol2 marksMCQ−0.67 if wrong
Consider an instance of TCP's Additive Increase Multiplicative Decrease (AIMD) algorithm where the window size at the start of the slow start phase is 2 MSS and the threshold at the start of the first transmission is 8 MSS. Assume that a timeout occurs during the fifth transmission. Find the congestion window size at the end of the tenth transmission.