Numerical answer
2 marks
Operating Systems
2017
Consider the following CPU processes with arrival times (in milliseconds) and length of CPU bursts (in milliseconds) as given below:ProcessArrival timeBurst timeP107P233P355P462If the pre-emptive shortest remaining time first…
Numerical answer
2 marks
Operating Systems
2016
Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page…
Multiple choice
2 marks
Operating Systems
2014
An operating system uses the Banker's algorithm for deadlock avoidance when managing the allocation of three resource types X, Y and Z to three processes P0, P1 and…
Numerical answer
2 marks
Operating Systems
2014
A system uses 3 page frames for storing process pages in main memory. It uses the Least Recently Used (LRU) page replacement policy. Assume that all the page…
Multiple choice
2 marks
Operating Systems
2013
A shared variable \(x\), initialized to zero, is operated on by four concurrent processes W, X, Y, Z as follows. Each of the processes W and X reads…
Multiple choice
1 mark
Operating Systems
2012
A process executes the codefork(); fork(); fork();The total number of child processes created is
Multiple choice
1 mark
Operating Systems
2011
A thread is usually defined as a "light weight process" because an operating system (OS) maintains smaller data structures for a thread than for a process. In relation…
Multiple choice
2 marks
Operating Systems
2006
Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if…
Multiple choice
2 marks
Operating Systems
2010
A system uses FIFO policy for page replacement. It has 4 page frames with no pages loaded to begin with. The system first accesses 100 distinct pages in…
Multiple choice
2 marks
Operating Systems
2005
Consider the following code fragment, where the variable a already holds a value before the fragment starts executing:if (fork() == 0) { a = a + 5; printf("%d,…