Chapter 3 Flashcards

(103 cards)

1
Q

………… are responsible for determining the form of the data and the location of shared data

A

Communicating processes

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

In ……………, The queue’s length is infinite; thus, any number of messages can wait in it

A

Unbounded capacity (automatic buffering)

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

In PCB contents, ……… allocated I/O devices, open files, and so on

A

I/O status information

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

A process creates a shared-memory region in its ………..

A

address space

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

A parent process may terminate its child using the ………. system call

A

abort

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

A ……… on the client-side hides the communication details

A

stub

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

…………… messages place a restriction on the application programmer

A

fixed-sized

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

In ……………, The link cannot have any messages waiting in it

A

Zero capacity (no buffering)

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

A process ……….. when it finishes execution

A

terminates

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

…………. Loads the saved context of the other process scheduled to run

A

Context switch

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

Once a process is terminated, the OS deallocates all of its resource
(T/F)

A

True

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

………….. is a process that can send messages to a mailbox

A

Mailbox user

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

In PCB contents, ……… include time limits, process numbers, and so on

A

Accounting information

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

An ………. process spends more of its time doing I/O

A

I/O-bound

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

A …….. is a program in execution

A

process

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

In synchronization, ……….. means the receiver blocks until a message is available. It resumes operation only after receiving the message

A

Blocking (synchronous) receive

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

…………… messages are more complex to implement at the system-level

A

variable-sized

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

In process states, ………. means the process has finished execution

A

Terminated

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

Between each pair of processes, there exists exactly one link is a property of …………. communication

A

direct

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

An ……….. process does not share data with other processes

A

independent

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

……. messages makes application programming easier and more flexible

A

variable-sized

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

Process execution must be ………………..

A

sequential

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

The creating process is called a ………. process

A

parent

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

Also known historically as job

A

Process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
In process termination, It asks the OS to delete it by using the ...... system call
exit
26
In ..............., the sender must block until the recipient receives the message
Zero capacity (no buffering)
27
In terms of ..............., there are two possibilities: * The parent continues to execute concurrently with its children. * The parent waits until some or all of its children have terminated
execution
28
In synchronization, ........... means the sending process is blocked until the message is received by the receiving process or by the mailbox
Blocking (synchronous) send
29
A .......... allows for calling the remote procedure like a local one
stub
30
Context switch time is pure overhead (no useful work while switching) (T/F)
True
31
In RPC, a message contains the function identifier and passed parameters (T/F)
True
32
Processes can be described as either .......... or .............
I/O-bound , CPU-bound
33
........ occurs when the CPU switches to another process
Context switch
34
In process content, ............. contain dynamically allocated variables
Heap section
35
................ Allow processes to communicate without sharing memory
Message passing
36
............ messages are easier to implement at the system-level
fixed-sized
37
PCB contents include ........... (e.g. new, ready, etc...)
Process state
38
............... means that if a process terminates, all of its children must be terminated as well
Cascading termination
39
In PCB contents, ......... include scheduling parameters (e.g. priority)
CPU-Scheduling information
40
In shared memory, ................ processes agree to remove the restriction of OS
Communicating
41
........... communication may use symmetric or asymmetric addressing
Direct
42
An .......... listens to a port on the remote system
RPC daemon
43
............ contains processes waiting for a certain event to occur
Wait queue
44
In process states, .......... means the process is waiting to be assigned to a processor
Ready
45
A link is associated with exactly two processes is a property of ............ communication
direct
46
A link is established automatically is a property of ............... communication
direct
47
........... Identified by an IP address concatenated with a port number
socket
48
Messages exchanged in RPC communication are weakly structured (T/F)
False
49
........... contains processes waiting to execute on a CPU
Ready queue
50
In process creation, Each of new processes may, in turn, create other processes (T/F)
True
51
A link may be associated with more than two processes is a property of ...... communication
indirect
52
............ are responsible for ensuring that they are not writing to the same location simultaneously
Communicating processes
53
A ......... is an endpoint for communication
socket
54
In ................., The queue has finite length 𝑛; thus, at most n messages can reside in it
Bounded capacity (automatic buffering)
55
A ............ process uses more of its time doing computations
CPU-bound
56
.......... is the number of processes in memory
Degree of multiprogramming
57
........ is a process that can receive messages from mailbox
Mailbox owner
58
Each pair of processes may have several links (i.e. mailboxes) is a property of ...... communication
indirect
59
The physical implementation of a link cannot take several forms (T/F)
False
60
............ Saves the current context of the current process in its PCB
Context switch
61
The context of a process is represented in its PCB (T/F)
True
62
In process content, ............. contain temporary variables (local variables)
Stack section
63
In PCB contents, ......... process location in memory
Memory-management information
64
reasons to support process cooperation include ............ means dividing the functions of a system into separate processes
Modularity
65
........... is represented by: * The value of the program counter (PC) * The contents of the processor's registers
Process current status
66
......... selects a ready process from memory for execution
CPU scheduler
67
In ................., If the queue is full, the sender must block until there is an available space
Bounded capacity (automatic buffering)
68
In process content, ............. contain global variables
data section
69
In process content, ............. contain executable code
Text section
70
reasons to support process cooperation include ............ that means break a task into sub-tasks that run in parallel
Computation speedup
71
RPCs may fail or execute multiple times due to network errors (T/F)
True
72
A ............. should provide at least two operations: * 𝑠𝑒𝑛𝑑(𝑚𝑒𝑠𝑠𝑎𝑔𝑒) * 𝑟𝑒𝑐𝑒𝑖𝑣𝑒(𝑚𝑒𝑠𝑠𝑎𝑔𝑒)
message-passing facility
73
In process states, .......... means the process is being created
New
74
In process termination, A child process may output data to its parent using ........ system call
wait
75
In process creation, the new processes are called the ......... of that process
children
76
In terms of ..............., there are two possibilities: * The child process has a new program loaded into it. * The child process is a duplicate of the parent process.
address-space
77
In synchronization, ........... means the receiver retrieves either a valid message or a null and resumes operation, immediately
Non-blocking (asynchronous) receive
78
A pair of processes communicating employs a pair of sockets (T/F)
True
79
Also known as task control block
Process Control Block (PCB)
80
In synchronization, ........... means the sending process sends the message and resumes operation, immediately.
Non-blocking (asynchronous) send
81
In PCB contents, ......... stores state information when an interrupt occurs
CPU registers
82
The logical implementation of a link can take several forms (T/F)
True
83
In RPC, the function is executed, and any output is returned as a ..........
message
84
In ........... communication, messages are sent to and received from mailboxes (or ports)
indirect
85
In PCB contents, ......... include the address of the next instruction
Program Counter
86
In process states, .......... means the process is waiting for some event to occur
Waiting
87
In process states, .......... means instructions are being executed
Running
88
In ............ addressing, only the sender names the receiver process
asymmetric
89
Some systems do not allow a child to exist if its parent terminates (T/F)
True
90
In ......... addressing, both sender and receiver name each other
symmetric
91
A link is established by creating and sharing a mailbox is a property of ...... communication
indirect
92
Useful in a distributed environment and managed by the OS
Message passing
93
In ................, the sender never blocks
Unbounded capacity (automatic buffering)
94
In terms of ..........., there are three possibilities: * Parent and child share no resources. * Parent and children share all resources. * Children share a subset of parent's resources
resource sharing
95
reasons to support process cooperation include ............ (e.g. copying and pasting)
Information sharing
96
............... allows a client to invoke a procedure on a remote host
Remote Procedure Call (RPC)
97
............ processes need an IPC mechanism to exchange data
Cooperating
98
In .............., Normally, the OS restricts a process to its own memory
shared memory
99
If there are more ready processes than cores, excess processes will have to wait until a core is free and can be rescheduled (T/F)
True
100
A process may create several new processes (T/F)
True
101
In ..........., A data structure that stores information about a process
Process Control Block (PCB)
102
...... includes value of CPU registers, location in memory, etc
Context
103
A ......... process shares data with other executing processes
cooperating