Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Test  >  Computer Networks  >  ICMP (Internet Control Message Protocol) - Computer Science Engineering (CSE) MCQ

ICMP (Internet Control Message Protocol) - Free MCQ Test with solutions


MCQ Practice Test & Solutions: ICMP (Internet Control Message Protocol) (10 Questions)

You can prepare effectively for Computer Science Engineering (CSE) Computer Networks with this dedicated MCQ Practice Test (available with solutions) on the important topic of "ICMP (Internet Control Message Protocol)". These 10 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.

Test Highlights:

  • - Format: Multiple Choice Questions (MCQ)
  • - Duration: 30 minutes
  • - Number of Questions: 10

Sign up on EduRev for free to attempt this test and track your preparation progress.

ICMP (Internet Control Message Protocol) - Question 1

In a simple echo-request message, the value of the sum is 01010000 01011100. Then, value of checksum is ___________

Detailed Solution: Question 1

The sender side adds the bits of the fragmented packet to find a sum. Checksum is the compliment of the sum (exchange 0’s and 1’s). The receiver then has to verify the checksum by adding the bits of the received packet to ensure that the packet is error-free.

ICMP (Internet Control Message Protocol) - Question 2

During debugging, we can use the ____________ program to find if a host is alive and responding.

Detailed Solution: Question 2

Ping program is used to find if a host is alive and responding. It is to be entered into a command line with the syntax “ping (IP address)” to be executed. Traceroute is a program used to find the shortest route to the destination IP.

ICMP (Internet Control Message Protocol) - Question 3

In case of time exceeded error, when the datagram visits a router, the value of time to live field is _________

Detailed Solution: Question 3

This field will be decremented by 1 at every router, and will be zero by the time it reaches source. This error reporting message is type 11 and is used to prevent the router from travelling forever in case some unknown path anomaly occurs.

ICMP (Internet Control Message Protocol) - Question 4

The source-quench message in ICMP was designed to add a kind of ____________ to the IP.

Detailed Solution: Question 4

Firstly, it informs the source that the datagram has been discarded. Secondly, it warns the source that there is congestion in the network. It’s type 4 error reporting message after which the source is expected to reduce the flow of packets.

ICMP (Internet Control Message Protocol) - Question 5

ICMP error message will not be generated for a datagram having a special address such as _______

Detailed Solution: Question 5

127.0.0.0 is a special address known as the loopback address which is used for testing purpose of a machine without actually communicating with a network. Thus no error reporting message will be generated for such special addresses.

ICMP (Internet Control Message Protocol) - Question 6

During error reporting, ICMP always reports error messages to ________

Detailed Solution: Question 6

ICMP notifies the source about the error when an error is detected because the datagram knows information about source and destination IP address. The source can then retransmit the data again or try to correct those errors.

ICMP (Internet Control Message Protocol) - Question 7

Internet Control Message Protocol (ICMP) has been designed to compensate _________

Detailed Solution: Question 7

IP by itself does not provide the features of error reporting or error correction. So, to address these issues a network layer protocol called Internet Control Message Protocol is used. ICMP operates over the IP packet to provide error reporting functionality.

ICMP (Internet Control Message Protocol) - Question 8

In windows ____________ can be used to trace the route of the packet from the source to the destination.

Detailed Solution: Question 8

Tracert is used in case of windows, whereas Traceroute in UNIX. Tracert is a program used to find the shortest route to the destination IP. The Router sends destination unreachable message if a path to the destination IP is not found.

ICMP (Internet Control Message Protocol) - Question 9

Two machines can use the timestamp request and timestamp replay messages to determine the ___________ needed for an IP datagram to travel between them.

Detailed Solution: Question 9

The round-trip time refers to the total time taken combining the time taken for a packet sent from a source to reach a destination and the time taken the acknowledgement sent by the destination to reach the source. The Router sends destination unreachable message if the destination is not found.

ICMP (Internet Control Message Protocol) - Question 10

When a router cannot route a datagram or host cannot deliver a datagram, the datagram is discarded and the router or the host sends a ____________ message back to the source host that initiated the datagram.

Detailed Solution: Question 10

Router sends destination unreachable message if the destination is not found. Destination unreachable is type 3 error reporting message. It is invoked when the router can’t find a path to the intended destination to forward the packet through.

21 videos|147 docs|66 tests
Information about ICMP (Internet Control Message Protocol) Page
In this test you can find the Exam questions for ICMP (Internet Control Message Protocol) solved & explained in the simplest way possible. Besides giving Questions and answers for ICMP (Internet Control Message Protocol), EduRev gives you an ample number of Online tests for practice
21 videos|147 docs|66 tests
Download as PDF