Interprocess Communication Flashcards

1
Q

What is Inter-process Communication

A

This refers to a mechanism where the operating system allows various processes to communicate with each other.

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

Approaches for ICP

A

Pipes
Message queues
FIFO
Shared Memory
Message Parsing
Direct Communication

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

Approaches for ICP

A

Pipes
Message queues
FIFO
Shared Memory
Message Parsing
Direct Communication

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

Approaches for ICP

A

Pipes:
Message queues
FIFO
Shared Memory
Message Parsing
Direct Communication

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

What is pipes used mainly for

A

Pipes is widely used for communication between two related processes.

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

What is message parsing

A

It is a mechanism for a process to communicate and synchronize

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

What is message queues

A

This is a linked list of message stored within the kernel.

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

What is direct communication

A

A link is established between one pair of communicating processes and between each pair, only one link exists.

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

What is indirect communication

A

Establishes only when processes share a common mailbox, each pair of processes sharing several communication links which may be bi-directional or unidirectional

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

What is shared memory

A

This is a memory shared between two or more processes that are established using shared memory between all the processes.

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

What is FIFO?

A

Communication between two unrelated processes.

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

Why IPC

A

It helps modularity
Computational speedup
Privilege seperation.
Helps operating system to communicate with each other and synchronize their actions.

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