- Practice
- About 13 min
- 5 practice questions
Protocols, IP addresses and the client-server model
Explain common protocols, IP addresses, DNS and the client-server idea in exam-ready terms.
If something looks wrong, please tell us.
A protocol is a set of agreed rules for communication between devices. Without protocols, computers from different makers could not talk to each other.
Important protocols
| Protocol | Purpose |
|---|---|
| HTTP / HTTPS | Transfers web pages; HTTPS adds encryption |
| FTP | Transfers files between computers |
| SMTP | Sends e-mail |
| TCP/IP | The basic rules of the internet: IP addresses and delivers, TCP makes sure data arrives complete and in order |
| DNS (Domain Name System) | Converts a name like example.com into an IP address |
IP addresses and client-server
An IP address identifies a device on a network. In the older IPv4 form it is four numbers, each from 0 to 255, separated by dots, such as 192.168.1.10. In the client-server model, a server provides a service or data and a client requests it; a web browser is a client and a web site runs on a server.
Worked examples
Example 1. Is 192.168.1.300 a valid IPv4 address? No. The last number, 300, is above 255.
Example 2. You type a website name and your computer needs its number. Which service finds it? DNS.
DNS turns names into numbers. IPv4 numbers run from 0 to 255 in each of four parts.
Key takeaways: protocols are rules, DNS maps names to IP addresses, and each IPv4 part is at most 255.
Check your understanding
-
1. Which protocol transfers files between computers?
- SMTP
- DNS
- HTTP
- FTP
Show answer
Answer: D. FTP stands for File Transfer Protocol.
-
2. Which protocol is used to send e-mail?
- FTP
- SMTP
- DNS
- HTTP
Show answer
Answer: B. SMTP is the protocol for sending e-mail.
-
3. Which of these is a valid IPv4 address?
- 192.168.1.300
- 10.0.256.1
- 172.16.5.9
- 256.10.10.10
Show answer
Answer: C. Each of the four numbers must be from 0 to 255. Only 172.16.5.9 has all four in range.
-
4. In the client-server model, which side requests the service?
- The client
- The server
- The router
- The hub
Show answer
Answer: A. A server provides the service or data; a client requests it, as a browser does.
-
5. How does HTTPS differ from HTTP?
- HTTPS transfers only files
- HTTPS sends e-mail
- HTTPS encrypts the data exchanged
- HTTPS translates names into IP addresses
Show answer
Answer: C. Both transfer web pages; HTTPS adds encryption.
Sign in to keep track of the lessons you finish.