0
0
Rest APIprogramming~5 mins

Client-server architecture in Rest API - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the basic idea of client-server architecture?
It is a way to organize computers where one (the client) asks for services or data, and another (the server) provides them.
Click to reveal answer
beginner
What role does the server play in client-server architecture?
The server waits for requests from clients and sends back the requested data or performs actions.
Click to reveal answer
beginner
What is a client in client-server architecture?
A client is a program or device that sends requests to the server to get data or services.
Click to reveal answer
intermediate
Why is client-server architecture useful for web applications?
It separates the user interface (client) from data storage and processing (server), making apps easier to manage and scale.
Click to reveal answer
beginner
Give a simple real-life example of client-server architecture.
When you use a web browser (client) to visit a website, the browser asks the website's server for pages and shows them to you.
Click to reveal answer
In client-server architecture, who initiates communication?
AThe server
BThe client
CBoth at the same time
DNeither
Which of the following is NOT a characteristic of a server?
AWaiting for requests
BSending responses
CRequesting data from clients
DProviding services
What is the main benefit of separating client and server in an application?
AImproves security by hiding server details
BMakes the app slower
CClients and servers must be the same device
DRemoves the need for internet
Which device usually acts as a client in web browsing?
ADatabase server
BFirewall
CRouter
DWeb browser
In client-server architecture, what happens after the server receives a request?
AIt processes the request and sends a response
BIt ignores the request
CIt sends the request to another client
DIt shuts down
Explain how client-server architecture works using a simple everyday example.
Think about how your phone or computer talks to websites.
You got /4 concepts.
    List the main roles of clients and servers in client-server architecture.
    Who asks and who answers?
    You got /3 concepts.