Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  GATE Computer Science Engineering(CSE) 2025 Mock Test Series  >  Test: ICMP (Internet Control Message Protocol) - Computer Science Engineering (CSE) MCQ

Test: ICMP (Internet Control Message Protocol) - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Test: ICMP (Internet Control Message Protocol)

Test: ICMP (Internet Control Message Protocol) for Computer Science Engineering (CSE) 2024 is part of GATE Computer Science Engineering(CSE) 2025 Mock Test Series preparation. The Test: ICMP (Internet Control Message Protocol) questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: ICMP (Internet Control Message Protocol) MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: ICMP (Internet Control Message Protocol) below.
Solutions of Test: ICMP (Internet Control Message Protocol) questions in English are available as part of our GATE Computer Science Engineering(CSE) 2025 Mock Test Series for Computer Science Engineering (CSE) & Test: ICMP (Internet Control Message Protocol) solutions in Hindi for GATE Computer Science Engineering(CSE) 2025 Mock Test Series course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: ICMP (Internet Control Message Protocol) | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study GATE Computer Science Engineering(CSE) 2025 Mock Test Series for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: ICMP (Internet Control Message Protocol) - Question 1

Header size of the ICMP message is _________

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 1

An ICMP message has an 8-byte header and a variable size data section. Out of the 8 bytes, the first 4 bytes are of a fixed format having the type, code and checksum fields and the next 4 bytes depend upon the type of the message.

Test: ICMP (Internet Control Message Protocol) - Question 2

Which of these is not a type of error-reporting message?

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 2

Router error is not a type of error-reporting message in ICMP. The type of error reporting message is specified in the ICMP header. Destination unreachable is type 3 error message, source quench is type 4, and time exceeded is type 11 error message.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: ICMP (Internet Control Message Protocol) - Question 3

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 for Test: ICMP (Internet Control Message Protocol) - Question 3

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.

Test: ICMP (Internet Control Message Protocol) - Question 4

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

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 4

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.

Test: ICMP (Internet Control Message Protocol) - Question 5

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

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 5

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.

Test: ICMP (Internet Control Message Protocol) - Question 6

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

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 6

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.

Test: ICMP (Internet Control Message Protocol) - Question 7

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

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - 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.

Test: ICMP (Internet Control Message Protocol) - Question 8

During error reporting, ICMP always reports error messages to ________

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 8

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.

Test: ICMP (Internet Control Message Protocol) - Question 9

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

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 9

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.

Test: ICMP (Internet Control Message Protocol) - Question 10

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

Detailed Solution for Test: ICMP (Internet Control Message Protocol) - Question 10

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.

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

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)