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

Which protocol automatically gives devices an IP address on a local network?

  1. ADHCP
  2. BSMTP
  3. CDNS
  4. DFTP
2.Easy

What is the name of the data unit at the data link layer?

  1. ASegment
  2. BMessage
  3. CPacket
  4. DFrame
3.Easy

How many layers does the OSI reference model have?

  1. A4
  2. B5
  3. C7
  4. D9
4.Medium

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

  1. AThe client must log in first
  2. BThe server had an internal error
  3. CThe request succeeded
  4. DThe requested resource was not found
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. CEncrypt traffic between two sites
  4. DTranslate domain names into IP addresses for devices on a local network
6.Medium

How does a stateful firewall differ from a simple packet filter?

  1. AIt only checks the MAC address of each frame
  2. BIt blocks all incoming traffic without exceptions, including replies to outgoing requests
  3. CIt encrypts every packet it forwards
  4. DIt tracks connections and allows replies that belong to established sessions
7.Hard

How does a content delivery network (CDN) mainly improve web performance?

  1. AIt replaces TCP with a faster transport protocol
  2. BIt serves cached content from servers close to the users
  3. CIt increases the bandwidth of the users' own home connections
  4. DIt removes the need for DNS lookups
8.Hard

DNS queries normally use UDP. When does DNS typically use TCP instead?

  1. AFor responses too large for UDP and for zone transfers
  2. BOnly for reverse lookups of IP addresses
  3. COnly when the domain name is longer than ten characters
  4. DFor every query sent from a web browser

Answer key

  1. 1. A · DHCP
  2. 2. D · Frame
  3. 3. C · 7
  4. 4. D · The requested resource was not found
  5. 5. B · Let many devices with private addresses share one public IP address
  6. 6. D · It tracks connections and allows replies that belong to established sessions
  7. 7. B · It serves cached content from servers close to the users
  8. 8. A · For responses too large for UDP and for zone transfers

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