Networks for Computer Sciences
Networks, in a computer science course, covers how machines communicate over the internet through layered protocols. It introduces HTTP and DNS at the top, TCP and UDP for transport, IP addressing and routing, and Ethernet and Wi-Fi at the bottom. The goal is to understand what happens between a click and a loaded page.
Stage: Computer Systems · Part of the Computer Science roadmap · Last reviewed 19 November 2026
What to learn in Networks
- Explain the roles of the application, transport, network and link layers
- Describe how DNS and HTTP work together to load a web page
- Contrast the reliability guarantees of TCP with the speed of UDP
- Interpret an IPv4 address with a subnet mask
- Inspect a request and response using browser developer tools or curl
Networks interview questions
Why does the internet use layered protocols?
Layering splits a hard problem into smaller parts with clear interfaces. Each layer relies only on the service of the one below, so you can change Wi-Fi to fibre or HTTP/1.1 to HTTP/2 without rewriting everything else. It also lets different teams and vendors interoperate.
What is the difference between TCP and UDP?
TCP is connection-oriented and gives reliable, ordered delivery with retransmission and congestion control. UDP sends independent datagrams with no guarantees and minimal overhead. TCP suits web pages and file transfer, while UDP suits real-time uses like voice, games and DNS queries.
Where Networks fits in the Computer Science roadmap
Networks belongs to the Computer Systems stage (beginner level), which takes about 40 hours. Under the hood.
Other units in this stage
Back to the full Computer Science roadmap