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 encapsulation in layered networking?

  1. AEach layer adds its own header to the data from the layer above
  2. BCompressing packets to save bandwidth
  3. CEncrypting all data before sending it
  4. DEach layer removes the header added by the layer above before sending
2.Easy

What does a packet header mainly contain?

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

Which application protocol transfers files using separate control and data connections?

  1. ASMTP
  2. BFTP
  3. CDNS
  4. DHTTP
4.Medium

What is the network address of the host 192.168.10.77/26?

  1. A192.168.10.76
  2. B192.168.10.0
  3. C192.168.10.64
  4. D192.168.10.128
5.Medium

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

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

How does TLS typically use asymmetric and symmetric cryptography?

  1. AOnly asymmetric cryptography is used throughout
  2. BSymmetric methods agree keys and authenticate; asymmetric ciphers encrypt all the data
  3. CAsymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  4. DOnly symmetric cryptography is used, with a fixed shared password
7.Hard

How does fragmentation differ in IPv6 compared with IPv4?

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

What is the main benefit of persistent connections (keep-alive) in HTTP/1.1?

  1. AThe connection stays encrypted without TLS
  2. BThe server can push updates over UDP
  3. CSeveral requests reuse one TCP connection, avoiding repeated handshakes
  4. DResponses can arrive in any order on one stream, so slow replies do not block others

Answer key

  1. 1. A · Each layer adds its own header to the data from the layer above
  2. 2. A · Control information such as source and destination addresses
  3. 3. B · FTP
  4. 4. C · 192.168.10.64
  5. 5. A · It tracks connections and allows replies that belong to established sessions
  6. 6. C · Asymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  7. 7. A · Routers never fragment IPv6 packets; only the source can, using path MTU discovery
  8. 8. C · Several requests reuse one TCP connection, avoiding repeated handshakes

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