Process concept Flashcards

Fundamentals about processes and IPC (46 cards)

1
Q

Term

A

Definition

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

Signal

A

A software interrupt sent to a process to notify it of an event.

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

Predefined signals

A

Standard signals defined by the operating system for process communication and control.

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

Signal sets

A

A collection of signals that can be manipulated as a group.

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

Exceptions

A

Unexpected or erroneous conditions detected during program execution.

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

File descriptors

A

Identifiers used by the operating system to access files and I/O resources.

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

Process

A

An instance of a program in execution, including its resources and execution context.

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

Data of a process

A

The global variables and dynamically allocated memory used by a process.

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

Heap of a process

A

A dynamically allocated memory region managed at runtime.

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

Stack of a process

A

A memory segment storing function calls, local variables, and return addresses.

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

Text of a process

A

The code segment containing the executable instructions of a process.

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

Executable file

A

A file that contains machine code and can be executed by the operating system.

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

Program counter

A

A CPU register that holds the address of the next instruction to execute.

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

Process control block

A

A data structure maintained by the OS containing process-related information.

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

Swapping

A

A memory management technique that moves processes between RAM and disk storage.

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

Context of a process

A

The current state of a process, including registers, memory, and execution status.

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

Parent process

A

A process that creates and manages child processes.

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

Child process

A

A new process spawned by a parent process.

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

Orphan process

A

A process whose parent has terminated, leaving it managed by the OS.

20
Q

Cascading termination

A

A situation where a parent’s termination forces the termination of its child processes.

21
Q

Independent process

A

A process that does not share resources or data with other processes.

22
Q

Cooperating process

A

A process that interacts and shares resources with other processes.

23
Q

Message passing IPC

A

A form of inter-process communication (IPC) using messages for data exchange.

24
Q

Shared memory IPC

A

A form of IPC where processes communicate by sharing a memory segment.

25
Producer process
A process that generates and sends data to be consumed by another process.
26
Consumer process
A process that receives and processes data produced by another process.
27
Buffer in shared memory IPC
A memory region used for temporary data storage between processes.
28
Unbounded buffer
A buffer with no size limit, allowing indefinite data storage.
29
Bounded buffer
A buffer with a fixed size, restricting the amount of stored data.
30
Direct communication
A method where processes explicitly reference each other for communication.
31
Indirect communication
A method where processes communicate via an intermediary, such as a mailbox.
32
Hard coding techniques IPC
Fixed, non-configurable methods for inter-process communication.
33
Blocking message passing
A synchronization method where a sender or receiver waits until a message is delivered.
34
Non-blocking message passing
A method where message sending or receiving occurs asynchronously.
35
Rendezvous in message passing IPC
A synchronization mechanism ensuring both sender and receiver are ready before communication.
36
Buffering in message passing
A technique where messages are stored temporarily before being processed.
37
Zero capacity buffer
A buffer that does not store messages, requiring sender and receiver to synchronize immediately.
38
Sockets
Endpoints for communication between processes over a network.
39
Connection-oriented sockets
Sockets that establish a reliable connection before data transfer (e.g., TCP).
40
Connectionless socket
Sockets that send and receive data without establishing a persistent connection (e.g., UDP).
41
Stub
A placeholder function or code used to represent a remote procedure in RPC.
42
Marshal parameter
The process of encoding and packaging data for transmission in remote procedure calls.
43
Matchmaker daemon
A service that helps clients locate and connect to servers in distributed systems.
44
Pipe
A unidirectional communication channel for data transfer between processes.
45
Ordinary pipe
A pipe that facilitates communication between related processes (parent-child).
46
Named pipe
A pipe with a specific name that allows communication between unrelated processes.