← IGCSE Computer Science Paper 1

Static IP address

An IP address that is set once, usually by hand, and stays the same every time the device connects, so the device always has a predictable address.

Understanding Static IP address in IGCSE Computer Science Paper 1

What it does: The same address appears on both days, showing that a static IP address stays the same every time the device connects. Choosing Manual and typing in the address is how a static IP address is set once by hand. A server needs a predictable address so other devices can always find it. A visitor's phone can use any address. A static address does not change, so the printer keeps 192.168.1.50 after a restart.

Common mistakes: A static IP address is set manually by a person, not automatically by the network. Line 4 should be setBy ← "manual". An address that is set once and kept is a static IP address, not a dynamic one. Line 2 should be type ← "static".

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 342–354) and word search (Modules 325–354).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
A static IP address changes every time the device connects to the network.
FalseTrue
Matches
A static IP address changes each time the device connects
↓
This describes a dynamic IP address. A static IP address stays the same every time the device connects.
Applying
Meanings
Term
static IP address
Meaning
An IP address that is set once, usually by hand, and stays the same every time the device connects, so the device always has a predictable address.
Practice
device ← "Printer"
Testing
Gaps
ipAddress
Check Answer
Spots
3type ← "static"
4setBy ← "automatic"

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'African Wild Dog' badge — Savannah Streak, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. A static IP address changes every time the device connects to the network.
A. True
B. False ✓
A static IP address is set once and stays the same every time the device connects. It does not change.
2. Which describes how a static IP address is usually set?
A. Set manually by a person ✓
B. Handed out by the network each time
A static address is usually typed in by hand. Addresses handed out automatically each time are dynamic.
3. Which device is most likely to need a static IP address?
A. A web server that must always be found at the same address ✓
B. A visitor's phone joining the school Wi-Fi for an hour
A server needs a predictable address so other devices can always find it. A visitor's phone can use any address.
4. A printer has the static IP address 192.168.1.50. After a restart, what is its address?
A. 192.168.1.50 ✓
B. A new, different address
A static address does not change, so the printer keeps 192.168.1.50 after a restart.
5. Which is a benefit of a static IP address?
A. The address is different each day
B. The address is predictable ✓
The main benefit of a static address is that it is predictable. You always know what it will be.

Match the Pairs

static IP address → An IP address that is set once, usually by hand, and stays the same every time the device connects
IP address: 192.168.1.50 (set manually) → A static IP address that was typed in by hand and gives the device a predictable address
A static IP address does not change when the device disconnects and reconnects → Monday: 192.168.1.50, Tuesday: 192.168.1.50
A static IP address is set manually by a person, not given out automatically → Network settings: Manual, IP = 192.168.1.50
A static IP address changes each time the device connects → This describes a dynamic IP address. A static IP address stays the same every time the device connects.
A static IP address is given out automatically by the network each time → A static IP address is usually set manually and then kept. Automatic allocation that can change each time is a dynamic IP address.

Key Term

static IP address
An IP address that is set once, usually by hand, and stays the same every time the device connects, so the device always has a predictable address.

Fill in the Blanks

1. INPUT ipAddress
Hint: Type the keyword that reads in a value typed by hand, like an address set manually.
2. IF ipMode = "static" THEN
Hint: Type the keyword that follows the condition, before the code that runs when it is true.
3. ipAddress ← "192.168.1.20" OUTPUT ipAddress
Hint: Type the variable name that holds the address set on the first line.
4. ipMode ← "static" IF ipMode = "static" THEN OUTPUT "Address never changes"
Hint: Type the comparison operator that checks whether the mode equals the text.
5. IF ipMode = "static" THEN OUTPUT "Same address" ENDIF
Hint: Type the keyword that closes the selection block.

Spot the Error

Question 1
A device ← "Printer"
B ip ← "192.168.1.50"
C type ← "static"
D setBy ← "automatic"
Line D — A static IP address is set manually by a person, not automatically by the network. Line 4 should be setBy ← "manual".
Question 2
A ip ← "10.0.0.20"
B type ← "dynamic"
C OUTPUT ip
Line B — An address that is set once and kept is a static IP address, not a dynamic one. Line 2 should be type ← "static".
Question 3
A ip ← "192.168.0.5"
B FOR day ← 1 TO 3
C CONNECT(server)
D ip ← GET_NEW_ADDRESS()
E NEXT day
Line D — A static IP address does not change when the device connects again. The loop should keep using the same ip, so line 4 should be OUTPUT ip.
Question 4
A ip ← "172.16.0.9"
B CONNECT(camera)
C OUTPUT "New address: ", ip
Line C — A static IP address stays the same every time the device connects, so the output should say the address is the same, not new.
Question 5
A ip ← "192.168.1.10"
B type ← "static"
C predictable ← FALSE
Line C — A static IP address is predictable because it never changes, so other devices always know where to find it. Line 3 should be predictable ← TRUE.

Student with a class code? Join your class →