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 application protocol transfers files using separate control and data connections?

  1. ADNS
  2. BFTP
  3. CSMTP
  4. DHTTP
2.Easy

In the client-server model:

  1. AEvery computer stores the whole internet
  2. BClients send requests and a server provides the service
  3. CServers send requests and clients answer them
  4. DAll devices must be in the same room
3.Easy

What does a VPN mainly provide?

  1. AAn encrypted tunnel across an untrusted network such as the internet
  2. BA free public IP address for every device
  3. CAutomatic backup of files to a server
  4. DA faster physical connection to the internet through a dedicated line
4.Medium

Why does a switch sometimes send a frame out of all ports except the one it came in on?

  1. AThe switch is acting as a router
  2. BThe destination MAC address is not yet in its address table
  3. CThe frame is too large for one port
  4. DThe frame has a wrong IP checksum and must be checked by every host
5.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 keeping the TCP connection open for days
  3. CBy giving each user a fixed IP address
  4. DBy storing the password in the URL
6.Medium

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

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

After repeated collisions, classic Ethernet stations choose their waiting time from a range that doubles each time. Why?

  1. ATo make the cable carry signals further
  2. BTo give the station with the highest MAC address priority on the shared cable
  3. CTo lower the chance of colliding again when many stations compete
  4. DTo synchronise all stations to one clock
8.Hard

A user can ping 8.8.8.8 but cannot open any website by name. Where is the problem most likely?

  1. AThe network card driver
  2. BName resolution (DNS)
  3. CThe physical cable
  4. DThe default gateway

Answer key

  1. 1. B · FTP
  2. 2. B · Clients send requests and a server provides the service
  3. 3. A · An encrypted tunnel across an untrusted network such as the internet
  4. 4. B · The destination MAC address is not yet in its address table
  5. 5. A · With cookies holding a session identifier or token
  6. 6. D · GET retrieves a resource, POST submits data in the request body
  7. 7. C · To lower the chance of colliding again when many stations compete
  8. 8. B · Name resolution (DNS)

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