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

What is the default port number for SSH?

  1. A110
  2. B23
  3. C22
  4. D53
2.Easy

Which IEEE standard family defines wired Ethernet?

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

In networking, a protocol is:

  1. AA program that blocks viruses
  2. BA physical cable between two devices
  3. CA list of all devices on a network
  4. DA set of rules for the format and order of messages
4.Medium

At which OSI layer does a switch normally operate?

  1. ATransport (layer 4)
  2. BNetwork (layer 3)
  3. CPhysical (layer 1)
  4. DData link (layer 2)
5.Medium

What does an MX record in DNS specify?

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

What does a subnet mask of 255.255.255.0 correspond to in CIDR notation?

  1. A/32
  2. B/8
  3. C/24
  4. D/16
7.Hard

What is the main benefit of persistent connections (keep-alive) in HTTP/1.1?

  1. ASeveral requests reuse one TCP connection, avoiding repeated handshakes
  2. BResponses can arrive in any order on one stream, so slow replies do not block others
  3. CThe connection stays encrypted without TLS
  4. DThe server can push updates over UDP
8.Hard

Why was the TCP window scale option introduced?

  1. AThe 32-bit window field was too large and wasted header space in every TCP segment sent
  2. BUDP needed a way to control its sending rate on congested paths
  3. CWithout it, TCP could not detect lost segments on long-distance links
  4. DThe 16-bit window field limits the window to 65,535 bytes, too small for fast long-distance paths

Answer key

  1. 1. C · 22
  2. 2. D · IEEE 802.3
  3. 3. D · A set of rules for the format and order of messages
  4. 4. D · Data link (layer 2)
  5. 5. C · The mail servers that accept email for a domain
  6. 6. C · /24
  7. 7. A · Several requests reuse one TCP connection, avoiding repeated handshakes
  8. 8. D · The 16-bit window field limits the window to 65,535 bytes, too small for fast long-distance paths

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