Answer : Option AExplaination / Solution:
In this the fun1() is calling fun2() after printing value and after returning from fun2(),it prints
the same value. In the fun2() also the same thing happens So by looking options we can judge
the correct sequence of output.
Q5.Identify the correct order in which a server process must invoke the function calls accept,
bind, listen, and recv according to UNIX socket APL
Answer : Option BExplaination / Solution:
The correct order in which a server process must invoke the function calls is bind, listen,
accept and recv. First three are used in connection establishment phase and recv is used in
data transfer phase.
Q6.Consider a carry look ahead adder for adding two n-bit integers, built using gates of fan-in at
most two. The time to perform addition using this adder is
Answer : Option BExplaination / Solution: No Explaination.
Q7.Consider that B wants to send a message m that is digitally signed to A. Let the pair of private
and public keys for A and B be denoted by for x = A, B, respectively. Let Kx(m)
represent the operation of encrypting m with a key Kx and H (m) represent the message
digest. Which one of the following indicates the CORRECT way of sending the message m
along with the digital signature to A?
Q8.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.
Answer : Option CExplaination / Solution:
Given, initial threshold = 8
Time = 1, during 1st transmission,Congestion window size = 2 (slow start phase)
Time = 2, congestion window size = 4 (double the no. of acknowledgments)
Time = 3, congestion window size = 8 (Threshold meet)
Time = 4, congestion window size = 9, after threshold (increase by one Additive increase)
Time = 5, transmits 10 MSS, but time out occurs congestion window size = 10