wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Client-Server Interaction: Network Communication Fundamentals

Total questions: 62

Worksheet time: 31mins

Name
Class
Date
1.

What is the foundational paradigm for network communication that enables countless applications and services we use daily?

a)

Peer-to-peer model

b)

Client-server model

c)

Ring topology

d)

Mesh network

2.

In the client-server model, who initiates communication by requesting services?

a)

The client

b)

The server

c)

The database

d)

The network

3.

The fundamental dynamic in a client-server interaction is that a client initiates and a server responds.

a)

True

b)

False

4.

In any client-server interaction, the ______ is the initiator of communication, while the ______ is the responder, listening for and fulfilling requests.

a)

client, server

b)

server, client

c)

host, peer

d)

user, administrator

5.

What is the main role of the client in a client-server interaction?

a)

To respond to requests by providing services

b)

To initiate communication by requesting services from a server

c)

To process valid requests and return data

d)

To passively listen for incoming requests

6.

Which of the following is an example of a client?

a)

Web server (like Apache)

b)

Email server (like Exchange)

c)

Web browser (like Chrome, Firefox)

d)

Database server (like MySQL)

7.

Fill in the blank: The entity that responds to requests by providing the requested services or resources is called the _______.

a)

Server

b)

Client

c)

Router

d)

Database

8.

Which of the following best describes a 'Requester' in the context of a client?

a)

Passively listens for incoming requests

b)

Processes valid requests and returns data

c)

Actively sends requests to a server to obtain information or trigger an action

d)

Seeks information or functionality from servers

9.

Which of the following is NOT an example of a server?

a)

Web server (like Apache)

b)

Email client (like Outlook)

c)

Database server (like MySQL)

d)

Email server (like Exchange)

10.

What is the role of a 'Listener' in the context of a server?

a)

Actively sends requests to a server

b)

Passively listens for incoming requests on specific network channels

c)

Seeks information from servers

d)

Provides examples of web browsers

11.

What does an IP address (Internet Protocol address) serve as in a computer network?

a)

A) A type of software

b)

B) A unique numerical label assigned to each device

c)

C) A physical cable

d)

D) A wireless signal

12.

Which of the following is NOT a function of an IP address?

a)

A) Unique Identification

b)

B) Data Routing

c)

C) Communication Foundation

d)

D) Virus Protection

13.

Fill in the blank: IP addresses act as unique ________ for devices on a network, distinguishing one computer from another.

a)

identifiers

b)

locations

c)

passwords

d)

routers

14.

What is the IP address of the client device shown in the network diagram?

a)

192.168.1.100

b)

192.168.1.1

c)

10.0.0.5

d)

172.16.0.10

15.

What is the main function of a port number in a network connection?

a)

It identifies the device on the network

b)

It acts as a virtual channel to direct data to the correct application

c)

It provides internet access

d)

It encrypts data packets

16.

What does the Virtual Channel Concept enable a server to do?

a)

Host only one service at a time

b)

Host multiple services on different ports using the same IP address

c)

Only run web services

d)

Only run database services

17.

Which of the following is NOT a transport protocol mentioned under Connection Types?

a)

TCP

b)

UDP

c)

FTP

d)

None of the above

18.

Fill in the blank: Ports are crucial for directing incoming network traffic to the specific ______ or application that is meant to receive it.

a)

process

b)

protocol

c)

device

d)

router

19.

True or False: An IP address alone is enough to uniquely identify a specific network endpoint for an application.

a)

True

b)

False

20.

A socket address is the combination of an IP address and a ________.

a)

port number

b)

subnet mask

c)

MAC address

d)

gateway

21.

According to the formula for a precise network connection, what two components are combined to form a socket address?

a)

A) IP Address and MAC Address

b)

B) IP Address and Port Number

c)

C) Port Number and Protocol

d)

D) Protocol and MAC Address

22.

Which layer in the OSI Model is responsible for applications such as HTTP, FTP, and SMTP?

a)

Layer 7: Application

b)

Layer 4: Transport

c)

Layer 2: Data Link

d)

Layer 3: Network

23.

Which layer in the TCP/IP Model is responsible for IP addresses?

a)

Layer 2: Internet

b)

Layer 1: Network Access

c)

Layer 3: Transport

d)

Layer 4: Application

24.

At which layer do IP addresses operate in the OSI Model?

a)

Layer 3: Network

b)

Layer 1: Physical

c)

Layer 2: Data Link

d)

Layer 4: Transport

25.

At which layer do port numbers operate in the TCP/IP Model?

a)

Layer 3: Transport

b)

Layer 1: Network Interface

c)

Layer 2: Internet

d)

Layer 4: Application

26.

In the OSI Model, the Presentation layer is Layer 6.

a)

True

b)

False

27.

In the TCP/IP Model, the Application layer is Layer 1.

a)

True

b)

False

28.

What is the first step in establishing a client-server connection?

a)

Connection Initiation

b)

DNS Resolution

c)

Client-Side Port Allocation

d)

Socket-to-Socket Connection

29.

Fill in the blank: The process often begins with a human-readable domain name (e.g., www.example.com). The client's first step is to use the _______ to translate this domain name into the server's numerical IP address.

a)

Domain Name System (DNS)

b)

Hypertext Transfer Protocol (HTTP)

c)

File Transfer Protocol (FTP)

d)

Simple Mail Transfer Protocol (SMTP)

30.

What does the client do after obtaining the server's IP address?

a)

Allocates a port

b)

Initiates a connection request

c)

Forms a socket-to-socket connection

d)

Translates the domain name

31.

Fill in the blank: To receive the server's response, the client's operating system must open a return channel by assigning a temporary, high-numbered port from the _______ range (49152-65535).

a)

dynamic/private

b)

well-known

c)

reserved

d)

system

32.

What defines the complete, two-way communication channel in a client-server connection?

a)

Only the server's port

b)

Only the client's IP

c)

Two sockets: the client socket (Client IP:Dynamic Port) and the server socket (Server IP:Well-Known Port)

d)

The DNS system

33.

Socket addresses effectively bridge the _______ and _______ layers to create a complete, application-specific endpoint.

a)

Transport and Network/Internet

b)

Application and Data Link

c)

Physical and Presentation

d)

Session and Physical

34.

What is formed between the client's dynamic port and the server's well-known port?

a)

A socket-to-socket connection

b)

A firewall rule

c)

A DNS resolution

d)

A MAC address mapping

35.

Let's walk through a practical example. When you type a website address like https://www.example.com into your browser, a complex but rapid sequence of events occurs to establish a secure connection between your client (browser) and the server hosting the website.

1. DNS Resolution
Your browser sends a request to a DNS server to resolve www.example.com. The DNS server responds with the corresponding IP address, for instance, _________.

a)

93.184.216.34

b)

172.217.3.110

c)

151.101.1.69

d)

104.244.42.1

36.

When you type a website address like https://www.example.com into your browser, a complex but rapid sequence of events occurs to establish a secure connection between your client (browser) and the server hosting the website. Because the URL uses ________, your browser knows to connect to the secure web port. It initiates a TCP connection to the server's IP address (93.184.216.34) on port 443.

a)

http

b)

https

c)

ftp

d)

smtp

37.

When you type a website address like https://www.example.com into your browser, a complex but rapid sequence of events occurs to establish a secure connection between your client (browser) and the server hosting the website. 3. Client-Side Port Allocation Your computer's operating system assigns a temporary, high-numbered port for this specific browser tab's connection. Let's say it assigns port _________. This port acts as the "return address" for the server's responses. Which of the following is the correct port number assigned in this scenario?

a)

49152

b)

80

c)

22

d)

443

38.

Which port is used by the server socket?

a)

49152

b)

80

c)

443

d)

8080

39.

Which port number is used for File Transfer Protocol (FTP) for data and control channels?

a)

A) 22

b)

B) 25

c)

C) 20, 21

d)

D) 80

40.

Which service uses port number 22 for secure remote access and management?

a)

FTP

b)

SSH

c)

SMTP

d)

DNS

41.

What is the description of the service that uses port number 25?

a)

File Transfer Protocol (for data and control channels)

b)

Simple Mail Transfer Protocol (for sending email)

c)

Domain Name System (for translating domain names to IP addresses)

d)

Hypertext Transfer Protocol (for standard web browsing)

42.

Fill in the blank: Port number 53 is used for the __________ service.

a)

DNS

b)

FTP

c)

SMTP

d)

HTTP

43.

Fill in the blank: The Hypertext Transfer Protocol (HTTP) uses port number __________ for standard web browsing.

a)

80

b)

21

c)

443

d)

25

44.

Which port number is used for HTTPS (HTTP Secure for encrypted and secure web browsing)?

a)

80

b)

21

c)

443

d)

3306

45.

MySQL database servers listen on which registered port for incoming TCP connections from clients?

a)

3306

b)

1433

c)

1521

d)

5432

46.

Microsoft's Remote Desktop Protocol (RDP) uses which port to enable remote graphical connections to Windows machines?

a)

3389

b)

21

c)

80

d)

443

47.

What is the range of registered ports?

a)

0-1023

b)

1024-49151

c)

49152-65535

d)

80-443

48.

Dynamic/Private ports are also known as ephemeral ports.

a)

True

b)

False

49.

Each connection uses a unique dynamic port from the client to the server.

a)

True

b)

False

50.

Which protocol is connection-oriented and built for reliability?

a)

TCP

b)

UDP

51.

Which protocol uses a 'three-way handshake' to establish a reliable connection before any data is sent?

a)

TCP

b)

UDP

52.

Which protocol guarantees that data packets are delivered, arrive in the correct order, and are error-checked?

a)

TCP

b)

UDP

c)

ICMP

d)

ARP

53.

Which protocol is best for applications where data integrity is paramount, such as Web Browsing (HTTP/HTTPS), Email (SMTP), and Secure Shell (SSH)?

a)

TCP

b)

UDP

c)

ICMP

d)

ARP

54.

Which protocol is connectionless and built for speed?

a)

TCP

b)

UDP

55.

Which protocol sends data immediately without a handshake, minimizing latency?

a)

UDP

b)

TCP

c)

HTTP

d)

FTP

56.

Which protocol is best for time-sensitive applications where speed is more important than perfect reliability, such as DNS lookups, live Video Streaming, VoIP, and online gaming?

a)

UDP

b)

TCP

c)

HTTP

d)

FTP

57.

Which protocol does NOT retransmit lost packets and requires error handling to be built into the application if needed?

a)

TCP

b)

UDP

58.

What is the process called when attackers scan a target's IP address for open ports to identify running services and search for known vulnerabilities associated with that service to attempt an exploit?

a)

Port Scanning

b)

Phishing

c)

Social Engineering

d)

Brute Forcing

59.

Which type of attack involves flooding a specific port with an overwhelming number of requests, consuming the server's resources and rendering the legitimate service unavailable to users?

a)

Denial of Service (DoS) Attacks

b)

Phishing Attacks

c)

SQL Injection

d)

Man-in-the-Middle Attack

60.

If communication over a port is unencrypted, an attacker can position themselves between the client and server to intercept, read, or even modify the data being transmitted. What is this type of attack called?

a)

Man-in-the-Middle (MitM) Attacks

b)

Denial of Service (DoS) Attacks

c)

Phishing Attacks

d)

Brute Force Attacks

61.

Using services on unencrypted ports (like FTP on port 21 or HTTP on port 80) transmits data, including credentials, in plaintext, making it easily readable if intercepted. What is this vulnerability called?

a)

Weak or No Encryption

b)

Buffer Overflow

c)

SQL Injection

d)

Cross-Site Scripting

62.

Fill in the blank: The complete endpoint (______), ensuring precise, application-level communication.

a)

IP + Port

b)

MAC Address

c)

Subnet Mask

d)

Gateway