UNIVERSITY OF HYDERABAD
DEPARTMENT OF COMPUTER AND INFORMATION SCIENCES
OPERATING SYSTEMS – QUIZ 2
What is degree of multiprogramming?
What is the duty of the job scheduler versus that of a CPU scheduler?
Can a process be moved from wait to running state directly?
When is a process moved from running to ready state?
What resource(s), allotted by the kernel, is not released by a zombie process?
What is cascading termination? Give an example of a process, which results in this.
What is the disadvantage of a direct communication method of IPC?
When an IPC has a zero-capacity buffer, is the communication between the processes synchronous or asynchronous?
If all the processes brought into memory are CPU-bound or I/O-bound, what is the problem?
What can be said about the speed of processing of the interrupt if the CPU is idle when the interrupt occurs versus if a process is currently in the running state?
If a process gives up the CPU only when an I/O is needed or it terminates, what type of scheduling is it?
When does Multi-level feedback scheduling become FCFS?
How does priority inheritance solve the priority inversion problem?
When does Round-Robin scheduling become FCFS?
Which of the following scheduling algorithms does not result in starvation – Multi-level feedback scheduling, Priority Scheduling, Multi-level scheduling, Shortest Remaining Time First?
A user writes a program, in Linux, which forks a new process and then exits while the child is still running. What happens to this child typically?
If three processes arrive at times 0, 5, 7 and their respective running times are 20, 15 and 17, what is the average turnaround time?
What are the various memory sections of a process address space?
The wait() system call is called by the parent to accept return status of a child. When the parent executes this call, what would be the state of the parent process?
What are the conditions under which a process gives up the CPU to another process in FCFS scheduling?