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

What does a VPN mainly provide?

  1. AA free public IP address for every device
  2. BAutomatic backup of files to a server
  3. CAn encrypted tunnel across an untrusted network such as the internet
  4. DA faster physical connection to the internet through a dedicated line
2.Easy

Which command shows the routers a packet passes through on its way to a destination?

  1. Anslookup
  2. Bnetstat
  3. Ctraceroute (tracert on Windows)
  4. Dipconfig
3.Easy

What does a packet header mainly contain?

  1. AThe website's text and images
  2. BThe cable type used for the link
  3. CControl information such as source and destination addresses
  4. DThe user's actual file contents, split into equal-sized pieces
4.Medium

Which of these is a private IPv4 address range?

  1. A8.8.8.0/24
  2. B100.0.0.0/8
  3. C200.1.1.0/24
  4. D192.168.0.0/16
5.Medium

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

  1. ADetecting transmission errors
  2. BEncrypting the frame
  3. CChoosing the best route
  4. DCorrecting every bit error automatically
6.Medium

Which TCP flag signals that a sender has finished sending data?

  1. APSH
  2. BURG
  3. CFIN
  4. DSYN
7.Hard

You must divide 192.168.1.0/24 into at least 5 subnets with up to 25 hosts each. Which prefix length fits best?

  1. A/28
  2. B/26
  3. C/27
  4. D/25
8.Hard

What is the main benefit of persistent connections (keep-alive) in HTTP/1.1?

  1. AThe server can push updates over UDP
  2. BThe connection stays encrypted without TLS
  3. CSeveral requests reuse one TCP connection, avoiding repeated handshakes
  4. DResponses can arrive in any order on one stream, so slow replies do not block others

Answer key

  1. 1. C · An encrypted tunnel across an untrusted network such as the internet
  2. 2. C · traceroute (tracert on Windows)
  3. 3. C · Control information such as source and destination addresses
  4. 4. D · 192.168.0.0/16
  5. 5. A · Detecting transmission errors
  6. 6. C · FIN
  7. 7. C · /27
  8. 8. C · Several requests reuse one TCP connection, avoiding repeated handshakes

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