Computer networks worksheet with answers

Free printable Computer networks worksheet: 8 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy

How many bits does an IPv4 address have?

  1. A16
  2. B64
  3. C128
  4. D32
2.Easy

In the client-server model:

  1. AAll devices must be in the same room
  2. BServers send requests and clients answer them
  3. CClients send requests and a server provides the service
  4. DEvery computer stores the whole internet
3.Easy

What does LAN stand for?

  1. ALinked application node
  2. BLocal area network
  3. CLogical address number
  4. DLarge access network
4.Medium

Which host is in the same /16 subnet as 10.1.2.3?

  1. A11.1.2.3
  2. B10.1.200.5
  3. C10.2.2.3
  4. D10.0.2.3
5.Medium

What is a cyclic redundancy check (CRC) used for in Ethernet frames?

  1. AChoosing the best route
  2. BCorrecting every bit error automatically
  3. CEncrypting the frame
  4. DDetecting transmission errors
6.Medium

Why is UDP often preferred for live video calls?

  1. AUDP encrypts data automatically
  2. BUDP is required for all video
  3. CUDP guarantees every packet arrives, so the picture never freezes
  4. DLow delay matters more than retransmitting every lost packet
7.Hard

With sliding-window protocols, how does Go-Back-N differ from Selective Repeat after one frame is lost?

  1. ANeither ever resends lost frames
  2. BGo-Back-N resends the lost frame and all later ones; Selective Repeat only the lost one
  3. CBoth resend the whole window from the start
  4. DGo-Back-N resends only the lost frame; Selective Repeat resends that frame and all later ones
8.Hard

DNS queries normally use UDP. When does DNS typically use TCP instead?

  1. AFor responses too large for UDP and for zone transfers
  2. BFor every query sent from a web browser
  3. COnly for reverse lookups of IP addresses
  4. DOnly when the domain name is longer than ten characters

Answer key

  1. 1. D · 32
  2. 2. C · Clients send requests and a server provides the service
  3. 3. B · Local area network
  4. 4. B · 10.1.200.5
  5. 5. D · Detecting transmission errors
  6. 6. D · Low delay matters more than retransmitting every lost packet
  7. 7. B · Go-Back-N resends the lost frame and all later ones; Selective Repeat only the lost one
  8. 8. A · For responses too large for UDP and for zone transfers

Full step-by-step solutions: practise this topic on examproblems.com.