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 command shows the routers a packet passes through on its way to a destination?

  1. Anslookup
  2. Btraceroute (tracert on Windows)
  3. Cipconfig
  4. Dnetstat
2.Easy

Which IEEE standard family defines wired Ethernet?

  1. AIEEE 802.3
  2. BIEEE 802.16
  3. CIEEE 802.5
  4. DIEEE 802.11
3.Easy

What is the main job of a firewall?

  1. ATo speed up downloads by caching files
  2. BTo allow or block traffic according to security rules
  3. CTo assign IP addresses to hosts
  4. DTo convert domain names into addresses
4.Medium

HTTP is stateless. How do websites usually keep a user logged in across requests?

  1. AWith cookies holding a session identifier or token
  2. BBy storing the password in the URL
  3. CBy keeping the TCP connection open for days
  4. DBy giving each user a fixed IP address
5.Medium

How many usable host addresses does a /26 IPv4 subnet have?

  1. A64
  2. B126
  3. C30
  4. D62
6.Medium

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

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

Hosts in VLAN 10 and VLAN 20 on the same switch cannot communicate. What is needed?

  1. AA hub connected to both VLANs
  2. BA router or layer 3 switch to route between the VLANs
  3. CA longer cable between the hosts
  4. DThe same MAC address on both hosts
8.Hard

Which routing protocol is a link-state protocol?

  1. AARP
  2. BBGP
  3. CRIP
  4. DOSPF

Answer key

  1. 1. B · traceroute (tracert on Windows)
  2. 2. A · IEEE 802.3
  3. 3. B · To allow or block traffic according to security rules
  4. 4. A · With cookies holding a session identifier or token
  5. 5. D · 62
  6. 6. D · GET retrieves a resource, POST submits data in the request body
  7. 7. B · A router or layer 3 switch to route between the VLANs
  8. 8. D · OSPF

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