Week 6 · Unit 3: Be a network designer · 3 lessons
1
Asking and answering
Computing 4: Unit 3, pp. 34–47
GoalExplain what a server and a client are and how they work together on a network.
New words
network · computers and devices joined together so they can share thingsclient · a computer that asks a server for somethingserver · a computer that stores things and sends them to clientsrequest · a message that asks for something
Explanation
A network is a group of computers and devices joined together so they can share files and talk to each other. Most networks have two kinds of computer: clients and servers. A client is a computer that asks for something, such as a file. The server stores the files and sends back what the client asked for. The asking is called a request and the answer is called a response. Think of a library desk: the borrower asks for a book, the librarian checks and brings it. A server often helps many clients at the same time, so it is usually faster and stronger than a client.
Worked examples
A teacher’s laptop asks the file server for the class list. The server checks the request and sends the list back. The laptop is the client and the computer that stores the files is the server.
Step
What happens
1 Request
the laptop asks for the file “Maths homework”
2 Check
the server finds out if the laptop may see the file and if the file exists
3 Response
the server sends the file back to the laptop
Every request goes through three steps: the client asks, the server checks and the server answers.
A server serves many clients at once. Here the server is the busiest computer of all. If it breaks, none of the clients can get their files until it is mended.
Class activity
Library desk (with family): one person is the server and sits behind a desk with six picture cards (a kite, a boat, a cat, a tree, a bus and a star). The others are clients. Each client writes a request on a slip: “Please send me the card with the boat.” The server checks the slip and sends the card back. Now two clients ask at the same time. What happens? How could two servers help?
Practice
1
A laptop (A) asks a computer (B) for a photo. Which one is the server and which one is the client?
B is the server. A is the client.
2
Why is a server usually faster and stronger than a client?
It must help many clients at the same time.
3
Put the steps in order: A the server sends a response, B the client sends a request, C the server checks the request.
B, C, A.
4
How many clients are there in this network?
4. The laptops, the desktop computer and the tablet are clients. The server is not a client, and the switch only joins the cables.