Head office, Rana Pratap Bagh, Delhi011 2721 1512+91 97116 99511

Free lesson with a practice sheet

How the internet works

See how the internet connects devices: clients, servers, routers, IP addresses, domain names and data packets.

Get the whole book: Computers and coding for classes 9 and 10 (6 lessons, free to print)

Let us begin

The big idea

When you open a web page, it appears in a moment. Behind that moment, many machines in different places pass messages to each other. Let us see how it works, step by step.

The internet is a huge network of networks. Millions of computers, phones and other machines are linked by cables, radio waves and satellites. A router connects the devices in your home to the wider network.

Your device is the client. It asks for something, such as a web page. A server is a powerful computer that stores web pages and sends them when asked. This is the client-server model.

Every device on the internet has an address called an IP address. People prefer names, so we use domain names such as the name of a school website. A system called DNS works like a phone book: it turns the name into the number address.

Data does not travel in one piece. It is cut into small parts called packets. Each packet has the sender, the receiver and its number. Packets may take different routes and are put back in order at the end.

The web (websites) is only one service that runs on the internet, just as shops run on roads. Email and video calls also use the internet. A padlock in the address bar means the connection is encrypted, so others cannot read your data on the way.

A request and a replyOn the left a box called Your device, in the middle a cloud called Internet, and on the right a box called Web server. Arrows pointing right carry a request, and arrows pointing left carry the reply. Your device Internet Web server Request: please send the page Reply: here is the page
Your device asks and the server answers.

Worked examples

See how it works

  1. Opening a web page

    Step 1: you type the website name. Step 2: DNS finds the IP address. Step 3: your device sends a request to that server. Step 4: the server sends back the page in packets. Step 5: your browser puts them together and shows the page.

  2. Counting packets

    A file of 1,000 KB is sent in packets of 250 KB each. Number of packets = 1,000 / 250 = 4. If one packet goes missing, the receiver can ask for just that one again.

  3. Internet or web?

    Sending an email uses the internet but is not a web page. A news website is on the web, and the web runs on the internet. So the internet is the roads and the web is one kind of shop on those roads.

Try it at home

Packet post game

You will need

  • a sheet of paper
  • pencil
  • a friend or family member

What to do

  1. Write a short message of about 12 words on the paper.

  2. Tear the paper into 4 pieces, with about 3 words on each. Number the pieces 1 to 4.

  3. Shuffle the pieces and give them to your friend without telling the order.

  4. Your friend puts the pieces in order using the numbers and reads the message.

  5. Now remove one piece. Can your friend tell which number is missing? That is why packets are numbered.

Ask a grown-up

This is a paper-only game. No device or internet is needed. An adult can help tear the paper evenly.

Fun fact

Most of the internet traffic between countries travels through cables under the sea, where data moves as flashes of light in glass fibres.

Practice sheet

Check what you learned

Write your answers in a notebook, or print this sheet and write on it. When you finish, mark your work with the answer key.

Practice sheet: How the internet works (Classes 9-10, Computers and coding)

  1. What is the internet in simple words?
  2. In the client-server model, what is the client and what is the server?
  3. What is a router used for at home?
  4. What is an IP address?
  5. What does DNS do?
  6. Why is data sent as packets?
  7. A file of 600 KB is sent in packets of 150 KB. How many packets are needed?
  8. What is the difference between the internet and the web?
  9. What does the padlock sign in the address bar tell you?
  10. List in order the steps when you open a website.

Answer key

Answers: How the internet works

Do the practice sheet first, then check here. If an answer is different from yours, read the lesson again and try once more.

  1. A huge network of networks that connects computers and other devices all over the world.
  2. The client is the device that asks, such as your phone. The server is the computer that stores things and sends them back.
  3. It connects the devices in your home to the internet (and to each other).
  4. A number that acts as the address of a device on the network.
  5. It turns a website name into the IP address, like a phone book.
  6. Small packets can take different routes, are easier to resend if lost, and share the network fairly with others.
  7. 600 / 150 = 4 packets.
  8. The internet is the network itself. The web is one service (websites) that runs on it. Email also uses the internet.
  9. The connection is encrypted, so others cannot easily read your data on the way.
  10. Type the name, DNS finds the IP address, a request goes to the server, the server sends packets back, and the browser puts them together to show the page.

What next

Keep learning

Get the whole book

All 6 computers and coding lessons for classes 9 and 10 on one page, with every practice sheet and answer key, ready to print.

Computers and coding for classes 9 and 10

All 136 lessonsAll printable books

Find out more

Want to learn more about computers and coding?

These are free, well-known places to explore. Ask a grown-up before you sign up for anything or type your name anywhere.

More places to learn, and free reading ideas

WhatsApp us