NEW
Font size
WorksheetsModule 2 Process management
Total questions: 30
Worksheet time: 15mins
The system call to create a child process is called
get a child
wait child
create child
fork a child
A program in execution is called a --------------
process
command
software
direction
Which is not in the PCB
Process state
resources needed
program counter
processor size
Which is not a process state?
waiting
terminated
blocked
redirected
Preemption means
process can be paused by system
process cannot be halted once execution begins
An example of a potential deadlock situation is
a two way path
a two way bridge
a single lane bridge
FCFS is operates similar to a
stack
sorting algorithm
circle
queue
SJF is short for
Shortest Job First
Software Job First
System Job First
Shortest Job Final
Round Robin is also known as
Merry go round
circle drive
time slicing
time sharing
Which of the following is not an example of an OS for Smart phone?
UNIX
IOS
Windows Phone 7
Android
An Operating System is a program that helps the user to communicate between the software and ___________
Memory
Hardware
Software is a series of ____________ that tells a computer what tasks to perform and how to perform them.
data
information
instructions
utility
________________programs that control or maintain the operations of the computer and its devices.
Application software
System Software
Utility program
What is inter-process communication
Communication within the process
Communication between two processes
Communication between two threads
None of the above
The address of the next instruction to be executed by the current process is provided by
CPU registers
Program Counter
Stack
Pipe
Which of the following condition is required for a deadlock to be possible?
mutual exclusion
Circular wait
no preemption
all of the mentioned
A system is in the safe state if ____________
the system can allocate resources to each process in some order and still avoid a deadlock
there exist a safe sequence
For an effective operating system, when to check for deadlock?
every time a resource request is made
at fixed time intervals
Both a and b
What is Turnaround time?
the total waiting time for a process to finish execution
the total time from the completion till the submission of a process
What is Response time?
the total time taken from the submission time till the completion time
the total time taken from the submission time till the first response is produced
Round robin scheduling falls under the category of ____________
Non-preemptive scheduling
Preemptive scheduling
Which of the following is not a condition for deadlock?
Mutual exclusion
Hold and wait
Preemption
Circular wait
Banker's algorithm is used?
To prevent deadlock
To deadlock recovery
To solve the deadlock
None of these
A thread is a
utility program
Light weight process
interrupt
Multithreaded processes share code and data
True
False
............................ in OS is a situation where multiple processes compete.
Interrupt
Deadlock
Race Condition
A single thread of control allows the process to perform .......
Only one task at a time
Two tasks at a time
Multiple tasks at a time
All of the above
What is a medium term scheduler
It selects which process has to be brought into the ready queue
It selects which process has to be executed next and allocates CPU
It selects which process to remove from memory by swapping
None of the above
