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 is an IPv6 address usually written?

  1. ASix pairs of hexadecimal digits separated by dashes or colons
  2. BFour decimal numbers separated by dots
  3. CEight groups of four hexadecimal digits separated by colons
  4. DSixteen decimal numbers separated by dots
2.Easy

What is the broadcast address of the network 192.168.1.0/24?

  1. A255.255.255.0
  2. B192.168.1.1
  3. C192.168.1.0
  4. D192.168.1.255
3.Easy

What is the main job of a firewall?

  1. ATo allow or block traffic according to security rules
  2. BTo assign IP addresses to hosts
  3. CTo speed up downloads by caching files
  4. DTo convert domain names into addresses
4.Medium

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

  1. A10.2.2.3
  2. B11.1.2.3
  3. C10.0.2.3
  4. D10.1.200.5
5.Medium

What is the purpose of the TCP three-way handshake?

  1. ATo find the IP address of a host before data can be sent to it
  2. BTo establish a connection and synchronise sequence numbers
  3. CTo encrypt the data
  4. DTo close a connection quickly
6.Medium

How many usable host addresses does a /24 IPv4 network have?

  1. A254
  2. B256
  3. C252
  4. D255
7.Hard

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

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

Why does IPv6 not need NAT for address shortage?

  1. AIPv6 does not use addresses
  2. BIPv6 only works on local networks, so addresses never need to be shared globally
  3. CIts 128-bit address space is large enough to give every device a global address
  4. DIPv6 encrypts all addresses

Answer key

  1. 1. C · Eight groups of four hexadecimal digits separated by colons
  2. 2. D · 192.168.1.255
  3. 3. A · To allow or block traffic according to security rules
  4. 4. D · 10.1.200.5
  5. 5. B · To establish a connection and synchronise sequence numbers
  6. 6. A · 254
  7. 7. D · Go-Back-N resends the lost frame and all later ones; Selective Repeat only the lost one
  8. 8. C · Its 128-bit address space is large enough to give every device a global address

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