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 device simply repeats every incoming signal out of all its other ports?

  1. AA router
  2. BA firewall
  3. CA hub
  4. DA switch
2.Easy

In networking, what does bandwidth usually refer to?

  1. AThe delay before data arrives
  2. BThe maximum data rate a link can carry
  3. CThe share of packets that are lost
  4. DThe number of hops to a destination
3.Easy

Which type of cable carries data as pulses of light?

  1. ATwisted-pair cable
  2. BShielded copper cable
  3. CFibre-optic cable
  4. DCoaxial cable
4.Medium

What is a cyclic redundancy check (CRC) used for in Ethernet frames?

  1. AEncrypting the frame
  2. BCorrecting every bit error automatically
  3. CChoosing the best route
  4. DDetecting transmission errors
5.Medium

At which OSI layer does a switch normally operate?

  1. ANetwork (layer 3)
  2. BData link (layer 2)
  3. CPhysical (layer 1)
  4. DTransport (layer 4)
6.Medium

Why is UDP often preferred for live video calls?

  1. ALow delay matters more than retransmitting every lost packet
  2. BUDP encrypts data automatically
  3. CUDP is required for all video
  4. DUDP guarantees every packet arrives, so the picture never freezes
7.Hard

What does the Diffie-Hellman key exchange achieve on its own, and what is its weakness?

  1. AIt agrees a shared secret over a public channel, but alone it is open to a man-in-the-middle
  2. BIt signs certificates for websites, but only works with short keys
  3. CIt encrypts bulk data directly over a public channel, but it is far too slow for large files and video
  4. DIt authenticates both users with passwords, but needs a central server
8.Hard

Why does TCP choose an unpredictable initial sequence number for each connection?

  1. ATo avoid confusion with old segments and make spoofed segments harder to inject
  2. BTo select the best route to the destination for the segments of that connection
  3. CTo encrypt the payload of each segment
  4. DTo compress the data more efficiently

Answer key

  1. 1. C · A hub
  2. 2. B · The maximum data rate a link can carry
  3. 3. C · Fibre-optic cable
  4. 4. D · Detecting transmission errors
  5. 5. B · Data link (layer 2)
  6. 6. A · Low delay matters more than retransmitting every lost packet
  7. 7. A · It agrees a shared secret over a public channel, but alone it is open to a man-in-the-middle
  8. 8. A · To avoid confusion with old segments and make spoofed segments harder to inject

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