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 DNS do?

  1. ATranslates domain names into IP addresses
  2. BAssigns IP addresses to devices automatically
  3. CEncrypts web traffic
  4. DRoutes packets between networks
2.Easy

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

  1. Ahttps
  2. Bindex.html
  3. Cexample.com/index.html
  4. Dwww.example.com
3.Easy

What does LAN stand for?

  1. ALarge access network
  2. BLogical address number
  3. CLinked application node
  4. DLocal area network
4.Medium

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

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

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

  1. A49152–65535
  2. B1024–49151
  3. C0–1023
  4. D0–65535
6.Medium

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

  1. A/16
  2. B/8
  3. C/32
  4. D/24
7.Hard

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

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

Which routing protocol is a link-state protocol?

  1. AOSPF
  2. BBGP
  3. CARP
  4. DRIP

Answer key

  1. 1. A · Translates domain names into IP addresses
  2. 2. D · www.example.com
  3. 3. D · Local area network
  4. 4. A · GET retrieves a resource, POST submits data in the request body
  5. 5. C · 0–1023
  6. 6. D · /24
  7. 7. D · Forward secrecy from ephemeral Diffie-Hellman key exchange
  8. 8. A · OSPF

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