Skip to main content

Computer Networks MCQs with Answers

Practice important Computer Networks MCQs with answers and explanations.

Multiple Choice Questions

Q1021: The last address printed by trace-route can be detected by sending:
  • A: An ICMP echo request to destination
  • B: A TCP SYN packet to destination
  • C: A datagram to non-existent application
  • D: An ARP request to destination
View Answer
A

Q1022: An ICMP destination unreachable message is generated when a datagram is sent to a ________.
  • A: Non-existent IP address
  • B: Non-existent application
  • C: Non-existent network
  • D: Non-existent router
View Answer
B

Q1023: To avoid fragmentation, the source determines the ________, which is the smallest MTU on the path.
  • A: Path MTU
  • B: Network MTU
  • C: Fragment MTU
  • D: Packet MTU
View Answer
A

Q1024: The source probes the path MTU by sending datagrams with the ________ flag set.
  • A: Fragmentation allowed
  • B: Don't fragment
  • C: TTL expired
  • D: Echo request
View Answer
B

Q1025: Routers respond with which ICMP message if fragmentation is required but not allowed?
  • A: Source quench
  • B: Fragmentation required
  • C: Time exceeded
  • D: Destination unreachable
View Answer
B

Q1026: The ICMP fragmentation required message prompts the source to:
  • A: Send larger datagrams
  • B: Send smaller probes
  • C: Resend the same datagram
  • D: Drop the connection
View Answer
B

Q1027: ICMP echo request messages are sent by which tool?
  • A: Ping
  • B: Traceroute
  • C: Dig
  • D: Ftp
View Answer
A

Q1028: ICMP echo reply messages are sent by:
  • A: Source host
  • B: Intermediate router
  • C: Destination host
  • D: Any router
View Answer
C

Q1029: The "don't fragment" flag in IP datagrams is used to:
  • A: Allow fragmentation
  • B: Prevent fragmentation
  • C: Ignore fragmentation
  • D: Force fragmentation
View Answer
B

Q1030: When a router discards a packet due to TTL expiry, it sends:
  • A: ICMP echo request
  • B: ICMP time exceeded
  • C: ICMP source quench
  • D: ICMP redirect
View Answer
B

Test Your Knowledge

Take a timed quiz on Computer Networks

🚀 Start Quiz Now