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 the main job of a firewall?

  1. ATo speed up downloads by caching files
  2. BTo convert domain names into addresses
  3. CTo allow or block traffic according to security rules
  4. DTo assign IP addresses to hosts
2.Easy

Which application protocol transfers files using separate control and data connections?

  1. ADNS
  2. BFTP
  3. CSMTP
  4. DHTTP
3.Easy

In the URL https://www.example.com/index.html, which part is the host name?

  1. Aexample.com/index.html
  2. Bindex.html
  3. Cwww.example.com
  4. Dhttps
4.Medium

What is the IPv6 loopback address?

  1. Afe80::1
  2. B::
  3. Cff02::1
  4. D::1
5.Medium

What does a subnet mask of 255.255.255.0 correspond to in CIDR notation?

  1. A/8
  2. B/32
  3. C/16
  4. D/24
6.Medium

Which metric does RIP use to choose routes?

  1. AMeasured delay
  2. BHop count
  3. CBusiness policy
  4. DLink bandwidth
7.Hard

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

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

After repeated collisions, classic Ethernet stations choose their waiting time from a range that doubles each time. Why?

  1. ATo lower the chance of colliding again when many stations compete
  2. BTo synchronise all stations to one clock
  3. CTo give the station with the highest MAC address priority on the shared cable
  4. DTo make the cable carry signals further

Answer key

  1. 1. C · To allow or block traffic according to security rules
  2. 2. B · FTP
  3. 3. C · www.example.com
  4. 4. D · ::1
  5. 5. D · /24
  6. 6. B · Hop count
  7. 7. C · For responses too large for UDP and for zone transfers
  8. 8. A · To lower the chance of colliding again when many stations compete

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