Vaidikalaya

MCQ On IPV4


Q1. What is the size of an IPv4 address?.
  1. 16 bits
  2. 32 bits
  3. 48 bits
  4. 64 bits

Answer: b, 32 bits

Solution: IPv4 uses a 32-bit address space.

Q2. The loopback IP address used for testing is:.
  1. 127.0.0.0
  2. 127.0.0.1
  3. 127.255.255.255
  4. 255.255.255.0

Answer: b, 127.0.0.1

Solution: 127.0.0.1 is the standard loopback address for localhost testing.

Q3. Which protocol is used to map IP address to MAC address?.
  1. ICMP
  2. ARP
  3. RARP
  4. DHCP

Answer: b, ARP

Solution: ARP resolves IP addresses to corresponding MAC addresses.

Q4. The IPv4 address space provides how many total addresses?.
  1. 2^32
  2. 2^64
  3. 4 million
  4. 1 billion

Answer: a, 2^32

Solution: IPv4 uses 32 bits, giving 2^32 (~4.29 billion) possible addresses.

Q5. Which address is used when a packet must be delivered to all hosts on a LAN?.
  1. Unicast
  2. Broadcast
  3. Multicast
  4. Anycast

Answer: b, Broadcast

Solution: Broadcast delivers packets to all hosts in the network.

Q6. Which of the following field in IPv4 datagram is not related to fragmentation?.
  1. Flags
  2. Offset
  3. TOS
  4. Identifier

Answer: c, TOS

Solution: TOS (Type of Service) is about QoS, not fragmentation.