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 type of cable carries data as pulses of light?

  1. AShielded copper cable
  2. BTwisted-pair cable
  3. CFibre-optic cable
  4. DCoaxial cable
2.Easy

Which command shows the routers a packet passes through on its way to a destination?

  1. Atraceroute (tracert on Windows)
  2. Bipconfig
  3. Cnslookup
  4. Dnetstat
3.Easy

What does DNS do?

  1. AAssigns IP addresses to devices automatically
  2. BRoutes packets between networks
  3. CEncrypts web traffic
  4. DTranslates domain names into IP addresses
4.Medium

Which of these is a private IPv4 address range?

  1. A192.168.0.0/16
  2. B100.0.0.0/8
  3. C8.8.8.0/24
  4. D200.1.1.0/24
5.Medium

A router has routes for 10.0.0.0/8 and 10.1.0.0/16. Which route does it use for a packet to 10.1.5.5?

  1. A10.1.0.0/16, because it is the longest matching prefix
  2. B10.0.0.0/8, because it covers more addresses than the /16
  3. CBoth routes, splitting the traffic equally
  4. D10.0.0.0/8, because it was added first
6.Medium

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

  1. ADiscover, Offer, Request, Acknowledge
  2. BRequest, Offer, Discover, Acknowledge
  3. CDiscover, Request, Offer, Acknowledge
  4. DOffer, Discover, Acknowledge, Request
7.Hard

Which routing protocol is a link-state protocol?

  1. ABGP
  2. BOSPF
  3. CARP
  4. DRIP
8.Hard

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

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

Answer key

  1. 1. C · Fibre-optic cable
  2. 2. A · traceroute (tracert on Windows)
  3. 3. D · Translates domain names into IP addresses
  4. 4. A · 192.168.0.0/16
  5. 5. A · 10.1.0.0/16, because it is the longest matching prefix
  6. 6. A · Discover, Offer, Request, Acknowledge
  7. 7. B · OSPF
  8. 8. B · To avoid confusion with old segments and make spoofed segments harder to inject

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