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 device simply repeats every incoming signal out of all its other ports?

  1. AA switch
  2. BA router
  3. CA firewall
  4. DA hub
2.Easy

Which protocol is used to send email between mail servers?

  1. ASNMP
  2. BPOP3
  3. CIMAP
  4. DSMTP
3.Easy

In the URL https://www.example.com/index.html, which part is the host name?

  1. Ahttps
  2. Bindex.html
  3. Cwww.example.com
  4. Dexample.com/index.html
4.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 destination MAC address is not yet in its address table
  3. CThe frame is too large for one port
  4. DThe switch is acting as a router
5.Medium

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

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

What is the purpose of the TCP three-way handshake?

  1. ATo establish a connection and synchronise sequence numbers
  2. BTo find the IP address of a host before data can be sent to it
  3. CTo close a connection quickly
  4. DTo encrypt the data
7.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
8.Hard

What does BGP mainly do on the internet?

  1. AAssigns IP addresses to home users through their internet providers
  2. BEncrypts data between routers
  3. CExchanges routing information between autonomous systems
  4. DResolves names to addresses

Answer key

  1. 1. D · A hub
  2. 2. D · SMTP
  3. 3. C · www.example.com
  4. 4. B · The destination MAC address is not yet in its address table
  5. 5. C · GET retrieves a resource, POST submits data in the request body
  6. 6. A · To establish a connection and synchronise sequence numbers
  7. 7. D · The 16-bit window field limits the window to 65,535 bytes, too small for fast long-distance paths
  8. 8. C · Exchanges routing information between autonomous systems

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