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. ASixteen decimal numbers separated by dots
  2. BSix pairs of hexadecimal digits separated by dashes or colons
  3. CEight groups of four hexadecimal digits separated by colons
  4. DFour decimal numbers separated by dots
2.Easy

In the URL https://www.example.com/index.html, which part is the host name?

  1. Awww.example.com
  2. Bhttps
  3. Cindex.html
  4. Dexample.com/index.html
3.Easy

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

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

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

  1. ATo establish a connection and synchronise sequence numbers
  2. BTo close a connection quickly
  3. CTo find the IP address of a host before data can be sent to it
  4. DTo encrypt the data
5.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.0.2.3
  4. D10.2.2.3
6.Medium

What characterises a distributed denial-of-service (DDoS) attack?

  1. AMany compromised machines flood a target with traffic
  2. BOne attacker guesses a user's password
  3. CAn attacker reads unencrypted Wi-Fi traffic from a nearby car
  4. DA virus deletes files on a single PC
7.Hard

An attacker on a LAN sends forged ARP replies claiming the gateway's IP address. What is the likely result?

  1. AThe switch shuts down all of its ports
  2. BVictims send traffic for the gateway to the attacker, enabling a man-in-the-middle attack
  3. CAll DNS queries fail across the internet
  4. DThe gateway's IP address is permanently changed to the attacker's address on every router
8.Hard

A PC can reach printers on its own subnet but nothing beyond it. Its IP address and mask are correct. What is the most likely fault?

  1. AA faulty DNS server setting
  2. BThe TCP window is too small
  3. CA missing or wrong default gateway
  4. DA duplicate MAC address on the internet

Answer key

  1. 1. C · Eight groups of four hexadecimal digits separated by colons
  2. 2. A · www.example.com
  3. 3. B · 192.168.1.255
  4. 4. A · To establish a connection and synchronise sequence numbers
  5. 5. B · 10.1.200.5
  6. 6. A · Many compromised machines flood a target with traffic
  7. 7. B · Victims send traffic for the gateway to the attacker, enabling a man-in-the-middle attack
  8. 8. C · A missing or wrong default gateway

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