Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged process-scheduling
4
votes
1
answer
91
NIELIT 2017 July Scientist B (IT) - Section B: 45
Consider three processes, all arriving at time zero, with total execution time of $10,20$ and $30$ units, respectively. Each process spends the first $20\%$ of execution time doing I/O, the next $70\%$ of time doing computation, and the last $10\%$ ... possible. For what percentage of time does the CPU remain idle? $0\%$ $10.6\%$ $30.0\%$ $89.4\%$
Consider three processes, all arriving at time zero, with total execution time of $10,20$ and $30$ units, respectively. Each process spends the first $20\%$ of execution ...
admin
940
views
admin
asked
Mar 30, 2020
Operating System
nielit2017july-scientistb-it
operating-system
process-scheduling
+
–
2
votes
1
answer
92
NIELIT 2017 July Scientist B (IT) - Section B: 46
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 the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end. $1$ $2$ $3$ $4$
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...
admin
1.7k
views
admin
asked
Mar 30, 2020
Operating System
nielit2017july-scientistb-it
operating-system
process-scheduling
+
–
1
votes
1
answer
93
NIELIT 2017 July Scientist B (IT) - Section B: 47
Which of the following process scheduling algorithm may lead to starvation? FIFO Round Robin Shortest Job Next None of the option
Which of the following process scheduling algorithm may lead to starvation?FIFORound RobinShortest Job NextNone of the option
admin
1.4k
views
admin
asked
Mar 30, 2020
Operating System
nielit2017july-scientistb-it
operating-system
process-scheduling
+
–
0
votes
2
answers
94
NIELIT 2017 July Scientist B (IT) - Section B: 48
A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (the lowest priority). The scheduler re-evaluates the process priorities every $T$ time units and ... to the shortest-job-first algorithm. This algorithm is equivalent to the shortest-remaining time-first algorithm.
A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (the lowest priority). The scheduler re-eva...
admin
1.2k
views
admin
asked
Mar 30, 2020
Operating System
nielit2017july-scientistb-it
operating-system
process-scheduling
+
–
0
votes
4
answers
95
NIELIT 2017 DEC Scientist B - Section B: 12
Consider the following four processes with their corresponding arrival time and burst time: ... turn around time (in ms) for these processes using FCFS scheduling algorithm? $15$ $12.8$ $13$ none of the options
Consider the following four processes with their corresponding arrival time and burst time:$$\begin{array} \text{Process}&\text{Arrival time}&\text{Burst time(in ms)}\\ \...
admin
2.5k
views
admin
asked
Mar 30, 2020
Operating System
nielit2017dec-scientistb
operating-system
process-scheduling
+
–
0
votes
2
answers
96
UGC NET CSE | December 2006 | Part 2 | Question: 37
____________ is one of pre-emptive scheduling algorithm. Shortest-Job-first Round-robin Priority based Shortest-Job-next
____________ is one of pre-emptive scheduling algorithm.Shortest-Job-firstRound-robinPriority basedShortest-Job-next
go_editor
873
views
go_editor
asked
Mar 27, 2020
Operating System
ugcnetcse-dec2006-paper2
operating-system
process-scheduling
+
–
0
votes
1
answer
97
UGC NET CSE | December 2006 | Part 2 | Question: 38
A software to create a Job Queue is called ____________ . Linkage editor Interpreter Driver Spooler
A software to create a Job Queue is called ____________ .Linkage editorInterpreterDriverSpooler
go_editor
554
views
go_editor
asked
Mar 27, 2020
Operating System
ugcnetcse-dec2006-paper2
operating-system
process-scheduling
+
–
0
votes
1
answer
98
UGC NET CSE | June 2005 | Part 2 | Question: 39
Which is the correct definition of a valid process transition in an operating system ? Wake up : Ready $\rightarrow$ Running Dispatch: Ready $\rightarrow$ Running Block : Ready $\rightarrow$ Running Timer run out: Ready $\rightarrow$ Blocked
Which is the correct definition of a valid process transition in an operating system ?Wake up : Ready $\rightarrow$ RunningDispatch: Ready $\rightarrow$ RunningBlock : Re...
go_editor
518
views
go_editor
asked
Mar 26, 2020
Operating System
ugcnetcse-june2005-paper2
operating-system
process-scheduling
+
–
0
votes
3
answers
99
UGC NET CSE | January 2017 | Part 3 | Question: 52
Some of the criteria for calculation of priority of a process are: Processor utilization by an individual process. Weight assigned to a user or group of users Processor utilization by a user or group of processes In fair scheduler, priority is calculated based on: only (i) and (ii) only (i) and (iii) (i) ,(ii) and (iii) only (ii) and (iii)
Some of the criteria for calculation of priority of a process are:Processor utilization by an individual process.Weight assigned to a user or group of usersProcessor util...
go_editor
1.3k
views
go_editor
asked
Mar 24, 2020
Operating System
ugcnetcse-jan2017-paper3
operating-system
process-scheduling
+
–
17
votes
6
answers
100
GATE CSE 2020 | Question: 12
Consider the following statements about process state transitions for a system using preemptive scheduling. A running process can move to ready state. A ready process can move to running state. A blocked process can move to running state. A blocked process can move to ready state. ... TRUE? I, II, and III only II and III only I, II, and IV only I, II, III and IV only
Consider the following statements about process state transitions for a system using preemptive scheduling.A running process can move to ready state.A ready process can m...
Arjun
12.9k
views
Arjun
asked
Feb 12, 2020
Operating System
gatecse-2020
operating-system
process-scheduling
1-mark
easy
+
–
14
votes
3
answers
101
GATE CSE 2020 | Question: 50
Consider the following set of processes, assumed to have arrived at time $0$. Consider the CPU scheduling algorithms Shortest Job First (SJF) and Round Robin (RR). For RR, assume that the processes are scheduled in the order$P_1, P_2, P_3, P_4$ ... of the difference between the average turnaround times (in ms) of SJF and RR (round off to $2$ decimal places is_______
Consider the following set of processes, assumed to have arrived at time $0$. Consider the CPU scheduling algorithms Shortest Job First (SJF) and Round Robin (RR). For RR...
Arjun
10.5k
views
Arjun
asked
Feb 12, 2020
Operating System
gatecse-2020
numerical-answers
operating-system
process-scheduling
2-marks
+
–
3
votes
3
answers
102
TIFR CSE 2020 | Part B | Question: 8
Jobs keep arriving at a processor. A job can have an associated time length as well as a priority tag. New jobs may arrive while some earlier jobs are running. Some jobs may keep running indefinitely. A $\textsf{starvation free}$ ... job-scheduling policies is starvation free? Round - robin Shortest job first Priority queuing Latest job first None of the others
Jobs keep arriving at a processor. A job can have an associated time length as well as a priority tag. New jobs may arrive while some earlier jobs are running. Some jobs ...
admin
1.2k
views
admin
asked
Feb 10, 2020
Operating System
tifr2020
operating-system
process-scheduling
round-robin-scheduling
+
–
4
votes
2
answers
103
ISRO2020-31
Three CPU-bound tasks, with execution times of $15,12$ and $5$ time units respectively arrive at times $0,t$ and $8$, respectively. If the operating system implements a shortest remaining time first scheduling algorithm, what should be the value of $t$ to have $4$ context switches? Ignore the context switches at time $0$ and at the end. $0<t<3$ $t=0$ $t<=3$ $3<t<8$
Three CPU-bound tasks, with execution times of $15,12$ and $5$ time units respectively arrive at times $0,t$ and $8$, respectively. If the operating system implements a s...
Satbir
4.2k
views
Satbir
asked
Jan 13, 2020
Operating System
isro-2020
operating-system
process-scheduling
normal
+
–
2
votes
1
answer
104
ISRO2020-27
Which of the following algorithms defines time quantum? shortest job scheduling algorithm round robin scheduling algorithm priority scheduling algorithm multilevel queue scheduling algorithm
Which of the following algorithms defines time quantum?shortest job scheduling algorithmround robin scheduling algorithmpriority scheduling algorithmmultilevel queue sche...
Satbir
6.0k
views
Satbir
asked
Jan 13, 2020
Operating System
isro-2020
operating-system
process-scheduling
easy
+
–
0
votes
0
answers
105
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 63 (Page No. 179)
A process can be put into a round-robin queue more than once to give it a higher priority. Running multiple instances of a program each working on a different part of a data pool can have the same effect. First write a ... but on a system with other processes, you should be able to grab a bigger share of the CPU this way.
A process can be put into a round-robin queue more than once to give it a higher priority. Running multiple instances of a program each working on a different part of a d...
admin
328
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
0
answers
106
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 53 (Page No. 178)
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
admin
582
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
threads
descriptive
+
–
0
votes
1
answer
107
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 52 (Page No. 178)
A real-time system needs to handle two voice calls that each run every $6$ msec and consume $1$ msec of CPU time per burst, plus one video at $25$ frames/sec, with each frame requiring $20$ msec of CPU time. Is this system schedulable?
A real-time system needs to handle two voice calls that each run every $6$ msec and consume $1$ msec of CPU time per burst, plus one video at $25$ frames/sec, with each f...
admin
1.3k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
1
votes
2
answers
108
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 50 (Page No. 178)
A soft real-time system has four periodic events with periods of $50, 100, 200,$ and $250$ msec each. Suppose that the four events require $35, 20, 10,$ and $x$ msec of CPU time, respectively. What is the largest value of $x$ for which the system is schedulable?
A soft real-time system has four periodic events with periods of $50, 100, 200,$ and $250$ msec each. Suppose that the four events require $35, 20, 10,$ and $x$ msec of C...
admin
2.8k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
1
votes
1
answer
109
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 49 (Page No. 178)
The aging algorithm with $a = 1/2$ is being used to predict run times. The previous four runs, from oldest to most recent, are $40, 20, 40,$ and $15$ msec. What is the prediction of the next time?
The aging algorithm with $a = 1/2$ is being used to predict run times. The previous four runs, from oldest to most recent, are $40, 20, 40,$ and $15$ msec. What is the pr...
admin
2.2k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
0
answers
110
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 48 (Page No. 178)
For the above problem, can another video stream be added and have the system still be schedulable?
For the above problem, can another video stream be added and have the system still be schedulable?
admin
308
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
1
answer
111
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 47 (Page No. 178)
Consider a real-time system with two voice calls of periodicity $5$ msec each with CPU time per call of $1$ msec, and one video stream of periodicity $33$ ms with CPU time per call of $11$ msec. Is this system schedulable?
Consider a real-time system with two voice calls of periodicity $5$ msec each with CPU time per call of $1$ msec, and one video stream of periodicity $33$ ms with CPU tim...
admin
1.3k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
1
votes
1
answer
112
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 46 (Page No. 178)
A process running on $CTSS$ needs $30$ quanta to complete. How many times must it be swapped in, including the very first time (before it has run at all)?
A process running on $CTSS$ needs $30$ quanta to complete. How many times must it be swapped in, including the very first time (before it has run at all)?
admin
722
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
0
answers
113
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 45 (Page No. 177 - 178)
Five batch jobs. $A$ through $E$, arrive at a computer center at almost the same time. They have estimated running times of $10, 6, 2, 4,$ and $8$ ... through $(d),$ assume that only one job at a time runs, until it finishes. All jobs are completely CPU bound.
Five batch jobs. $A$ through $E$, arrive at a computer center at almost the same time. They have estimated running times of $10, 6, 2, 4,$ and $8$ minutes. Their (externa...
admin
595
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
1
answer
114
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 44 (Page No. 177)
Five jobs are waiting to be run. Their expected run times are $9, 6, 3, 5,$ and $X$. In what order should they be run to minimize average response time? $($Your answer will depend on $X.)$
Five jobs are waiting to be run. Their expected run times are $9, 6, 3, 5,$ and $X$. In what order should they be run to minimize average response time? $($Your answer wi...
admin
2.9k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
1
votes
1
answer
115
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 43 (Page No. 177)
Measurements of a certain system have shown that the average process runs for a time $T$ before blocking on $I/O$. A process switch requires a time $S$, which is effectively wasted (overhead). For round-robin scheduling with quantum $Q$, give a formula ... $Q > T$ $S < Q < T $ $Q = S$ $Q\: \text{nearly}\: 0$
Measurements of a certain system have shown that the average process runs for a time $T$ before blocking on $I/O$. A process switch requires a time $S$, which is effectiv...
admin
2.0k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
round-robin-scheduling
descriptive
+
–
0
votes
1
answer
116
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 42 (Page No. 177)
Explain how time quantum value and context switching time affect each other, in a round-robin scheduling algorithm.
Explain how time quantum value and context switching time affect each other, in a round-robin scheduling algorithm.
admin
2.3k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
context-switch
process-scheduling
round-robin-scheduling
descriptive
+
–
0
votes
3
answers
117
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 40 (Page No. 177)
Round-robin schedulers normally maintain a list of all runnable processes, with each process occurring exactly once in the list. What would happen if a process occurred twice in the list? Can you think of any reason for allowing this?
Round-robin schedulers normally maintain a list of all runnable processes, with each process occurring exactly once in the list. What would happen if a process occurred t...
admin
1.4k
views
admin
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
0
answers
118
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 26 (Page No. 175)
In Sec. $2.3.4$, a situation with a high-priority process, H, and a low-priority process, $L$, was described, which led to $H$ looping forever. Does the same problem occur if round-robin scheduling is used instead of priority scheduling? Discuss.
In Sec. $2.3.4$, a situation with a high-priority process, H, and a low-priority process, $L$, was described, which led to $H$ looping forever. Does the same problem occu...
admin
346
views
admin
asked
Oct 24, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
0
votes
0
answers
119
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 24 (Page No. 175)
Does Peterson’s solution to the mutual-exclusion problem shown in Fig. $2-24$ work when process scheduling is preemptive? How about when it is nonpreemptive?
Does Peterson’s solution to the mutual-exclusion problem shown in Fig. $2-24$ work when process scheduling is preemptive? How about when it is nonpreemptive?
admin
1.7k
views
admin
asked
Oct 24, 2019
Operating System
tanenbaum
operating-system
process-and-threads
process-scheduling
descriptive
+
–
5
votes
5
answers
120
UGC NET CSE | June 2019 | Part 2 | Question: 45
Consider three CPU intensive processes, which require $10$, $20$ and $30$ units of time and arrive at times $0$, $2$ and $6$ respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end. $4$ $2$ $3$ $1$
Consider three CPU intensive processes, which require $10$, $20$ and $30$ units of time and arrive at times $0$, $2$ and $6$ respectively. How many context switches are n...
Arjun
3.8k
views
Arjun
asked
Jul 2, 2019
Operating System
ugcnetcse-june2019-paper2
process-scheduling
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
...
15
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register