Lecture 1 Flashcards

1
Q

What is a process?

A

A process is a program that runs on a host.

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

How do processes communicate when on the same host?

A

Through OS (Operating System) defined interprocess communication.

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

How do processes communicate when they are on different hosts?

A

They exchange messages.

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

Before processes communicate, which process initiates the communication?

A

The client, as it is the one who needs something from the server.

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

In peer-to-peer connections, what types (Client or Server) of processes are used?

A

Both client and server processes.

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

Name the 3 architectures used to facilate communication over a network.

A
  1. Client-Server
  2. Peer-to-Peer
  3. Hybrid
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are messages sent and received through in a network?

A

A socket.

All processes send and receive messages over sockets.

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

What are the layels in 5 layel model?

A
  1. Application
  2. Transport
  3. Network
  4. Link
  5. Physical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do application transport services achieve security?

A

Almost all data going over a network is encrypted.

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

What does TCP stand for?

A

Transmission Control Protocol/Program.

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

Why would we use UDP over TCP?

A

For speed and efficiency.

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

Give some advantages that TCP has.

A

It is Connection oriented (Requires setup between client and server).
It is Reliable (Sender waits for acknowledgement that packet was received).
It has Flow control (Doesn’t overwhelm the receiver).
It has Congestion control (Sender is throttled when the network is overloaded).

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