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 which network topology is every device connected to one central switch or hub?

  1. ARing
  2. BFull mesh
  3. CStar
  4. DBus
2.Easy

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

  1. AFrame
  2. BMessage
  3. CPacket
  4. DSegment
3.Easy

What is the default port number for SSH?

  1. A110
  2. B53
  3. C23
  4. D22
4.Medium

What is the main difference between the HTTP methods GET and POST?

  1. AGET uses UDP, POST uses TCP
  2. BGET retrieves a resource, POST submits data in the request body
  3. CGET is encrypted, POST is not
  4. DGET deletes a resource, POST reads it from the server's database
5.Medium

Which protocol does the "ping" command use?

  1. AHTTP
  2. BTCP
  3. CUDP
  4. DICMP
6.Medium

NAT (network address translation) is mainly used to:

  1. AEncrypt traffic between two sites
  2. BTranslate domain names into IP addresses for devices on a local network
  3. CLet many devices with private addresses share one public IP address
  4. DIncrease the speed of a network cable
7.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/27
  2. B/26
  3. C/25
  4. D/28
8.Hard

A path has 100 Mbit/s bandwidth and a 40 ms round-trip time. How much data must be in flight to keep it fully used?

  1. A500 kB
  2. B2.5 MB
  3. C4 kB
  4. D50 kB

Answer key

  1. 1. C · Star
  2. 2. A · Frame
  3. 3. D · 22
  4. 4. B · GET retrieves a resource, POST submits data in the request body
  5. 5. D · ICMP
  6. 6. C · Let many devices with private addresses share one public IP address
  7. 7. A · /27
  8. 8. A · 500 kB

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