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 the URL https://www.example.com/index.html, which part is the host name?

  1. Ahttps
  2. Bexample.com/index.html
  3. Cindex.html
  4. Dwww.example.com
2.Easy

Which IEEE standard family defines Wi-Fi wireless LANs?

  1. AIEEE 802.11
  2. BIEEE 802.1Q
  3. CIEEE 802.15
  4. DIEEE 802.3
3.Easy

What does a VPN mainly provide?

  1. AA faster physical connection to the internet through a dedicated line
  2. BAn encrypted tunnel across an untrusted network such as the internet
  3. CA free public IP address for every device
  4. DAutomatic backup of files to a server
4.Medium

NAT (network address translation) is mainly used to:

  1. ALet many devices with private addresses share one public IP address
  2. BTranslate domain names into IP addresses for devices on a local network
  3. CEncrypt traffic between two sites
  4. DIncrease the speed of a network cable
5.Medium

Which TCP flag signals that a sender has finished sending data?

  1. AFIN
  2. BSYN
  3. CPSH
  4. DURG
6.Medium

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

  1. AWith cookies holding a session identifier or token
  2. BBy storing the password in the URL
  3. CBy giving each user a fixed IP address
  4. DBy keeping the TCP connection open for days
7.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. BA duplicate MAC address on the internet
  3. CA missing or wrong default gateway
  4. DThe TCP window is too small
8.Hard

What is the main benefit of persistent connections (keep-alive) in HTTP/1.1?

  1. AResponses can arrive in any order on one stream, so slow replies do not block others
  2. BThe server can push updates over UDP
  3. CThe connection stays encrypted without TLS
  4. DSeveral requests reuse one TCP connection, avoiding repeated handshakes

Answer key

  1. 1. D · www.example.com
  2. 2. A · IEEE 802.11
  3. 3. B · An encrypted tunnel across an untrusted network such as the internet
  4. 4. A · Let many devices with private addresses share one public IP address
  5. 5. A · FIN
  6. 6. A · With cookies holding a session identifier or token
  7. 7. C · A missing or wrong default gateway
  8. 8. D · Several requests reuse one TCP connection, avoiding repeated handshakes

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