Why domain names are used instead of IP addresses
An easy-to-remember name, like example.com, that stands in for a numeric IP address. It must be converted into the IP address before the computer can find the web server.
Understanding Why domain names are used instead of IP addresses in IGCSE Computer Science Paper 1
What it does: The name version is short and memorable, while the number version is hard to recall and easy to mistype. The name still points to the site after the move; only the stored IP address behind the name is updated, so users keep typing the same name. People find words easier to remember than long strings of numbers. Computers still use the numeric IP address to find the server. Computers locate servers using IP addresses. The domain name must first be converted into the IP address.
Common mistakes: The DNS table is keyed by domain name, and ip does not exist yet. The lookup must use the name: ip = dns[name]. Each domain name matches one IP address, so the name is the key you look up. It should be print(table["shop.com"]), which returns the IP.
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 477–489) and word search (Modules 464–489).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
domain nameFill in the Blanks
Spot the Error
Student with a class code? Join your class →