Question: Question 1 An OS uses a PCB to represent a process. T True F False Question 2 The PCB is created by the process when
Question
An OS uses a PCB to represent a process.
T
True
F
False
Question
The PCB is created by the process when execution starts.
T
True
F
False
Question
The PCB becomes part of the program being executed by a process.
T
True
F
False
Question
Two processes can be executing the same program.
T
True
F
False
Question
The transition ready running of a process p is caused by
the OS
the process p itself
some other process
Question
The transition running blocked of a process p is caused by
the OS
some other process
the process p itself
Question
The transition running ready of a process p is caused by
the OS
the process p itself
some other process
Question
When a process p is moved from the current state running ready, or blocked to the suspended state, then upon reactivation,
p must be moved back to the same state where the suspension occurred
p is moved to either the ready or the blocked state
p can always safely be moved to the ready state
Question
The PCB contains an uptodate copy of the CPU state of a process p
s p
when ps state is running
at all times
when ps state is ready or blocked
Question
The listfree implementation is the linkedlist implementation.
less timeefficient than
equally timeefficient as
more timeefficient than
Question
Adding a new child process with the listfree implementation uses the linkedlist implementation.
more memory than
less memory than
the same amount of memory as
Question
A process at level i in the process creation hierarchy can have links to processes at the next higher level i
more than
Question
A newly created process still in the state new at level i can have links to processes at level i
more than
Question
The initial CPU state of a newly created process is NULL or undefined.
T
True
F
False
Question
The initial value of the processstate field could be set to blocked if memory or some other critical resource is unavailable.
T
True
F
False
Question
To close files should be the responsibility of the programmer, rather than being performed automatically as part of the destroy function
T
True
F
False
Question
A waiting list can be implemented as a linked list where each element points to a PCB
T
True
F
False
Question
With a singleunit resource, the state is just a Boolean in RCB
T
True
F
False
Question
A process can be blocked on more than one resource.
T
True
F
False
Question
A request can be initiated by any process, regardless of the process's current state.
T
True
F
False
Question
The release function always reactivates
zero or more processes
exactly one waiting process
zero or one process
Question
Assume the release function is modified to handle resources with multiple identical units. Each call to release could reactivate
zero or one process
zero or more processes
Question
If RL is implemented as a single list without priority levels and every new process is entered at the tail of RL then the Create functions do not need to call the scheduler:
T
True
F
False
Question
What is the minimum number of bits needed to represent the processstate field, if states are supported: running, ready, blocked, new, suspended, and terminated?
Question
The set of all PCBs could be implemented as a
dimensional array of structures, where the array dimension is the number of available PCB slots.
dimensional integer array, where the first dimension is the number of available PCB slots
linked list of dimensional integer arrays, where each list element is a PCB
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
