ESAT Forouzan - Chapter 24: Client-Server Model (Socket Interface) Flashcards
_____ can request a service.
a. A socket interface
b. A port
c. A client
d. A server
c. A client
_____ can provide a service.
a. An iterative server
b. A concurrent server
c. A client
d. A and B
d. A and B
The client program is _____ because it terminates after it has been served.
a. Active
b. Passive
c. Finite
d. Infinite
c. Finite
The server program is ______ because it is always available, waiting for a client request.
a. Active
b. Passive
c. Finite
d. Infinite
d. Infinite
A connection-oriented concurrent server uses _____ ports.
a. Ephemeral
b. Well-known
c. Active
d. A and B
d. A and B
A connectionless iterative server uses _____ ports.
a. Ephemeral
b. Well-known
c. Active
d. A and B
b. Well-known
Machine A requests service X from machine B. Machine B requests service Y from machine A. What is the total number of application programs required?
a. One
b. Two
c. Three
d. Four
d. Four
A client issues _____ when it needs service from a server.
a. An active open
b. A passive open
c. An active request
d. A finite open
a. An active open
A server program, once it issues ______, waits for clients to request its service.
a. An active open
b. A passive open
c. An active request
d. A finite open
b. A passive open
_____ processes requests one at a time.
a. An iterative client
b. An iterative server
c. A concurrent client
d. A concurrent server
b. An iterative server
_____ processes many requests simultaneously.
a. An iterative client
b. An iterative server
c. A concurrent client
d. A concurrent server
d. A concurrent server
In a connection-oriented concurrent server, the _____ is used for connection only.
a. Infinite port
b. Ephemeral port
c. Well-known port
d. B and C
c. Well-known port
A _____ is an instance of a _____.
a. Process; program
b. Program; process
c. Process; service
d. Structure; process
a. Process; program
The _____ socket is used with a connection-oriented protocol.
a. Stream
b. Datagram
c. Raw
d. Remote
a. Stream
The _____ socket is used with a connectionless protocol.
a. Stream
b. Datagram
c. Raw
d. Remote
b. Datagram