Save
Computer Science Paper 1
Chapter 9 Networks
Client server Model
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Samuel Olaleye
Visit profile
Cards (15)
How does a client send packets to a server in a private network?
By sending packets to the
router's
public IP
View source
What information do packets sent by the client contain?
The
port number
of the application on the server
View source
What is the client-server model?
Clients send
requests
and servers respond
View source
What types of servers exist in a client-server model?
File servers
,
database servers
,
email servers
View source
What are the four CRUD commands and their SQL equivalents?
Create:
INSERT
Retrieve:
SELECT
Update:
UPDATE
Delete:
DELETE
View source
What does REST stand for?
Representational State Transfer
View source
What HTTP methods does REST use to query databases?
POST
,
GET
,
PUT
,
DELETE
View source
What are the steps a client follows to connect to a database?
Client-server request made
Web browser responds with a web page
Text file loads an API
Client sends HTTP requests to the database server
Database server responds with JSON or XML
Client's browser processes and displays the response
View source
What formats do database servers use to deliver responses?
XML
or
JSON
View source
What is the difference between XML and JSON?
JSON is more
compact
and easier to read
View source
What is a characteristic of XML compared to JSON?
XML is sometimes seen as more
flexible
View source
What are the characteristics of thin-client networks?
Majority of
processing power
on servers
Easy to add new
clients
Inexpensive client machines
Centralized control for
updates
and security
View source
What is a disadvantage of thin-client networks?
They require a
powerful
and
expensive
server
View source
What are the characteristics of thick-client networks?
Clients provide their own
processing power
Independence from servers
More powerful
clients
required
Harder to maintain without centralized control
View source
What is a disadvantage of thick-client networks?
They are harder to
maintain
and
update
View source