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 does a packet header mainly contain?

  1. AThe user's actual file contents, split into equal-sized pieces
  2. BThe cable type used for the link
  3. CThe website's text and images
  4. DControl information such as source and destination addresses
2.Easy

In networking, what does bandwidth usually refer to?

  1. AThe number of hops to a destination
  2. BThe maximum data rate a link can carry
  3. CThe delay before data arrives
  4. DThe share of packets that are lost
3.Easy

What is the default port number for DNS?

  1. A161
  2. B53
  3. C67
  4. D80
4.Medium

Which range of TCP/UDP port numbers is reserved as "well-known" ports?

  1. A0–1023
  2. B49152–65535
  3. C1024–49151
  4. D0–65535
5.Medium

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

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

What does ARP do?

  1. AAssigns IP addresses automatically to hosts when they join the local network
  2. BResolves domain names
  3. CRoutes packets on the internet
  4. DFinds the MAC address that belongs to an IP address on the local network
7.Hard

A server's private key is stolen a year from now. Which TLS property keeps today's recorded sessions safe?

  1. AForward secrecy from ephemeral Diffie-Hellman key exchange
  2. BSending the certificate twice
  3. CCompressing the data before encryption
  4. DUsing a longer domain name
8.Hard

A DNS cache poisoning attack aims to:

  1. ADelete DNS servers
  2. BMake a resolver store a false IP address for a domain
  3. CSteal Wi-Fi passwords
  4. DOverload a server with traffic so that it stops answering queries

Answer key

  1. 1. D · Control information such as source and destination addresses
  2. 2. B · The maximum data rate a link can carry
  3. 3. B · 53
  4. 4. A · 0–1023
  5. 5. D · It is the router used for traffic to other networks
  6. 6. D · Finds the MAC address that belongs to an IP address on the local network
  7. 7. A · Forward secrecy from ephemeral Diffie-Hellman key exchange
  8. 8. B · Make a resolver store a false IP address for a domain

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