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

A MAC address identifies:

  1. AA router's public IP
  2. BA website
  3. CA user account
  4. DA network interface on the local link
2.Easy

Which device simply repeats every incoming signal out of all its other ports?

  1. AA router
  2. BA firewall
  3. CA switch
  4. DA hub
3.Easy

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

  1. Aipconfig
  2. Bnetstat
  3. Cnslookup
  4. Dtraceroute (tracert on Windows)
4.Medium

HTTP is stateless. How do websites usually keep a user logged in across requests?

  1. ABy giving each user a fixed IP address
  2. BWith cookies holding a session identifier or token
  3. CBy keeping the TCP connection open for days
  4. DBy storing the password in the URL
5.Medium

TLS provides which security properties for HTTPS?

  1. AOnly faster loading
  2. BProtection against all malware and phishing on the visited site
  3. CConfidentiality, integrity and server authentication
  4. DAnonymity of the user
6.Medium

Which of these is a private IPv4 address range?

  1. A100.0.0.0/8
  2. B192.168.0.0/16
  3. C200.1.1.0/24
  4. D8.8.8.0/24
7.Hard

Which routing protocol is a link-state protocol?

  1. AARP
  2. BOSPF
  3. CBGP
  4. DRIP
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. CThe gateway's IP address is permanently changed to the attacker's address on every router
  4. DVictims send traffic for the gateway to the attacker, enabling a man-in-the-middle attack

Answer key

  1. 1. D · A network interface on the local link
  2. 2. D · A hub
  3. 3. D · traceroute (tracert on Windows)
  4. 4. B · With cookies holding a session identifier or token
  5. 5. C · Confidentiality, integrity and server authentication
  6. 6. B · 192.168.0.0/16
  7. 7. B · OSPF
  8. 8. D · 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.