0% found this document useful (0 votes)
15 views4 pages

Technical MCQs

Uploaded by

abbasibismillah3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Technical MCQs

Uploaded by

abbasibismillah3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Technical MCQs (20)

1. What is the primary purpose of the TCP three-way handshake?


a. Error detection
b. Congestion control
c. Connection establishment
d. Sequence number synchronization
Answer: c

2. Which of the following describes the TCP slow start mechanism?


a. Doubling the window size every RTT until loss occurs
b. Decreasing window size to half after congestion
c. Sending packets without congestion control
d. Sending one packet at a time
Answer: a

3. What is the default behavior of UDP when packets are dropped?


a. Retransmission
b. Discarding packets
c. Sending NAK
d. Increasing the transmission rate
Answer: b

Technical MCQs (20)

1. Which mechanism ensures retransmission in TCP?


a. Windowing
b. Sequence numbers
c. Timers
d. All of the above
Answer: d

2. In congestion control, AIMD refers to:


a. Additive increase and multiplicative decrease
b. Additive decrease and multiplicative increase
c. Automatic increase and manual decrease
d. Automated iteration over message delays
Answer: a

3. Which feature is specific to Go-Back-N ARQ?


a. Individual packet acknowledgments
b. Window-based retransmission
c. Retransmission of all unacknowledged packets
d. Both b and c
Answer: d

4. What does RTT measure in TCP?


a. The delay of a one-way packet
b. The round-trip time of a packet and its acknowledgment
c. The time to retransmit a packet
d. The duration of the TCP handshake
Answer: b

Technical MCQs (continued)

5. What happens in TCP when three duplicate ACKs are received?


a. The sender retransmits all unacknowledged data.
b. The congestion window is increased exponentially.
c. The sender retransmits the missing segment.
d. The connection is terminated.
Answer: c

6. Which of the following protocols uses cumulative ACKs?


a. TCP
b. UDP
c. ICMP
d. ARP
Answer: a

7. What is the primary purpose of the sliding window in TCP?


a. Error correction
b. Managing flow control
c. Ensuring connection establishment
d. Addressing duplicate packets
Answer: b

8. Which field is not present in the UDP header?


a. Source port
b. Sequence number
c. Destination port
d. Checksum
Answer: b

9. Which scenario best describes the Go-Back-N ARQ?


a. The sender retransmits only the lost packet.
b. The sender retransmits all packets starting from the lost one.
c. The receiver buffers out-of-order packets.
d. ACKs are optional.
Answer: b

10. What differentiates TCP congestion control from flow control?


a. Congestion control is end-to-end, while flow control is point-to-point.
b. Congestion control is managed by the sender, flow control by the receiver.
c. Congestion control focuses on network capacity, flow control on receiver capacity.
d. All of the above.
Answer: d

11. In TCP, what is the significance of the SYN flag?


a. It signals a connection termination.
b. It initiates a connection request.
c. It marks a retransmitted packet.
d. It acknowledges data receipt.
Answer: b

12. What does the TCP congestion avoidance algorithm do when packet loss occurs?
a. Increases the congestion window exponentially.
b. Halves the congestion window size.
c. Resets the congestion window to zero.
d. Continues sending at the same rate.
Answer: b

13. In UDP, the destination port is used to:


a. Identify the receiver application.
b. Specify the sender's address.
c. Detect transmission errors.
d. Ensure in-order delivery.
Answer: a

14. Which protocol feature enables TCP to retransmit only the missing packet during loss?
a. Sequence numbers
b. Cumulative ACKs
c. Fast retransmit
d. Selective ACKs
Answer: d

Technical MCQs (continued)

15. What is the main disadvantage of Go-Back-N ARQ compared to Selective Repeat ARQ?
a. Increased memory usage
b. Retransmission of unnecessary packets
c. Requirement for individual ACKs
d. Lack of error detection mechanisms
Answer: b

16. How does TCP handle out-of-order packets?


a. Discards them
b. Buffers them for eventual in-order delivery
c. Retransmits the packet immediately
d. Sends a NAK for the missing packet
Answer: b
17. What does AIMD stand for in TCP congestion control?
a. Additive Increase Multiplicative Decrease
b. Additive Increase Multiplicative Drop
c. Asynchronous Input Multiplexing Device
d. Advanced Input Memory Device
Answer: a

18. Which field in the TCP header determines the next byte expected by the receiver?
a. Sequence number
b. Acknowledgment number
c. Checksum
d. Window size
Answer: b

19. In the event of a timeout, TCP:


a. Doubles the congestion window
b. Resets the congestion window to one MSS
c. Maintains the current congestion window size
d. Drops the connection
Answer: b

20. What is the role of the retransmission timer in TCP?


a. To determine how long the receiver waits for a packet
b. To decide the delay before retransmitting a lost packet
c. To control the flow of data
d. To indicate the size of the congestion window
Answer: b

You might also like