Computer Networks exercises with solutions
46 practice problems from the 15 lessons of the Computer Networks course, in lesson order and from easy to hard inside each lesson. Open a problem, write your code and press Submit: the tests run in your browser and nothing is sent to a server.
15 easy problems 16 medium problems 15 hard problems
How networks work: layers and packets
3 problems · Read the lesson
Delay and throughput
3 problems · Read the lesson
Detecting errors: parity, checksums and CRC
3 problems · Read the lesson
Ethernet, MAC addresses and switches
3 problems · Read the lesson
IP addresses
3 problems · Read the lesson
Subnetting
3 problems · Read the lesson
DHCP and NAT: getting an address and sharing one
3 problems · Read the lesson
Routing tables and longest prefix match
3 problems · Read the lesson
Routing algorithms: link state and distance vector
4 problems · Read the lesson
UDP and TCP: ports and connections
3 problems · Read the lesson
Reliable delivery: Go-Back-N and Selective Repeat
3 problems · Read the lesson
TCP congestion control
3 problems · Read the lesson
DNS and HTTP: the application layer
3 problems · Read the lesson
Sockets and framing: messages on a byte stream
3 problems · Read the lesson
Network security basics: hashes, keys and TLS
3 problems · Read the lesson