Recent questions tagged process-scheduling

1 1 vote
2 answers 2 answers
3.1k
3.1k views
How many states can a process be in ?$3$$4$$2$ $5$
2 2 votes
1 answers 1 answer
1.3k
1.3k views
A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executed, is kn...
6 6 votes
2 answers 2 answers
2.8k
2.8k views
A scheduling Algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (lowest priority). The scheduler reevaluate...
4 4 votes
2 answers 2 answers
4.1k
4.1k views
Which of the following statements is not true for Multi Level Feedback Queue processor scheduling algorithm?Queues have different prioritiesEach queue may have different ...
3 3 votes
3 answers 3 answers
12.5k
12.5k views
Consider a system running ten I/O-bound tasks and one CPU-bound task. Assume that the I/O-bound tasks issue an I/O operation once for every millisecond of CPU computing a...
1 1 vote
1 answers 1 answer
1.7k
1.7k views
A CPU-scheduling algorithm determines an order for the execution of its scheduled processes. Given n processes to be scheduled on one processor, how many different schedu...
9 9 votes
2 2 answers
5.6k
5.6k views
Consider a preemptive priority based scheduling algorithm based on dynamically changing priority. Larger priority number implies higher priority. When the process is wait...
2 2 votes
1 1 answer
6.4k
6.4k views
Consider the following set of processes with the length of CPU burst time in milliseconds (ms) $:$$\begin{array}{|l|l|l|l|l|l|l|} \hline \textbf{Process} & \text{A} & \t...
2 2 votes
1 1 answer
1.5k
1.5k views
Consider the following justifications for commonly using the two-level $CPU$ scheduling:I. It is used when memory is too small to hold all the ready processes.II. Because...
1 1 vote
2 answers 2 answers
3.4k
3.4k views
Match the following $:$$\begin{array}{} & \textbf{List – I} && \textbf{List – II} \\ & \textbf{Process state} && \textbf{Reason for transition}\\ & \textbf{transition} ...
2 2 votes
2 2 answers
4.6k
4.6k views
Consider the following processes with time slice of 4 milliseconds (I/O requests are ignored):ProcessABCDArrival time0123CPU Cycle8495The average turnaround time of these...
3 3 votes
1 1 answer
4.8k
4.8k views
A virtual memory based memory management algorithm partially swaps out a process. This is an example ofshort term schedulinglong term schedulingmedium term schedulingmutu...
0 0 votes
2 2 answers
5.5k
5.5k views
Which of the following statements is not true about disk-arm scheduling algorithms ? SSTF (shortest seek time first) algorithm increases performance of FCFS.The number of...
1 1 vote
1 answers 1 answer
5.7k
5.7k views
Consider a uniprocessor system where new processes arrive at an average of five processes per minute and each process needs an average of $6$ seconds of service time. Wha...
1 1 vote
3 answers 3 answers
10.4k
10.4k views
The problem of indefinite blockage of low-priority jobs in general priority scheduling algorithm can be solved using:Parity bitAgingCompactionTimer
20 20 votes
3 answers 3 answers
12.3k
12.3k views
For the real time operating system, which of the following is the most suitable scheduling scheme?Round robinFirst come first servePre-emptiveRandom scheduling
4 4 votes
4 answers 4 answers
9.9k
9.9k views
Pre-emptive scheduling is the strategy of temporarily suspending a running processbefore the CPU time slice expiresto allow starving processes to runwhen it requires I/Ot...
8 8 votes
3 answers 3 answers
5.8k
5.8k views
Which of the following is not an optimization criterion in the design of a CPU scheduling algorithm?Minimum CPU utilizationMaximum throughputMinimum turnaround timeMinimu...
2 2 votes
2 answers 2 answers
4.1k
4.1k views
Match the following $:$$\begin{array}{clcl} & \textbf{List – I} && \textbf{List – II} \\ \text{a}. & \text{Multilevel feedback queue} & \text{i.} & \text{Time-slicing} \...
16 16 votes
2 answers 2 answers
14.1k
14.1k views
Suppose a system contains $n$ processes and system uses the round-robin algorithm for CPU scheduling then which data structure is best suited ready queue of the processst...
11 11 votes
1 answers 1 answer
6.4k
6.4k views
The following table shows the processes in the ready queue and time required for each process for completing its job.ProcessTime$P_1$10$P_2$5$P_3$20$P_4$8$P_5$15If round-...
2 2 votes
2 2 answers
6.6k
6.6k views
In which of the following scheduling policies does context switching never takeplace?A) Round-robinB) Shortest job firstC) Pre-emptiveD) All of the above
7 7 votes
2 answers 2 answers
17.9k
17.9k views
Consider a set of 5 processes whose arrival time, CPU time needed and the priority are given below:Process PriorityArrival Time (in ms)CPU Time NeededPriorityP10105P2052P...
7 7 votes
3 answers 3 answers
3.5k
3.5k views
The correct matching of the following pairs is$\begin{array}{|l|l|l|l|} \hline \text{A.} & \text{Disk check} & \text{i.} & \text{Round robin} \\\hline \text{B.}& \text{B...
9 9 votes
2 answers 2 answers
7.2k
7.2k views
The performance of Round Robin algorithm depends heavily onsize of the processthe I/O bursts of the processthe CPU bursts of the processthe size of the time quantum
7 7 votes
2 answers 2 answers
5.5k
5.5k views
With Round-Robin CPU scheduling in a time shared systemusing very large time slices (quantas) degenerates into First-Come First served (FCFS) algorithm.using extremely sm...
11 11 votes
3 answers 3 answers
6.3k
6.3k views
Feedback queuesare very simple to implementdispatch tasks according to execution characteristicsare used to favour real time tasksrequire manual intervention to implement...
8 8 votes
2 answers 2 answers
9.0k
9.0k views
On a system using non-preemptive scheduling, processes with expected run times of 5, 18, 9 and 12 are in the ready queue. In what order should they be run to minimize wai...
7 7 votes
1 answers 1 answer
3.8k
3.8k views
Round Robin schedule is essentially the pre-emptive version ofFIFOShortest job firstShortest remaining timeLongest remaining time
7 7 votes
4 answers 4 answers
16.8k
16.8k views
Consider a job scheduling problem with 4 jobs $J_1, J_2, J_3$ and $J_4$ with corresponding deadlines: $(d_1, d_2, d_3, d_4) = (4, 2, 4, 2)$. Which of the following is not...