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. CFour decimal numbers separated by dots
  4. DEight groups of four hexadecimal digits separated by colons
2.Easy

How many layers does the OSI reference model have?

  1. A5
  2. B7
  3. C4
  4. D9
3.Easy

What is a network interface card (NIC)?

  1. AA cable that links two routers
  2. BA server that stores web pages
  3. CHardware that connects a computer to a network
  4. DSoftware that resolves domain names
4.Medium

Which single prefix summarises both 192.168.0.0/24 and 192.168.1.0/24?

  1. A192.168.1.0/23
  2. B192.168.0.0/22
  3. C192.168.0.0/23
  4. D192.168.0.0/25
5.Medium

Which subnet mask corresponds to /20?

  1. A255.255.248.0
  2. B255.255.255.240
  3. C255.255.240.0
  4. D255.255.224.0
6.Medium

Which protocol does the "ping" command use?

  1. AUDP
  2. BICMP
  3. CHTTP
  4. DTCP
7.Hard

In a SYN flood attack, what resource is the attacker trying to exhaust?

  1. AThe DNS cache of the client
  2. BThe switch's MAC address table
  3. CThe server's disk space
  4. DThe server's table of half-open connections
8.Hard

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

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

Answer key

  1. 1. D · Eight groups of four hexadecimal digits separated by colons
  2. 2. B · 7
  3. 3. C · Hardware that connects a computer to a network
  4. 4. C · 192.168.0.0/23
  5. 5. C · 255.255.240.0
  6. 6. B · ICMP
  7. 7. D · The server's table of half-open connections
  8. 8. C · Victims send traffic for the gateway to the attacker, enabling a man-in-the-middle attack

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