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

In networking, a protocol is:

  1. AA list of all devices on a network
  2. BA physical cable between two devices
  3. CA program that blocks viruses
  4. DA set of rules for the format and order of messages
2.Easy

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

  1. A192.168.1.0
  2. B192.168.1.255
  3. C192.168.1.1
  4. D255.255.255.0
3.Easy

What is the main job of a firewall?

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

What does ARP do?

  1. AAssigns IP addresses automatically to hosts when they join the local network
  2. BResolves domain names
  3. CFinds the MAC address that belongs to an IP address on the local network
  4. DRoutes packets on the internet
5.Medium

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

  1. A10.0.2.3
  2. B10.1.200.5
  3. C11.1.2.3
  4. D10.2.2.3
6.Medium

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

  1. ATo establish a connection and synchronise sequence numbers
  2. BTo find the IP address of a host before data can be sent to it
  3. CTo encrypt the data
  4. DTo close a connection quickly
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 the lost frame and all later ones; Selective Repeat only the lost one
  2. BNeither ever resends lost frames
  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

Which mechanism prevents broadcast loops in a network with redundant switch links?

  1. ASpanning Tree Protocol
  2. BNAT
  3. CDHCP snooping
  4. DARP caching

Answer key

  1. 1. D · A set of rules for the format and order of messages
  2. 2. B · 192.168.1.255
  3. 3. D · To allow or block traffic according to security rules
  4. 4. C · Finds the MAC address that belongs to an IP address on the local network
  5. 5. B · 10.1.200.5
  6. 6. A · To establish a connection and synchronise sequence numbers
  7. 7. A · Go-Back-N resends the lost frame and all later ones; Selective Repeat only the lost one
  8. 8. A · Spanning Tree Protocol

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