Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q271: Fill in the blank: If the subnet mask is 255.255.255.0, the prefix length is ________.
- A: /24
- B: /16
- C: /8
- D: /32
View Answer
A
Q272: When sending data, if the network bits of the source and destination IP addresses match, where is the packet sent?
- A: Locally to the destination host
- B: to the default gateway
- C: to the broadcast address
- D: to the router
View Answer
B
Q273: Fill in the blank: The IPv4 broadcast address allows communication to ________.
- A: all hosts in the network
- B: a single host
- C: a specific network address
- D: all devices on the internet
View Answer
A
Q274: What is the first host address in the 10.1.1.0/24 network?
- A: 10.1.1.1
- B: 10.1.1.0
- C: 10.1.1.254
- D: 10.1.1.255
View Answer
A
Q275: What address is always one greater than the network address?
- A: The first host address
- B: The last host address
- C: The broadcast address
- D: The subnet mask
View Answer
A
Q276: What is the purpose of a subnet mask in relation to an IP address?
- A: To determine which part is the network and which part is the host
- B: To provide a unique identifier for each device
- C: To establish a connection between devices
- D: To specify the broadcast address
View Answer
A
Q277: Fill in the blank: A device uses the subnet mask to determine what ________ it belongs to.
- A: default gateway
- B: network address
- C: IP address
- D: broadcast address
View Answer
B
Q278: What is the broadcast address for the 10.1.1.0/24 network?
- A: 10.1.1.255
- B: 10.1.1.0
- C: 10.1.1.1
- D: 10.1.1.254
View Answer
A
Q279: What are the three types of communication in an IPv4 network?
- A: Unicast, Broadcast, Multicast
- B: Unicast, Multicast, Anycast
- C: Broadcast, Multicast, Anycast
- D: Unicast, Anycast, Broadcast
View Answer
A
Q280: What does a unicast packet do?
- A: Sends data to one specific host
- B: Sends data to all hosts in the network
- C: Sends data to a selected group of hosts
- D: Sends data to a broadcast address
View Answer
A