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. AClients send requests and a server provides the service
  2. BEvery computer stores the whole internet
  3. CServers send requests and clients answer them
  4. DAll devices must be in the same room
2.Easy

What is the broadcast address of the network 192.168.1.0/24?

  1. A192.168.1.255
  2. B255.255.255.0
  3. C192.168.1.0
  4. D192.168.1.1
3.Easy

What is the default port number for DNS?

  1. A80
  2. B161
  3. C67
  4. D53
4.Medium

Using even parity, which parity bit is added to the data bits 1011001?

  1. A2
  2. B4
  3. C0
  4. D1
5.Medium

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

  1. AThe frame has a wrong IP checksum and must be checked by every host
  2. BThe switch is acting as a router
  3. CThe destination MAC address is not yet in its address table
  4. DThe frame is too large for one port
6.Medium

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

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

What does TCP fast retransmit do?

  1. ADoubles the window after every loss
  2. BResends a segment after three duplicate ACKs, without waiting for the timeout
  3. CSkips the three-way handshake when reconnecting to known hosts, so data is resent sooner
  4. DResends every segment twice to be safe
8.Hard

What is the maximum transmission unit (MTU) of standard Ethernet payload?

  1. A64 bytes
  2. B9000 bytes in every network
  3. C1500 bytes
  4. D65,535 bytes

Answer key

  1. 1. A · Clients send requests and a server provides the service
  2. 2. A · 192.168.1.255
  3. 3. D · 53
  4. 4. C · 0
  5. 5. C · The destination MAC address is not yet in its address table
  6. 6. C · With cookies holding a session identifier or token
  7. 7. B · Resends a segment after three duplicate ACKs, without waiting for the timeout
  8. 8. C · 1500 bytes

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