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 client-server model:

  1. AEvery computer stores the whole internet
  2. BClients send requests and a server provides the service
  3. CAll devices must be in the same room
  4. DServers send requests and clients answer them
2.Easy

How many layers does the OSI reference model have?

  1. A5
  2. B4
  3. C9
  4. D7
3.Easy

What does DNS do?

  1. ARoutes packets between networks
  2. BAssigns IP addresses to devices automatically
  3. CEncrypts web traffic
  4. DTranslates domain names into IP addresses
4.Medium

A browser receives HTTP status code 404. What does it mean?

  1. AThe server had an internal error
  2. BThe requested resource was not found
  3. CThe client must log in first
  4. DThe request succeeded
5.Medium

NAT (network address translation) is mainly used to:

  1. AIncrease the speed of a network cable
  2. BLet many devices with private addresses share one public IP address
  3. CTranslate domain names into IP addresses for devices on a local network
  4. DEncrypt traffic between two sites
6.Medium

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

  1. A10.0.2.3
  2. B11.1.2.3
  3. C10.2.2.3
  4. D10.1.200.5
7.Hard

Head-of-line blocking in HTTP/2 over TCP occurs because:

  1. AA lost TCP segment delays all multiplexed streams until it is retransmitted
  2. BServers cannot handle parallel requests
  3. CHTTP/2 uses UDP
  4. DEach request needs its own new TCP connection, so later requests wait in a queue
8.Hard

You must divide 192.168.1.0/24 into at least 5 subnets with up to 25 hosts each. Which prefix length fits best?

  1. A/28
  2. B/26
  3. C/25
  4. D/27

Answer key

  1. 1. B · Clients send requests and a server provides the service
  2. 2. D · 7
  3. 3. D · Translates domain names into IP addresses
  4. 4. B · The requested resource was not found
  5. 5. B · Let many devices with private addresses share one public IP address
  6. 6. D · 10.1.200.5
  7. 7. A · A lost TCP segment delays all multiplexed streams until it is retransmitted
  8. 8. D · /27

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