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 a packet header mainly contain?

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

Which OSI layer transmits raw bits as electrical, optical or radio signals?

  1. APhysical layer
  2. BData link layer
  3. CSession layer
  4. DNetwork layer
3.Easy

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

  1. Anetstat
  2. Bnslookup
  3. Cipconfig
  4. Dtraceroute (tracert on Windows)
4.Medium

What is the purpose of the TCP three-way handshake?

  1. ATo find the IP address of a host before data can be sent to it
  2. BTo encrypt the data
  3. CTo close a connection quickly
  4. DTo establish a connection and synchronise sequence numbers
5.Medium

Which subnet mask corresponds to /20?

  1. A255.255.224.0
  2. B255.255.240.0
  3. C255.255.255.240
  4. D255.255.248.0
6.Medium

What is the main difference between the HTTP methods GET and POST?

  1. AGET uses UDP, POST uses TCP
  2. BGET retrieves a resource, POST submits data in the request body
  3. CGET is encrypted, POST is not
  4. DGET deletes a resource, POST reads it from the server's database
7.Hard

A PC can reach printers on its own subnet but nothing beyond it. Its IP address and mask are correct. What is the most likely fault?

  1. AA missing or wrong default gateway
  2. BA duplicate MAC address on the internet
  3. CA faulty DNS server setting
  4. DThe TCP window is too small
8.Hard

By Shannon's theorem, what is the capacity of a 1 MHz channel with a signal-to-noise ratio of 255?

  1. A255 Mbit/s
  2. B1 Mbit/s
  3. C8 Mbit/s
  4. D2 Mbit/s

Answer key

  1. 1. C · Control information such as source and destination addresses
  2. 2. A · Physical layer
  3. 3. D · traceroute (tracert on Windows)
  4. 4. D · To establish a connection and synchronise sequence numbers
  5. 5. B · 255.255.240.0
  6. 6. B · GET retrieves a resource, POST submits data in the request body
  7. 7. A · A missing or wrong default gateway
  8. 8. C · 8 Mbit/s

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