Computer Networks MCQ

Our website offers a wide range of Computer Network MCQs covering topics such as network basics, OSI and TCP/IP models, protocols, routing, switching, network security, wireless networking, and network management. Each question includes clear explanations to help learners understand concepts better and improve their problem-solving skills. Ideal for students, IT professionals, and exam aspirants, this platform makes computer network learning easy, practical, and effective for academic and career success.

Q1. Which layer of the OSI model is responsible for routing of data?

Correct Answer: B

The Network Layer handles logical addressing and routing of data packets.

Q2. Which device operates at the Data Link Layer of OSI model?

Correct Answer: B

A switch works at the Data Link Layer, forwarding frames based on MAC addresses.

Q3. In TCP/IP, which protocol provides reliable data transfer?

Correct Answer: A

TCP ensures reliable, connection-oriented data transfer with error checking.

Q4. Which protocol is used to translate domain names to IP addresses?

Correct Answer: C

DNS (Domain Name System) resolves hostnames to IP addresses.

Q5. The default port number for HTTP is:

Correct Answer: C

HTTP uses port number 80 by default.

Q6. Which of the following is a connectionless protocol?

Correct Answer: B

UDP is a connectionless transport layer protocol.

Q7. Which addressing is used by the Data Link Layer?

Correct Answer: B

The Data Link Layer uses MAC addresses for frame delivery.

Q8. In IPv4, an IP address is of how many bits?

Correct Answer: A

IPv4 addresses are 32-bit long.

Q9. Which protocol is used to securely browse websites?

Correct Answer: B

HTTPS is HTTP with SSL/TLS encryption for secure communication.

Q10. Which topology connects each node to a central hub?

Correct Answer: C

In a star topology, all devices are connected to a central hub or switch.

Q11. Which of the following is NOT an application layer protocol?

Correct Answer: D

ICMP works at the Network Layer, not at the Application Layer.

Q12. ARP stands for:

Correct Answer: A

ARP resolves IP addresses into MAC addresses.

Q13. Which multiple access technique is used in Wi-Fi (IEEE 802.11)?

Correct Answer: C

Wi-Fi uses CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance).

Q14. Which type of IP address is assigned automatically by DHCP?

Correct Answer: B

DHCP assigns dynamic IP addresses automatically to devices.

Q15. Which protocol is used to send emails?

Correct Answer: B

SMTP (Simple Mail Transfer Protocol) is used for sending emails.

Q16. Which device operates at the Network Layer?

Correct Answer: B

Routers operate at the Network Layer, forwarding packets based on IP addresses.

Q17. Which layer of the OSI model provides error detection and correction?

Correct Answer: B

The Data Link Layer provides error detection and correction for frames.

Q18. Which of the following is a disadvantage of circuit switching?

Correct Answer: C

Circuit switching wastes resources if the channel remains idle.

Q19. Which protocol is used to transfer files over the Internet?

Correct Answer: A

FTP (File Transfer Protocol) is used for file transfers.

Q20. Which type of addressing is used in the Transport Layer?

Correct Answer: B

Transport Layer uses port numbers to identify applications.

Latest Blogs