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 protocol is used to send email between mail servers?

  1. ASMTP
  2. BIMAP
  3. CPOP3
  4. DSNMP
2.Easy

Which protocol gives secure, encrypted remote login to another computer?

  1. ASNMP
  2. BSSH
  3. CFTP
  4. DTelnet
3.Easy

Which IPv4 address is the standard loopback address of a host?

  1. A255.255.255.255
  2. B0.0.0.0
  3. C192.168.0.1
  4. D127.0.0.1
4.Medium

How does TLS typically use asymmetric and symmetric cryptography?

  1. AOnly symmetric cryptography is used, with a fixed shared password
  2. BAsymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  3. COnly asymmetric cryptography is used throughout
  4. DSymmetric methods agree keys and authenticate; asymmetric ciphers encrypt all the data
5.Medium

What is the usual order of messages when a client obtains an address from DHCP?

  1. ADiscover, Offer, Request, Acknowledge
  2. BRequest, Offer, Discover, Acknowledge
  3. CDiscover, Request, Offer, Acknowledge
  4. DOffer, Discover, Acknowledge, Request
6.Medium

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

  1. A0
  2. B4
  3. C1
  4. D2
7.Hard

An attacker on a LAN sends forged ARP replies claiming the gateway's IP address. What is the likely result?

  1. AThe gateway's IP address is permanently changed to the attacker's address on every router
  2. BAll DNS queries fail across the internet
  3. CVictims send traffic for the gateway to the attacker, enabling a man-in-the-middle attack
  4. DThe switch shuts down all of its ports
8.Hard

What does the Diffie-Hellman key exchange achieve on its own, and what is its weakness?

  1. AIt encrypts bulk data directly over a public channel, but it is far too slow for large files and video
  2. BIt authenticates both users with passwords, but needs a central server
  3. CIt signs certificates for websites, but only works with short keys
  4. DIt agrees a shared secret over a public channel, but alone it is open to a man-in-the-middle

Answer key

  1. 1. A · SMTP
  2. 2. B · SSH
  3. 3. D · 127.0.0.1
  4. 4. B · Asymmetric methods agree keys and authenticate; symmetric ciphers encrypt the data
  5. 5. A · Discover, Offer, Request, Acknowledge
  6. 6. A · 0
  7. 7. C · Victims send traffic for the gateway to the attacker, enabling a man-in-the-middle attack
  8. 8. D · It agrees a shared secret over a public channel, but alone it is open to a man-in-the-middle

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