Quiz Space

September 2025 term · Computer Networks · BSCS4024

Computer Networks Quiz 2: 23 November 2025 (September 2025 term)

The IIT Madras BS Computer Networks (Computer Networks) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term: 14 questions for 50 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
14
Marks
50
Duration
120 min
MCQ
2
Numerical
11
Written
1

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 23 Nov 2025 NEW · No negative marking.

Question 1

+3 marksOne correct option

During the fast recovery, a TCP connection has:

CWND=8 MSSCWND = 8 \text{ MSS}

Inflight=4 MSS\text{Inflight} = 4 \text{ MSS}

Each duplicate ACK increases CWND by 1 MSS.

If 4 duplicate ACKs are received before a new ACK arrives, what will be the value of CWND just before the new ACK, and what will it be value after the new ACK arrives (when CWND and inflight realign)?

  1. A

    CWND before new ACK = 8 MSS, after new ACK = 8 MSS

  2. B

    CWND before new ACK = 12 MSS, after new ACK = 8 MSS

  3. C

    CWND before new ACK = 12 MSS, after new ACK = 4 MSS

  4. D

    CWND before new ACK = 4 MSS, after new ACK = 12 MSS

Show answer

Correct answer

  • C

    CWND before new ACK = 12 MSS, after new ACK = 4 MSS

Question 2

+3 marksOne correct option

A packet with destination IP 128.20.15.7 arrives at a router. The router's forwarding table has the following entries:

Destination PrefixOutput Port
128.0.0.0/81
128.20.0.0/162
128.20.15.0/243
0.0.0.0/04

Which output port will the router select?

  1. A

    Port 1

  2. B

    Port 2

  3. C

    Port 3

  4. D

    Port 4

Show answer

Correct answer

  • C

    Port 3

Question 3

+3 marksNumerical answer

A TCP receiver has a buffer size of 30 KB. The sender transmits data at 10 KB/s, while the receiver’s application reads data from the buffer at 6 KB/s. Assuming the buffer is initially empty, after how many seconds will the receiver buffer become full ?
Note: Give your answer to two decimal places.

Show answer

Correct answer: 7.5 (accepted within ±0.1)

Question 4

+3 marksNumerical answer

A TCP connection has an advertised window size of 32 KB and a Round Trip Time (RTT) of 80 ms. Ignoring congestion effects, compute the maximum achievable through-put based solely on flow control.
Note: Write the answer in KB/s.

Show answer

Correct answer: 375 (accepted within ±35)

Question 5

+3 marksNumerical answer

An organization has been assigned an address block of 10.25.4.0/26. How many usable host addresses can be assigned to devices in this network?

Show answer

Correct answer: 62

Question 6

+3 marksNumerical answer

An organization has 1,800 devices connected in a private network. Each NAT router can handle up to 80,000 simultaneous connections and can serve 300 devices comfortably. If the organization uses NAT (one public IP address per NAT router), how many public IP addresses are required?

Show answer

Correct answer: 6

Question 7

+3 marksNumerical answer

An administrator is given the private IP block 192.168.0.0/16. They need to create subnets that can each support at least 500 hosts. What is the smallest subnet mask prefix they can use, in CIDR notation?

Show answer

Correct answer: 23

Question 8

+4 marksNumerical answer

At the start of an RTT, the congestion window (CWND) is 15 MSS where the Maximum Segment Size (MSS) is 1200 bytes. TCP is operating in the congestion avoidance phase, and there is one ACK per segment. What will be the new value of CWND (in bytes) after receiving 15 ACKs (i.e., one RTT worth of ACKs)?

Show answer

Correct answer: 19200

Question 9

+4 marksNumerical answer

A TCP connection has a round-trip time (RTT) of 80 ms and a maximum segment size (MSS) of 1200 bytes. If the steady-state congestion window is 50 MSS, what is the maximum achievable throughput (in Mbps)? Note: Give your answer to two decimal places.

Show answer

Correct answer: 6 (accepted within ±0.1)

Question 10

+4 marksNumerical answer
Show answer

Correct answer: 0.96 (accepted within ±0.02)

Question 11

+4 marksNumerical answer
Show answer

Correct answer: 38

Question 12

+4 marksWritten answer

Given IP address A = 172.25.50.22 and B = 172.25.63.10 with netmask 255.255.240.0, compute the network address of A (iexpressed in dotted-decimal form).

Show answer

Correct answer: 172.25.48.0

Question 13

+4 marksNumerical answer

Given the following weighted graph of routers:

LinkCost
U–V3
U–W6
U–X2
X–Y2
X–W4
Y–W3
Y–Z1

Using Dijkstra's Algorithm, compute the total cost of the shortest path from UU to ZZ.

Show answer

Correct answer: 5

Question 14

+5 marksNumerical answer
Show answer

Correct answer: 46