NEW
Font size
WorksheetsOS(II UNIT)
Total questions: 15
Worksheet time: 8mins
What is the ready state of a process?
when process is scheduled to run after some execution
when process is unable to run until some task has been completed
when process is using the CPU
none of the mentioned
Which system call returns the process identifier of a terminated child?
fork()
wait()
exit()
atexit()
A Process Control Block (PCB) does not contain which of the following?
heap
stack
text
bootstrap
The state of a process is defined by __________
the final activity of the process
the activity just executed by the process
the activity to next be executed by the process
the current activity of the process
Which of the following is not the state of a process?
New
Old
Waiting
Running
The entry of all the PCBs of the current processes is in __________
Process Register
Program Counter
Process Table
Process Unit
The processes that are
residing in main memory and are ready and waiting to execute are kept on a
list called _____________
job queue
ready queue
execution queue
process queue
The interval from the time of submission of a process to the time of completion is termed as ____________
waiting time
turnaround time
response time
throughput
Which scheduling algorithm allocates the CPU first to the process that requests the CPU first?
first-come, first-served scheduling
shortest job scheduling
priority scheduling
round robin scheduling
In priority scheduling algorithm ____________
CPU is allocated to the process with highest priority
CPU is allocated to the process with lowest priority
Equal priority processes cannot be scheduled
None of the mentioned
The processes which are blocked due to unavailability of an I/O device constitute this queue.
ready queue
job queue
process scheduling queue
device queue
If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called?
mutual exclusion
bound and wait
progress
none of them
Every process created will have its own process id is statement
YES
NO
A Critical section is a program segment
i) which avoids deadlocks
ii) where shared resources are accessed
only i
only ii
both i and ii
none of them
------- is a condition of process waiting for longer duration resulting either resource allocated or non allocated is called as
starvation
deadlock
race condition
none of them
