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 protocol automatically gives devices an IP address on a local network?

  1. ADHCP
  2. BDNS
  3. CFTP
  4. DSMTP
2.Easy

How many bits does an IPv4 address have?

  1. A128
  2. B64
  3. C16
  4. D32
3.Easy

Which type of cable carries data as pulses of light?

  1. AFibre-optic cable
  2. BCoaxial cable
  3. CTwisted-pair cable
  4. DShielded copper cable
4.Medium

What is the role of a default gateway on a host?

  1. AIt is the switch port the host is connected to
  2. BIt assigns MAC addresses
  3. CIt is the router used for traffic to other networks
  4. DIt is the DNS server
5.Medium

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

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

How does TLS typically use asymmetric and symmetric cryptography?

  1. AOnly asymmetric cryptography is used throughout
  2. BAsymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  3. CSymmetric methods agree keys and authenticate; asymmetric ciphers encrypt all the data
  4. DOnly symmetric cryptography is used, with a fixed shared password
7.Hard

A firewall blocks all ICMP. Small web requests work, but large downloads over some paths hang. What is the likely cause?

  1. ATLS certificates are sent over ICMP
  2. BTCP cannot open connections without ICMP
  3. CDNS needs ICMP to resolve names
  4. DPath MTU discovery fails because "fragmentation needed" messages are blocked
8.Hard

Which routing protocol is a link-state protocol?

  1. ARIP
  2. BARP
  3. COSPF
  4. DBGP

Answer key

  1. 1. A · DHCP
  2. 2. D · 32
  3. 3. A · Fibre-optic cable
  4. 4. C · It is the router used for traffic to other networks
  5. 5. C · GET retrieves a resource, POST submits data in the request body
  6. 6. B · Asymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  7. 7. D · Path MTU discovery fails because "fragmentation needed" messages are blocked
  8. 8. C · OSPF

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