Topic / 80 questions

Computer Networks MCQs

Computer Networks explains how data moves between devices, from the signals on a single link to the protocols that carry the global Internet. This practice set covers the layered models, Ethernet, addressing, routing, transport, application protocols, wireless and security, so that you can test your understanding and learn from the explanation given with each answer.

Question 03 Computer Networks

How does a TCP SYN flood attempt to deny service?

Correct answer D. It exhausts server state with half-open connections

Open question
Advertisement
Question 05 Computer Networks

What is the basic function of a network firewall?

Correct answer D. Allowing or blocking traffic according to a security policy

Open question
Advertisement
Question 13 Computer Networks

What does TLS add to HTTP when it is used for HTTPS?

Correct answer C. Encryption, integrity checks and server authentication

Open question
Question 15 Computer Networks

What is the primary function of NAT on a home router?

Correct answer B. Translating private internal addresses to a public address

Open question
Advertisement

About Computer Networks MCQs

Most courses begin with layering. The OSI reference model has seven layers and the Internet protocol suite described in RFC 1122 has four, while Kurose and Ross teach a five-layer version. Examiners often ask which layer performs a given task and what each layer calls its data, so learn frames, packets and segments together with the devices and protocols that use them.

Addressing and forwarding form the numerical core of the subject. Ethernet delivers frames within a link using MAC addresses, ARP links IPv4 addresses to those MAC addresses, and routers forward packets by longest prefix match. Subnetting needs quick work with prefix lengths, block sizes, network and broadcast addresses, while IPv6 brings 128-bit addresses, Neighbor Discovery and source-only fragmentation.

Routing and transport explain how traffic finds its way and how fast it is sent. Static routes are fixed by hand, RIP counts hops, OSPF computes shortest paths from a shared link-state map and BGP connects autonomous systems using path information. TCP adds a three-way handshake, cumulative acknowledgements, flow control and congestion control, whereas UDP offers a small header and no delivery guarantee.

Application services and security complete the picture. DNS turns names into addresses, DHCP configures hosts automatically, HTTP and HTTPS carry the web, and NAT lets many private hosts share a public address. Wireless networks based on IEEE 802.11 use collision avoidance instead of collision detection, and basic security topics include firewalls, denial-of-service attacks, ARP poisoning, TLS and IPsec.

Key facts to remember

  • The OSI reference model has seven layers, while the Internet protocol suite in RFC 1122 has four.
  • An IPv4 address has 32 bits, an IPv6 address has 128 bits and a MAC-48 address has 48 bits.
  • TCP opens a connection with SYN, SYN-ACK and ACK, and a sender is limited by the smaller of its congestion and receive windows.
  • The UDP header is 8 bytes long, and a minimum standard Ethernet frame is 64 bytes.
  • RIP treats 16 hops as infinity, OSPF is a link-state protocol and BGP runs over TCP port 179.

Exams that include Computer Networks MCQs

Pakistan

  • PPSC Lecturer Computer Science
  • FPSC Lecturer Computer Science
  • NTS computer science and IT tests

India

  • GATE Computer Science
  • UGC NET Computer Science
  • Campus placement technical tests

Bangladesh

  • BCS technical cadre (computer science)
  • Bank IT officer recruitment tests

How to prepare for Computer Networks MCQs

  1. Learn the job of each layer with one protocol and one data unit as an example, as questions often test these links.
  2. Practise subnetting by finding the block size first, then the network address, the broadcast address and the usable range.
  3. Trace TCP sequence and acknowledgement numbers on paper, remembering that SYN and FIN each use one sequence number.
  4. Compare similar protocols side by side, such as TCP with UDP, RIP with OSPF and CSMA/CD with CSMA/CA.

Frequently asked questions

Which Computer Networks topics are most useful to revise first?

Start with layering, IPv4 subnetting and TCP, since many other topics depend on them. Then move on to routing protocols, DNS, DHCP, NAT and wireless networks, and finish with security basics.

Are these Computer Networks MCQs suitable for GATE and lecturer exams?

Yes. The questions range from basic definitions to subnetting and TCP problems, which suits GATE CS, UGC NET and PPSC or FPSC lecturer preparation. Always check the current official syllabus for your exam.

Do I need to memorise RFC numbers for the exam?

Usually not. Exams focus on how protocols behave, along with facts such as header sizes and port numbers. RFCs remain the most reliable reference when you want to confirm a detail.

Last reviewed November 2026