Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Computer Science
  3. ›A2 Networks
  4. ›A2.1 Network fundamentals

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.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A network lets devices share data and resources
  1. 1A network lets devices share data and resources
  2. 2A LAN covers one site, but a WAN spans regions
  3. 3Each network device has one main job
  4. 4A simple network needs only a few basic components
  5. 5Networks bring clear benefits but also create new risks
  6. Check your recall
  7. Practice: 10 questions
1

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 1 done

2

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

FeatureLANWAN
Area coveredOne building or campusCities, countries or continents
OwnershipUsually one organisationOften shared, using leased lines
SpeedUsually higherUsually lower
ExampleA home or school networkThe internet
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.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the device that connects separate networks and forwards data between them.
Show answer and explanation

Answer: B · Worked explanation

A router connects separate networks, such as an office LAN and the internet, and forwards data between them. A switch is the tempting wrong answer, but it only joins devices inside one LAN. A network interface card connects a single device to the network.
3

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

DeviceJoins togetherExample
Network interface cardA device and the networkBuilt into a laptop
SwitchDevices within one LANA box in an office cupboard
RouterSeparate networksA home router linked to the internet
Wireless access pointWireless devices and a wired LANA ceiling unit in a school
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.

Common mistake

Do not confuse a switch with a router. A switch joins devices in one network, while a router joins different networks.

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 3 done

4

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
Figure 1. Devices join a switch to form a LAN, and a router links the LAN to the internet.

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.

Exam tip

When you outline a setup, name each component and state its job. A bare list of names earns few marks.

Key term

transmission medium

A transmission medium is the physical cable or radio channel that carries signals between networked devices.

Part 4 done

Quick check

One question on the part you just read

Easy

Which statement describes the main purpose of a computer network?
Show answer and explanation

Answer: D · Worked explanation

A network links devices so that they can exchange data and share resources such as printers and files. Faster processing is not its purpose, because each computer keeps its own processor. Networks still need a cable or radio channel to carry signals, so a transmission medium is always required.
5

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.

Note read

Check your recall[14 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 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. 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. 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. 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. 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.

3.

Easy·Identify[1 mark]

Identify an example of a WAN.
Show answer and explanation

Answer: A · Worked explanation

The internet links networks across the whole world, so it is the best-known WAN. A home network and a classroom network each cover one small site, so they are LANs. Two computers joined by one cable also form a very small local network, not a wide area one.
4.

Medium[1 mark]

A company has offices in two cities. Each office has its own network, and the two are linked. What best describes the combined network?
Show answer and explanation

Answer: C · Worked explanation

A network that spans different cities is a WAN, whatever its ownership. Owning both sites does not turn it into a LAN, because a LAN covers a limited area. Having a switch at each site is also true of LANs and does not decide the type. Wireless access is not what makes a network wide.
5.

Medium·Calculate[2 marks]

A switch has 8 ports. Five computers and one printer each use one port, and one port connects to a router. Calculate the number of ports still free.
Show answer and explanation

Answer: C · Worked explanation

Used ports: 5 computers + 1 printer + 1 router link = 7. Free ports: 8 − 7 = 1. The value 2 comes from forgetting the router link. The value 3 comes from counting only the computers. The value 7 is the number of ports in use, not the number free.
6.

Medium·Identify[1 mark]

A laptop has no cable socket but must join an office LAN. Identify the device that lets it do so.
Show answer and explanation

Answer: A · Worked explanation

A wireless access point lets wireless devices join a wired LAN. A second switch only adds more cable ports, which the laptop cannot use. A longer cable is useless without a socket to plug it into. A wide area network is a type of network, not a device that provides wireless access.
7.

Medium[1 mark]

Which statement about a switch is correct?
Show answer and explanation

Answer: D · Worked explanation

A switch forwards data only to the device that should receive it inside a LAN. Connecting a LAN to the internet is the job of a router, which is the tempting wrong answer. Turning a wired signal into radio waves is the job of a wireless access point. A switch does not store files.
8.

Hard[2 marks]

A small office has one switch joining all its computers. The router connects to the switch and to the internet. The switch fails. What is the most likely result?
Show answer and explanation

Answer: B · Worked explanation

Every computer and the router reach the network only through the switch, so its failure cuts all of them off from each other and from the internet. The router cannot link the computers to the internet without the switch. The printer is no more affected than the computers, because it also connects through the switch.
9.

Hard[2 marks]

Which pair correctly matches each device with its function?
Show answer and explanation

Answer: A · Worked explanation

A router joins separate networks, and a switch joins devices within one LAN. The reversed pair swaps these two jobs, which is a common mix-up. A network interface card connects a single device to the network, not different networks. A wireless access point lets wireless devices join, so that pair is also wrong.
10.

Hard·Determine[2 marks]

A lab has 48 computers, each joined to a switch by its own cable. Each switch has 24 ports, and each switch uses one port as its link to the rest of the network. Determine the smallest number of switches needed.
Show answer and explanation

Answer: C · Worked explanation

Each switch has 24 − 1 = 23 ports for computers. Two switches give 46 ports, which is fewer than 48. Three switches give 69 ports, which is enough. The value 2 comes from ignoring the port each switch uses for its link. The value 24 is the port count of one switch, not the number of switches.

Keep going

Next topicA2.2 Network architecturePrevious topicA1.4 Translation

More in A2 · Networks

  1. A2.1Network fundamentalsNotes · 10 questions
  2. A2.2Network architectureNotes · 10 questions
  3. A2.3Data transmissionNotes · 10 questions
  4. A2.4Network securityNotes · 10 questions

All IB Computer Science topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A network lets devices share data and resources
  2. 2A LAN covers one site, but a WAN spans regions
  3. 3Each network device has one main job
  4. 4A simple network needs only a few basic components
  5. 5Networks bring clear benefits but also create new risks
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe