Computer network

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Computer network

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which best describes a computer network?
A A single computer with lots of storage
B A group of digital systems connected so they can share data
2. In a network, what is each connected device called?
A A node
B A cable
3. A school has 20 laptops connected so students can save work to one shared folder. Is this a network?
A Yes, the laptops are connected to share files
B No, because the laptops are all in the same room
4. Which is a benefit of connecting computers in a network?
A Every device needs its own printer
B Several devices can share one printer
5. Which statement about sharing an internet connection is true?
A Many devices on a network can use one internet connection
B Only one device on a network can use the internet at a time

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1network AAny single device connected to a network, such as a laptop, tablet or printer
2node BA group of digital systems connected together so they can share data
3Computers on a network can share a printer so anyone connected can print to it CA node is a single connected device, not the whole network. It should be something like node = "laptop".
4Devices on a network can share one internet connection so they can all go online Dnetwork.share("printer")
5network = [laptop] EA network needs at least two connected digital systems, so one laptop on its own is not a network. Add another node, like [laptop, printer].
6node = "the whole network" Fnetwork.share("internet")

Definitions

network

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
network = ["laptop", "tablet", "printer"] print(___(network))
2.
network = ["laptop", "tablet", "printer"] for ____ in network: print(node)
3.
network._____("printer")
4.
network = ["laptop", "router"] if "router" __ network: share_internet = True
5.
_______.share("internet")

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A nodes = ['PC', 'laptop']
B nodes.append('printer'
C print(len(nodes))
Question 2
A devices = 2
B if devices >= 2
C print('Network')
Question 3
A printer = 'Printer1'
B job = 'report.pdf'
C queue = [job]
D print(queue[1], 'to', printer)
Question 4
A connected = True
B if connected = True:
C print('Internet shared')
Question 5
A shared = []
B file = 'photo.png'
C shared.append(photo)
D print(shared)

Answer Key

Computer network
Section A: Quick Questions
Q1
B — A group of digital systems connected so they can share data
Q2
A — A node
Q3
A — Yes, the laptops are connected to share files
Q4
B — Several devices can share one printer
Q5
A — Many devices on a network can use one internet connection
Section B: Match the Pairs
Q1
network → A group of digital systems connected together so they can share data
Q2
node → Any single device connected to a network, such as a laptop, tablet or printer
Q3
Computers on a network can share a printer so anyone connected can print to it → network.share("printer")
Q4
Devices on a network can share one internet connection so they can all go online → network.share("internet")
Q5
network = [laptop] → A network needs at least two connected digital systems, so one laptop on its own is not a network. Add another node, like [laptop, printer].
Q6
node = "the whole network" → A node is a single connected device, not the whole network. It should be something like node = "laptop".
Section C: Definitions
Q1
network — A group of digital systems connected together so they can share data, files, printers and an internet connection. Each connected device is called a node.
Section D: Fill in the Blanks
Q1
network = ["laptop", "tablet", "printer"] print(len(network))
Q2
network = ["laptop", "tablet", "printer"] for node in network: print(node)
Q3
network.share("printer")
Q4
network = ["laptop", "router"] if "router" in network: share_internet = True
Q5
network.share("internet")
Section E: Spot the Error
Q1
B — The closing bracket is missing. It should be nodes.append('printer') so the printer is added as a new node on the network.
Q2
B — An if statement needs a colon at the end. It should be if devices >= 2: so the network message prints when 2 or more devices are connected.
Q3
D — The queue holds only one print job, at index 0. Index 1 does not exist. It should be queue[0] so the shared printer receives the job.
Q4
B — A single = assigns a value. To compare in an if statement, use ==. It should be if connected == True: to check the shared connection is on.
Q5
C — The variable is called file, and photo is not defined. It should be shared.append(file) so the file is added to the shared list.