Computer Networking MCQs

Computer

Computer Networking MCQs

Practice Computer Networking MCQs covering LAN, MAN, WAN, PAN, topology, modem, router, hub, switch and IP address concepts.

325
Total Questions

Practice Questions

Page 2 of 17
Question #21
Which network layer protocol is used for error reporting and diagnostic functions?
A. ARP
B. TCP
C. UDP
D. ICMP

Correct Answer: Option D


Explanation:
ICMP (Internet Control Message Protocol) is used for error messages and diagnostics like ping.

This question belongs to: Computer Computer Networking
Question #22
What is the main difference between a hub and a switch?
A. Hub broadcasts to all ports; switch forwards to specific port based on MAC
B. Hub is intelligent; switch is not
C. Hub forwards data based on IP, switch based on MAC
D. Hub works at layer 3; switch at layer 2

Correct Answer: Option A


Explanation:
A hub sends data to all ports, while a switch learns MAC addresses and sends only to the destination port.

This question belongs to: Computer Computer Networking
Question #23
Which topology is commonly used in modern Ethernet networks?
A. Bus
B. Mesh
C. Ring
D. Star

Correct Answer: Option D


Explanation:
Star topology with a central switch is the most common topology in modern Ethernet LANs.

This question belongs to: Computer Computer Networking
Question #24
What is the purpose of a default gateway?
A. To provide security by filtering packets
B. To route traffic from a local network to other networks
C. To assign IP addresses dynamically
D. To translate domain names to IP addresses

Correct Answer: Option B


Explanation:
A default gateway is a router that connects a local network to external networks, forwarding traffic when the destination is not local.

This question belongs to: Computer Computer Networking
Question #25
What is the loopback IP address in IPv4?
A. 255.255.255.255
B. 0.0.0.0
C. 192.168.1.1
D. 127.0.0.1

Correct Answer: Option D


Explanation:
127.0.0.1 is the loopback address used for testing network software on the local machine.

This question belongs to: Computer Computer Networking
Question #26
Which protocol is used to automatically assign IP addresses to devices in a network?
A. ICMP
B. DHCP
C. DNS
D. ARP

Correct Answer: Option B


Explanation:
DHCP (Dynamic Host Configuration Protocol) dynamically assigns IP addresses and other network parameters.

This question belongs to: Computer Computer Networking
Question #27
What is a collision domain?
A. A domain where IP addresses are assigned
B. A broadcast domain
C. A set of network devices where collisions can occur
D. A group of routers

Correct Answer: Option C


Explanation:
A collision domain is a network segment where packets can collide with each other if transmitted simultaneously.

This question belongs to: Computer Computer Networking
Question #28
Which network device operates at both physical and data link layers?
A. Router
B. Gateway
C. Hub
D. Switch

Correct Answer: Option D


Explanation:
Switches operate at layer 2 (data link) and have physical layer capabilities for receiving/transmitting signals.

This question belongs to: Computer Computer Networking
Question #29
What is the maximum data rate of a standard Ethernet (10BASE-T) network?
A. 10 Mbps
B. 1 Gbps
C. 100 Mbps
D. 10 Gbps

Correct Answer: Option A


Explanation:
10BASE-T offers 10 Mbps; it is the original Ethernet standard over twisted pair.

This question belongs to: Computer Computer Networking
Question #30
Which of the following topologies is most expensive to implement due to cabling?
A. Mesh
B. Star
C. Bus
D. Ring

Correct Answer: Option A


Explanation:
Mesh topology requires a dedicated connection between every pair of nodes, making it the most expensive.

This question belongs to: Computer Computer Networking
Question #31
What is the purpose of a router's routing table?
A. Stores MAC addresses
B. Stores IP addresses and next-hop information for forwarding packets
C. Stores security policies
D. Stores domain name mappings

Correct Answer: Option B


Explanation:
A routing table contains destination networks and the next hop to forward packets.

This question belongs to: Computer Computer Networking
Question #32
Which type of network is the Internet considered?
A. WAN
B. LAN
C. MAN
D. PAN

Correct Answer: Option A


Explanation:
The Internet is the largest example of a WAN, spanning the entire globe.

This question belongs to: Computer Computer Networking
Question #33
What does the acronym ARP stand for?
A. Address Resolution Protocol
B. Access Resolution Protocol
C. Advanced Routing Protocol
D. Address Routing Protocol

Correct Answer: Option A


Explanation:
ARP is used to map an IP address to a physical MAC address in a local network.

This question belongs to: Computer Computer Networking
Question #34
Which topology requires a central controller (like a hub or switch) to manage data transmission?
A. Star
B. Mesh
C. Ring
D. Bus

Correct Answer: Option A


Explanation:
Star topology relies on a central device to which all nodes connect.

This question belongs to: Computer Computer Networking
Question #35
What is the size of an IPv4 address in bits?
A. 32
B. 16
C. 64
D. 128

Correct Answer: Option A


Explanation:
IPv4 addresses are 32 bits long, typically expressed in dotted decimal.

This question belongs to: Computer Computer Networking
Question #36
Which protocol is used for reliable, connection-oriented data transmission?
A. IGMP
B. UDP
C. ICMP
D. TCP

Correct Answer: Option D


Explanation:
TCP (Transmission Control Protocol) provides reliable, ordered, and error-checked delivery of data.

This question belongs to: Computer Computer Networking
Question #37
Which device can be used to extend the length of a network segment by regenerating the signal?
A. Repeater
B. Gateway
C. Router
D. Switch

Correct Answer: Option A


Explanation:
A repeater amplifies and regenerates signals to extend the distance of a network.

This question belongs to: Computer Computer Networking
Question #38
What is the binary equivalent of the subnet mask 255.255.255.0?
A. 11111111.11111111.11111111.00000000
B. 00000000.00000000.00000000.11111111
C. 11111111.11111111.00000000.00000000
D. 11111111.00000000.00000000.00000000

Correct Answer: Option A


Explanation:
255.255.255.0 in binary is 24 ones followed by 8 zeros.

This question belongs to: Computer Computer Networking
Question #39
Which of the following is a broadcast address for a network with subnet mask 255.255.255.0 and network IP 192.168.1.0?
A. 192.168.1.1
B. 192.168.1.0
C. 192.168.1.255
D. 192.168.1.254

Correct Answer: Option C


Explanation:
The broadcast address is the highest address in the subnet, i.e., 192.168.1.255 for a /24 network.

This question belongs to: Computer Computer Networking
Question #40
What does the acronym NIC stand for?
A. Network Interconnect Card
B. Network Interface Card
C. Network Integrated Circuit
D. Network Internet Controller

Correct Answer: Option B


Explanation:
NIC is a hardware component that connects a computer to a network.

This question belongs to: Computer Computer Networking