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 protocol is used to send email between mail servers?

  1. APOP3
  2. BSNMP
  3. CSMTP
  4. DIMAP
2.Easy

Which protocol lets an email client read mail while keeping messages and folders on the server?

  1. ADHCP
  2. BIMAP
  3. CSNMP
  4. DSMTP
3.Easy

Which protocol gives secure, encrypted remote login to another computer?

  1. AFTP
  2. BSNMP
  3. CSSH
  4. DTelnet
4.Medium

HTTP is stateless. How do websites usually keep a user logged in across requests?

  1. AWith cookies holding a session identifier or token
  2. BBy keeping the TCP connection open for days
  3. CBy storing the password in the URL
  4. DBy giving each user a fixed IP address
5.Medium

A browser receives HTTP status code 404. What does it mean?

  1. AThe requested resource was not found
  2. BThe client must log in first
  3. CThe server had an internal error
  4. DThe request succeeded
6.Medium

How does a stateful firewall differ from a simple packet filter?

  1. AIt encrypts every packet it forwards
  2. BIt tracks connections and allows replies that belong to established sessions
  3. CIt blocks all incoming traffic without exceptions, including replies to outgoing requests
  4. DIt only checks the MAC address of each frame
7.Hard

How does fragmentation differ in IPv6 compared with IPv4?

  1. AIPv6 does not allow packets larger than 576 bytes
  2. BIPv6 fragments at the transport layer inside TCP
  3. CRouters never fragment IPv6 packets; only the source can, using path MTU discovery
  4. DIPv6 routers fragment every packet larger than 64 bytes before forwarding it on the path
8.Hard

A firewall blocks all ICMP. Small web requests work, but large downloads over some paths hang. What is the likely cause?

  1. ATLS certificates are sent over ICMP
  2. BPath MTU discovery fails because "fragmentation needed" messages are blocked
  3. CDNS needs ICMP to resolve names
  4. DTCP cannot open connections without ICMP

Answer key

  1. 1. C · SMTP
  2. 2. B · IMAP
  3. 3. C · SSH
  4. 4. A · With cookies holding a session identifier or token
  5. 5. A · The requested resource was not found
  6. 6. B · It tracks connections and allows replies that belong to established sessions
  7. 7. C · Routers never fragment IPv6 packets; only the source can, using path MTU discovery
  8. 8. B · Path MTU discovery fails because "fragmentation needed" messages are blocked

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