IP Addressing & IPV4 Header PYQ QUIZ GATE CS

Last Updated :
Discuss
Comments

Question 1

Suppose computers A and B have IP addresses 10.105.1.113 and 10.105.1.91 respectively and they both use the same netmask N. Which of the values of N given below should not be used if A and B should belong to the same network?

  • 255.255.255.0

  • 255.255.255.128

  • 255.255.255.192

  • 255.255.255.224

Question 2

One of the header fields in an IP datagram is the Time to Live(TTL) field. Which of the following statements best explains the need for this field?

  • It can be used to prioritize packets

  • It can be used to reduce delays

  • It can be used to optimize throughput

  • It can be used to prevent packet looping

Question 3

In the network 200.10.11.144/27, the fourth octet (in decimal) of the last IP address of the network which can be assigned to a host is ________

  • 158

  • 255

  • 222

  • 223

Question 4

Which of the following assertions is FALSE about the Internet Protocol (IP) ?

  • It is possible for a computer to have multiple IP addresses

  • IP packets from the same source to the same destination can take different routes in the network

  • IP ensures that a packet is discarded if it is unable to reach its destination within a given number of hops

  • The packet source cannot set the route of an outgoing packets; the route is determined only by the routing tables in the routers on the way

Question 5

Host A (on TCP/IP v4 network A) sends an IP datagram D to host B (also on TCP/IP v4 network B). Assume that no error occurred during the transmission of D. When D reaches B, which of the following IP header field(s) may be different from that of the original datagram D?

(i) TTL 
(ii) Checksum
(iii) Fragment Offset
  • (i) only

  • (i) and (ii) only

  • (ii) and (iii) only

  • (i), (ii) and (iii)

Question 6

For which one of the following reasons does Internet Protocol (IP) use the timeto- live (TTL) field in the IP datagram header

  • Ensure packets reach destination within that time

  • Discard packets that reach later than that time

  • Prevent packets from looping indefinitely

  • Limit the time for which a packet gets queued in intermediate routers.

Question 7

Which one of the following fields of an IP header is NOT modified by a typical IP router?

  • Checksum

  • Source address

  • Time to Live (TTL)

  • Length

Question 8

If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?

  • 1022

  • 1023

  • 2046

  • 2047

Question 9

The address of a class B host is to be split into subnets with a 6-bit subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet?

  • 62 subnets and 262142 hosts.

  • 64 subnets and 262142 hosts.

  • 62 subnets and 1022 hosts.

  • 64 subnets and 1024 hosts.

Question 10

The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?

  • 172.57.88.62 and 172.56.87.233

  • 10.35.28.2 and 10.35.29.4

  • 191.203.31.87 and 191.234.31.88

  • 128.8.129.43 and 128.8.161.55

There are 15 questions to complete.

Take a part in the ongoing discussion