ESAT Forouzan - Chapter 24: Client-Server Model (Socket Interface) Flashcards

1
Q

_____ can request a service.
a. A socket interface
b. A port
c. A client
d. A server

A

c. A client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_____ can provide a service.
a. An iterative server
b. A concurrent server
c. A client
d. A and B

A

d. A and B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The client program is _____ because it terminates after it has been served.
a. Active
b. Passive
c. Finite
d. Infinite

A

c. Finite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The server program is ______ because it is always available, waiting for a client request.
a. Active
b. Passive
c. Finite
d. Infinite

A

d. Infinite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A connection-oriented concurrent server uses _____ ports.
a. Ephemeral
b. Well-known
c. Active
d. A and B

A

d. A and B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A connectionless iterative server uses _____ ports.
a. Ephemeral
b. Well-known
c. Active
d. A and B

A

b. Well-known

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

d. Four

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

a. An active open

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

b. A passive open

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

_____ processes requests one at a time.
a. An iterative client
b. An iterative server
c. A concurrent client
d. A concurrent server

A

b. An iterative server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_____ processes many requests simultaneously.
a. An iterative client
b. An iterative server
c. A concurrent client
d. A concurrent server

A

d. A concurrent server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

c. Well-known port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A _____ is an instance of a _____.
a. Process; program
b. Program; process
c. Process; service
d. Structure; process

A

a. Process; program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The _____ socket is used with a connection-oriented protocol.
a. Stream
b. Datagram
c. Raw
d. Remote

A

a. Stream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The _____ socket is used with a connectionless protocol.
a. Stream
b. Datagram
c. Raw
d. Remote

A

b. Datagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The _____ socket is used with a protocol that directly uses the services of IP.
a. Stream
b. Datagram
c. Raw
d. Remote

A

c. Raw

17
Q

A _____ server serves multiple clients, handling one request at a time.
a. Connection-oriented iterative
b. Connection-oriented concurrent
c. Connectionless iterative
d. Connectionless concurrent

A

c. Connectionless iterative

18
Q

A _____ server serves multiple clients simultaneously.
a. Connection-oriented iterative
b. Connection-oriented concurrent
c. Connectionless iterative
d. Connectionless concurrent

A

b. Connection-oriented concurrent