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 transport protocol provides reliable, ordered delivery with acknowledgements?

  1. AICMP
  2. BIP
  3. CUDP
  4. DTCP
2.Easy

What is the broadcast address of the network 192.168.1.0/24?

  1. A192.168.1.255
  2. B192.168.1.1
  3. C255.255.255.0
  4. D192.168.1.0
3.Easy

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

  1. Awww.example.com
  2. Bexample.com/index.html
  3. Cindex.html
  4. Dhttps
4.Medium

What is the IPv6 loopback address?

  1. Aff02::1
  2. Bfe80::1
  3. C::1
  4. D::
5.Medium

What is the role of a default gateway on a host?

  1. AIt assigns MAC addresses
  2. BIt is the switch port the host is connected to
  3. CIt is the router used for traffic to other networks
  4. DIt is the DNS server
6.Medium

A router has routes for 10.0.0.0/8 and 10.1.0.0/16. Which route does it use for a packet to 10.1.5.5?

  1. A10.0.0.0/8, because it was added first
  2. BBoth routes, splitting the traffic equally
  3. C10.0.0.0/8, because it covers more addresses than the /16
  4. D10.1.0.0/16, because it is the longest matching prefix
7.Hard

Why does IPv6 not need NAT for address shortage?

  1. AIts 128-bit address space is large enough to give every device a global address
  2. BIPv6 does not use addresses
  3. CIPv6 encrypts all addresses
  4. DIPv6 only works on local networks, so addresses never need to be shared globally
8.Hard

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

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

Answer key

  1. 1. D · TCP
  2. 2. A · 192.168.1.255
  3. 3. A · www.example.com
  4. 4. C · ::1
  5. 5. C · It is the router used for traffic to other networks
  6. 6. D · 10.1.0.0/16, because it is the longest matching prefix
  7. 7. A · Its 128-bit address space is large enough to give every device a global address
  8. 8. C · A lost TCP segment delays all multiplexed streams until it is retransmitted

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