IB Computer Science · A2 · Networks
A2.1 Network fundamentals
Describe why networks exist, distinguish LANs from WANs, and identify the devices needed to build a simple network.
1/5A network lets devices share data and resources
Part 1 of 5: A network lets devices share data and resources
Imagine a school where every classroom needs its own printer and its own copy of every file. That would be costly and hard to manage, so a computer network links the devices and lets them exchange data.
A network serves four main purposes.
- sharing files and data between users
- sharing hardware, such as printers and an internet connection
- communicating through email, messaging and video calls
- storing data centrally, so one backup can protect everyone’s work
Sharing hardware cuts cost because one printer serves many people. Central management also saves time, since updates can be applied from one place.
Key term
computer network
A computer network is a set of two or more devices connected so that they can exchange data and share resources.
Part 2 of 5: A LAN covers one site, but a WAN spans regions
Once devices are linked, the next question is how far the network reaches. A school network covers one building or campus, which makes it a local area network (LAN). A network linking sites in different cities or countries is a wide area network (WAN).
Comparing LANs and WANs
- Feature
- Area covered
- LAN
- One building or campus
- WAN
- Cities, countries or continents
- Feature
- Ownership
- LAN
- Usually one organisation
- WAN
- Often shared, using leased lines
- Feature
- Speed
- LAN
- Usually higher
- WAN
- Usually lower
- Feature
- Example
- LAN
- A home or school network
- WAN
- The internet
The internet is the best-known WAN. Many organisations also build private WANs to link their own offices. Because a LAN sits on one site, a single team can cable it and look after it. A WAN usually depends on links run by other companies, so its owner has less direct control.
Key terms · tap one for its definition
local area network
A local area network is a network that connects devices within a limited area, such as one building or campus.
wide area network
A wide area network is a network that connects devices or LANs across a large geographical area, such as between cities or countries.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 5: Each network device has one main job
Linking devices needs hardware, and each item has a distinct role. A network interface card (NIC) lets a device connect to a network. A switch joins devices inside a LAN through its ports. It sends data only to the device that should receive it. A router joins separate networks, such as a LAN and the internet.
Where common devices sit
- Device
- Network interface card
- Joins together
- A device and the network
- Example
- Built into a laptop
- Device
- Switch
- Joins together
- Devices within one LAN
- Example
- A box in an office cupboard
- Device
- Router
- Joins together
- Separate networks
- Example
- A home router linked to the internet
- Device
- Wireless access point
- Joins together
- Wireless devices and a wired LAN
- Example
- A ceiling unit in a school
In a home, one box often combines a router, a switch and a wireless access point. The jobs are still separate, even when one piece of hardware performs all of them.
Key terms · tap one for its definition
network interface card
A network interface card is the hardware inside a device that connects it to a network and sends and receives its data.
switch
A switch is a network device that connects devices within a LAN and forwards data only to its intended destination.
router
A router is a network device that connects separate networks and forwards data between them along a suitable route.
Part 4 of 5: A simple network needs only a few basic components
Suppose you are setting up a small office with four computers and a printer. Each part of the chain from device to internet must be in place.
- devices, each fitted with a network interface card
- a transmission medium, such as copper cable, fibre-optic cable or radio waves
- a switch to join the devices into one LAN
- a router to link the LAN to the internet
- a wireless access point, if wireless devices are needed
Each device also needs a unique address so that data reaches the right place. Software settings then tell each device how to use the network.
Key term
transmission medium
A transmission medium is the physical cable or radio channel that carries signals between networked devices.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: D · Worked explanation
Part 5 of 5: Networks bring clear benefits but also create new risks
Having built a network, you also take on new responsibilities. The benefits are real, but each one comes with a cost that planners must weigh.
- Benefit: shared resources lower costs and make teamwork easier
- Benefit: central management makes updates and backups simpler
- Risk: a failed switch or router can stop many users at once
- Risk: connected devices can be targeted by attackers
- Cost: equipment, cabling and skilled maintenance
A good design weighs these points together. Extra equipment can reduce the risk of one failure stopping everyone, but it also raises the cost.
Check your recall[14 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.State[2 marks]
State two purposes of a computer network.
Show mark schemeHide mark scheme
Model answer
Sharing files and data between users, and sharing hardware such as printers.
- 1 mark for stating one valid purpose, such as sharing files or data
- 1 mark for stating a second valid purpose, such as sharing hardware or enabling communication
- 2.Distinguish[3 marks]
Distinguish between a LAN and a WAN.
Show mark schemeHide mark scheme
Model answer
A LAN covers a limited area such as one building and is usually owned by one organisation. A WAN covers a large area such as several cities. The internet is an example of a WAN.
- 1 mark for stating that a LAN covers a limited area such as one building or campus
- 1 mark for stating that a WAN covers a large geographical area such as cities or countries
- 1 mark for giving a further difference, such as ownership, speed or an example
- 3.Describe[3 marks]
Describe the functions of a switch and a router.
Show mark schemeHide mark scheme
Model answer
A switch connects devices within one LAN. It forwards data only to the intended device. A router connects separate networks, such as a LAN and the internet, and forwards data between them.
- 1 mark for stating that a switch connects devices within one LAN
- 1 mark for stating that a switch sends data only to the intended device
- 1 mark for stating that a router connects separate networks and forwards data between them
- 4.Outline[4 marks]
Outline the components needed to connect four computers and a printer to the internet in a small office.
Show mark schemeHide mark scheme
Model answer
Each device needs a network interface card. A transmission medium, such as cable, carries the signals. A switch joins the devices into one LAN. A router links the LAN to the internet.
- 1 mark for stating that each device needs a network interface card
- 1 mark for stating that a transmission medium such as cable carries the signals
- 1 mark for stating that a switch joins the devices into one LAN
- 1 mark for stating that a router links the LAN to the internet
- 5.Explain[2 marks]
Explain why a router is needed when an office LAN must reach the internet.
Show mark schemeHide mark scheme
Model answer
The office LAN and the internet are separate networks. A router connects them and forwards data between them.
- 1 mark for stating that the LAN and the internet are separate networks
- 1 mark for explaining that a router connects them and forwards data between them

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: A · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: C · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: A · Worked explanation
Medium[1 mark]
Show answer and explanation
Answer: D · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: B · Worked explanation
Hard[2 marks]
Show answer and explanation
Answer: A · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation