All mock tests are FREE till 31 December — register to save your progress
Paper 2 CS · UNIT 09 · MOCK TEST

Mock 8 – Transport Layer: TCP & UDP (Part 2)

Unit 9: Data Communication and Computer Networks · 15 questions · about 18 minutes. Press End Mock any time to see your score and the correct answers.

All 13 topic-wise mocks in this unit
0 / 15 answered 00:00
Q1. Which one is a connectionless transport-layer protocol of the Internet protocol family?
Q2. Consider an error-free 64 kbps satellite channel used to send 512-byte data frames in one direction, with very short acknowledgements coming back. What is the maximum throughput for a window size of 15?
Q3. Match List I with List II (Berkeley socket primitives).
Choose the correct answer from the options given below:
List IList II
A. BINDI. Block the caller until a connection attempt arrives
B. LISTENII. Give a local address to a socket
C. ACCEPTIII. Show willingness to accept connections
D. SOCKETIV. Create a new end point
Q4.

Consider the three way hand shaking process followed during TCP connection establishment between two hosts A and B . Let S and R be two random 32 -bit starting sequence numbers chosen by A and B, respectively. Suppose A sends a TCP segment having SYN bit =1, SEQ number = S and ACK bit =0 and B accepts the connection request. Which one of the following choices represents the information present in the TCP segment header that is sent by B to A ?

Q5.

Services provided by point-to-point protocol (PPP):

A. frame format

B. establishment of the link

C. flow control

D. sequence numbering

E. authentication

Q6.

Which of the following is not a field in TCP header?

Q7.

The work done by UDP is/are :

(A) Congestion control

(B) Flow control

(C) Retransmission

(D) Segment transmission

Q8.

A TCP server application is programmed to listen on port P on host S . A TCP client is connected to the TCP server over the network, Consider that while TCP connection is active the server is crashed and rebooted. Assume that the client does not use TCP keepalive timer. Which of the following behaviour/s is/are possible?

Statement I: The TCP application server on S can listen on P after reboot.

Statement II: If client sends a packet after the server reboot, it will receive the RST segment. In the light of the above statements, choose the correct answer from the options given below.

Q9.

A Computer on a 10Mbps network is regulated Q by a token bucket. The token bucket is filled at a rate of 2 Mbps. It is initially filled to capacity with 16 megabits. What is the maximum duration for which the computer can transmit at the full 10 Mbps ?

Q10.

A TCP Server application is programmed to listen on port P on Host S. A TCP Client is connected to the TCP Server over the network. Considered that while TCP Connection is active the server is crashed and rebooted. Assume that the client does not use TCP keepalive timer. Which of the following behaviours is/are possible?

Statement I: If client is waiting to receive a packet, it may wait indefinitely

Statement II: If the client sends a packet after the server reboot, it will receive the FIN segment In the light of the above statements, choose the correct answer from the options given below

Q11.

Match List I with List II. List I: (A) BIND, (B) LISTEN, (C) ACCEPT, (D) SOCKET. List II: (I) Block the caller until a connection attempt arrives, (II) Give a local address to a socket, (III) Show willingness to accept connections, (IV) Create a new end point.

Q12.

Protocols in which the sender sends one frame and then waits for an acknowledgement before proceeding for next frame are called as ______

Q13.

Firewall is a device that filters access to the protected network from the outside network. Firewalls can filter the packets on the basis of

(A) Source IP Address

(B) Destination IP Address

(C) TCP Source Port

(D) UDP Source Port

(E) TCP Destination Port

Q14.

Match List I with List II. List I: (a) Physical layer, (b) Transport layer, (c) Session layer, (d) Presentation layer. List II: (i) Provides token management service, (ii) Concerned with transmitting raw bits over a communication channel, (iii) Concerned with the syntax and semantics of the information transmitted, (iv) True end-to-end layer from source to destination.

Q15.

Consider the following two statements :

S1 : TCP handles both congestion and flow control

S2 : UDP handles congestion but not flow control Which of the following options is correct with respect to the above statements (S1) and S2)?