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 transport protocol provides reliable, ordered delivery with acknowledgements?

  1. AUDP
  2. BTCP
  3. CICMP
  4. DIP
2.Easy

What is a network interface card (NIC)?

  1. AA cable that links two routers
  2. BSoftware that resolves domain names
  3. CA server that stores web pages
  4. DHardware that connects a computer to a network
3.Easy

What is encapsulation in layered networking?

  1. ACompressing packets to save bandwidth
  2. BEncrypting all data before sending it
  3. CEach layer removes the header added by the layer above before sending
  4. DEach layer adds its own header to the data from the layer above
4.Medium

Which protocol does the "ping" command use?

  1. AUDP
  2. BTCP
  3. CICMP
  4. DHTTP
5.Medium

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

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

Why does Wi-Fi use collision avoidance (CSMA/CA) instead of collision detection?

  1. AWi-Fi only allows one device per network
  2. BRadio signals never collide
  3. CCollision detection only works on fibre cables, not on shared wireless radio channels
  4. DA wireless station cannot reliably detect collisions while it is transmitting
7.Hard

Hosts in VLAN 10 and VLAN 20 on the same switch cannot communicate. What is needed?

  1. AA longer cable between the hosts
  2. BA router or layer 3 switch to route between the VLANs
  3. CThe same MAC address on both hosts
  4. DA hub connected to both VLANs
8.Hard

What does TCP fast retransmit do?

  1. ADoubles the window after every loss
  2. BSkips the three-way handshake when reconnecting to known hosts, so data is resent sooner
  3. CResends every segment twice to be safe
  4. DResends a segment after three duplicate ACKs, without waiting for the timeout

Answer key

  1. 1. B · TCP
  2. 2. D · Hardware that connects a computer to a network
  3. 3. D · Each layer adds its own header to the data from the layer above
  4. 4. C · ICMP
  5. 5. B · With cookies holding a session identifier or token
  6. 6. D · A wireless station cannot reliably detect collisions while it is transmitting
  7. 7. B · A router or layer 3 switch to route between the VLANs
  8. 8. D · Resends a segment after three duplicate ACKs, without waiting for the timeout

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