• 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

Protocols
ProtocolPurpose
HTTP / HTTPSTransfers web pages; HTTPS adds encryption
FTPTransfers files between computers
SMTPSends e-mail
TCP/IPThe 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.

— Rule to remember

Key takeaways: protocols are rules, DNS maps names to IP addresses, and each IPv4 part is at most 255.

Check your understanding

  1. 1. Which protocol transfers files between computers?

    1. SMTP
    2. DNS
    3. HTTP
    4. FTP
    Show answer

    Answer: D. FTP stands for File Transfer Protocol.

  2. 2. Which protocol is used to send e-mail?

    1. FTP
    2. SMTP
    3. DNS
    4. HTTP
    Show answer

    Answer: B. SMTP is the protocol for sending e-mail.

  3. 3. Which of these is a valid IPv4 address?

    1. 192.168.1.300
    2. 10.0.256.1
    3. 172.16.5.9
    4. 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. 4. In the client-server model, which side requests the service?

    1. The client
    2. The server
    3. The router
    4. The hub
    Show answer

    Answer: A. A server provides the service or data; a client requests it, as a browser does.

  5. 5. How does HTTPS differ from HTTP?

    1. HTTPS transfers only files
    2. HTTPS sends e-mail
    3. HTTPS encrypts the data exchanged
    4. 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.

Next lesson → Networking mixed practice

Privacy · Terms · Refunds · Delivery