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 default port number for DNS?

  1. A67
  2. B53
  3. C161
  4. D80
2.Easy

Which application protocol is used to request web pages from a web server?

  1. ASMTP
  2. BARP
  3. CHTTP
  4. DSNMP
3.Easy

Which type of cable carries data as pulses of light?

  1. AShielded copper cable
  2. BFibre-optic cable
  3. CCoaxial cable
  4. DTwisted-pair cable
4.Medium

What is the usual order of messages when a client obtains an address from DHCP?

  1. AOffer, Discover, Acknowledge, Request
  2. BDiscover, Offer, Request, Acknowledge
  3. CDiscover, Request, Offer, Acknowledge
  4. DRequest, Offer, Discover, Acknowledge
5.Medium

Which TCP flag signals that a sender has finished sending data?

  1. ASYN
  2. BURG
  3. CPSH
  4. DFIN
6.Medium

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

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

Why does a browser warn when a site presents a self-signed certificate?

  1. ANo trusted certificate authority vouches that the key belongs to that site
  2. BThe certificate is always expired
  3. CThe site must be using HTTP instead of HTTPS
  4. DSelf-signed certificates use no encryption at all, so the traffic is sent in clear text
8.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. BUsing a longer domain name
  3. CSending the certificate twice
  4. DForward secrecy from ephemeral Diffie-Hellman key exchange

Answer key

  1. 1. B · 53
  2. 2. C · HTTP
  3. 3. B · Fibre-optic cable
  4. 4. B · Discover, Offer, Request, Acknowledge
  5. 5. D · FIN
  6. 6. C · /24
  7. 7. A · No trusted certificate authority vouches that the key belongs to that site
  8. 8. D · Forward secrecy from ephemeral Diffie-Hellman key exchange

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