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 does DNS do?

  1. ATranslates domain names into IP addresses
  2. BEncrypts web traffic
  3. CRoutes packets between networks
  4. DAssigns IP addresses to devices automatically
2.Easy

What does a packet header mainly contain?

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

Which type of cable carries data as pulses of light?

  1. ATwisted-pair cable
  2. BCoaxial cable
  3. CFibre-optic cable
  4. DShielded copper cable
4.Medium

Using even parity, which parity bit is added to the data bits 1011001?

  1. A0
  2. B1
  3. C4
  4. D2
5.Medium

Which host is in the same /16 subnet as 10.1.2.3?

  1. A10.2.2.3
  2. B10.0.2.3
  3. C11.1.2.3
  4. D10.1.200.5
6.Medium

Which TCP flag signals that a sender has finished sending data?

  1. AURG
  2. BSYN
  3. CFIN
  4. DPSH
7.Hard

The count-to-infinity problem occurs in which kind of routing protocol, and what helps against it?

  1. ALink-state; flooding link updates
  2. BStatic routing; adding default routes
  3. CDistance-vector; split horizon and poison reverse
  4. DPath-vector; longer AS paths
8.Hard

A student runs a game server on a PC behind a home NAT router. Friends on the internet cannot connect. What is the usual fix?

  1. ATurn off the PC's DNS client
  2. BConfigure port forwarding on the router to the PC's private address
  3. CChange the PC's subnet mask to /32
  4. DGive the PC a different MAC address so the router can find it from outside

Answer key

  1. 1. A · Translates domain names into IP addresses
  2. 2. A · Control information such as source and destination addresses
  3. 3. C · Fibre-optic cable
  4. 4. A · 0
  5. 5. D · 10.1.200.5
  6. 6. C · FIN
  7. 7. C · Distance-vector; split horizon and poison reverse
  8. 8. B · Configure port forwarding on the router to the PC's private address

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