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

In the client-server model:

  1. AServers send requests and clients answer them
  2. BAll devices must be in the same room
  3. CEvery computer stores the whole internet
  4. DClients send requests and a server provides the service
2.Easy

What is a network interface card (NIC)?

  1. AA cable that links two routers
  2. BA server that stores web pages
  3. CHardware that connects a computer to a network
  4. DSoftware that resolves domain names
3.Easy

What does a packet header mainly contain?

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

What does an MX record in DNS specify?

  1. AAn alias name for another host
  2. BThe IPv4 address of a web server
  3. CThe mail servers that accept email for a domain
  4. DThe name servers for a zone
5.Medium

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

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

How does TLS typically use asymmetric and symmetric cryptography?

  1. AOnly symmetric cryptography is used, with a fixed shared password
  2. BSymmetric methods agree keys and authenticate; asymmetric ciphers encrypt all the data
  3. COnly asymmetric cryptography is used throughout
  4. DAsymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
7.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. BThe physical cable
  3. CName resolution (DNS)
  4. DThe default gateway
8.Hard

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

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

Answer key

  1. 1. D · Clients send requests and a server provides the service
  2. 2. C · Hardware that connects a computer to a network
  3. 3. C · Control information such as source and destination addresses
  4. 4. C · The mail servers that accept email for a domain
  5. 5. C · With cookies holding a session identifier or token
  6. 6. D · Asymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  7. 7. C · Name resolution (DNS)
  8. 8. C · To lower the chance of colliding again when many stations compete

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