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

What is encapsulation in layered networking?

  1. AEach layer adds its own header to the data from the layer above
  2. BEncrypting all data before sending it
  3. CCompressing packets to save bandwidth
  4. DEach layer removes the header added by the layer above before sending
2.Easy

In networking, a protocol is:

  1. AA list of all devices on a network
  2. BA program that blocks viruses
  3. CA physical cable between two devices
  4. DA set of rules for the format and order of messages
3.Easy

What is the default port number for HTTPS?

  1. A21
  2. B80
  3. C443
  4. D25
4.Medium

At which OSI layer does a switch normally operate?

  1. AData link (layer 2)
  2. BNetwork (layer 3)
  3. CPhysical (layer 1)
  4. DTransport (layer 4)
5.Medium

What characterises a distributed denial-of-service (DDoS) attack?

  1. AOne attacker guesses a user's password
  2. BA virus deletes files on a single PC
  3. CMany compromised machines flood a target with traffic
  4. DAn attacker reads unencrypted Wi-Fi traffic from a nearby car
6.Medium

What is a cyclic redundancy check (CRC) used for in Ethernet frames?

  1. AChoosing the best route
  2. BDetecting transmission errors
  3. CEncrypting the frame
  4. DCorrecting every bit error automatically
7.Hard

A DNS cache poisoning attack aims to:

  1. ASteal Wi-Fi passwords
  2. BOverload a server with traffic so that it stops answering queries
  3. CDelete DNS servers
  4. DMake a resolver store a false IP address for a domain
8.Hard

Which routing protocol is a link-state protocol?

  1. ABGP
  2. BRIP
  3. CARP
  4. DOSPF

Answer key

  1. 1. A · Each layer adds its own header to the data from the layer above
  2. 2. D · A set of rules for the format and order of messages
  3. 3. C · 443
  4. 4. A · Data link (layer 2)
  5. 5. C · Many compromised machines flood a target with traffic
  6. 6. B · Detecting transmission errors
  7. 7. D · Make a resolver store a false IP address for a domain
  8. 8. D · OSPF

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