Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged context-switch
4
4 votes
1
1 answer
228
228 views
GO Classes DPP | GATE CS | Operating System | Round Robin Scheduling
A system has two processes, $P_1$ and $P_2$.$P_1$ is currently running. $P_2$ is ready. The operating system uses preemptive Round Robin scheduling. $P_1$'s scheduling qu...
GO Classes
228
views
asked
Jul 21
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-328
goclasses-os-practice-questions
round-robin-scheduling
context-switch
preemptive-scheduling
+
–
1
1 vote
1
1 answer
253
253 views
GO Classes DPP | GATE CS | Operating System | Threads & Context Switching
Which of the following statements about context switching are correct?When switching between two threads, the registers, stack pointer, and program counter of the outgoin...
GO Classes
253
views
asked
Jul 17
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-325
goclasses-os-practice-questions
threads
context-switch
multiple-selects
+
–
2
2 votes
1
1 answer
258
258 views
GO Classes DPP | GATE CS | Operating System | Threads & Context Switching
Which of the following statements are correct?With kernel-level threads, if one thread of a process blocks, all the threads of that process will also be blocked. A lock i...
GO Classes
258
views
asked
Jul 17
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-325
goclasses-os-practice-questions
threads
context-switch
multiple-selects
+
–
3
3 votes
1
1 answer
200
200 views
GO Classes DPP | GATE CS | Operating System | Threads & Context Switching
Which of the following statements are correct?Threads that are part of the same process share the same stack pointer. Threads that are part of the same process share the ...
GO Classes
200
views
asked
Jul 17
Operating System
goclasses
goclasses-cs-dpp
operating-system
goclasses-cs-dpp-day-325
goclasses-os-practice-questions
threads
context-switch
multiple-selects
+
–
1
1 vote
0
0 answers
517
517 views
Operating System | Context Switch
Source: IIT Bombay Answer Given: B. In option A., "servicing a disk interrupt, that results in another process being marked as ready / runnable" won't lead to a context s...
BhavdeepSinghNijhawa
517
views
asked
Jan 14, 2025
Operating System
operating-system
context-switch
+
–
2
2 votes
1
1 answer
906
906 views
SRTF Scheduling: PW DPP Operating System
Can anyone explain how it will be done as my solution and the DPP solution don't match.Answer = C ( acc to dpp )And, according to my Gantt Chart the total completion time...
Nishit_Hirani
906
views
asked
Sep 14, 2024
Operating System
operating-system
numerical-answers
process-scheduling
context-switch
+
–
0
0 votes
1
1 answer
1.1k
1.1k views
#Operating System #Round Robin Algorithms #Schedulers
Consider the process information for set of processes, assuming the context switch delay to be 0, calculate the average waiting time, average turnaround, average response...
Light Yagami Ryuk
1.1k
views
asked
Sep 8, 2024
Operating System
operating-system
process-scheduling
round-robin-scheduling
context-switch
+
–
0
0 votes
0
0 answers
308
308 views
#Operating System-GATE
Consider a process P in xv6 that invokes the wait system call. Which of the following statements is/are true? If P does not have any zombie children, then the wait system...
mr.smooth
308
views
asked
Jun 12, 2024
Operating System
operating-system
process-scheduling
context-switch
+
–
3
3 votes
4
4 answers
1.5k
1.5k views
OS, Process Scheduling
Consider a uniprocessor system with n processes in the ready queue. Round robin scheduling with time quantum x is used for process scheduling. Assume each process require...
delxbydelt
1.5k
views
asked
Mar 15, 2024
Operating System
process-scheduling
operating-system
round-robin-scheduling
context-switch
process-synchronization
+
–
91
91 votes
5
5 answers
29.4k
29.4k views
GATE CSE 2024 | Set 2 | Question: 15
Consider a process $\text{P}$ running on a $\text{CPU}$. Which one or more of the following events will always trigger a context switch by the $\text{OS}$ that result...
Arjun
29.4k
views
asked
Feb 16, 2024
Operating System
gatecse-2024-set2
operating-system
multiple-selects
context-switch
one-mark
+
–
8
8 votes
1
1 answer
999
999 views
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 23
Consider the context switch of a CPU from the context of process P1 to that of process P2.Consider the following two events in the chronological order of the events durin...
GO Classes
999
views
asked
Feb 5, 2024
Operating System
goclasses2024-mockgate-14
operating-system
context-switch
process
one-mark
+
–
1
1 vote
1
answers
1 answer
3.6k
3.6k views
#Operating system question #cpu scheduling
Consider arrival time and execution time for the following process:-P.id A.T B.T1 2 52 7 93 8 34 10 4 Ass...
Syntax-error
3.6k
views
asked
Mar 13, 2023
Operating System
operating-system
process-scheduling
context-switch
+
–
3
3 votes
1
answers
1 answer
1.9k
1.9k views
Operating System | Round Robin | Preemption & Context Switch
Suppose only a process P1 is executing, using Round Robin scheduling. After the time slice expires, the same process comes back into execution. This could be considered a...
Souvik33
1.9k
views
asked
Nov 25, 2022
Operating System
round-robin-scheduling
operating-system
context-switch
+
–
1
1 vote
1
1 answer
1.6k
1.6k views
Made Easy Test Series 2021: Operating System
Consider the following segment:Note : Assume the count = count + 1; will execute in ‘3’ different instructions.Where, m[count] refers to memory value of count variable.Pr...
DebRC
1.6k
views
asked
Sep 12, 2022
Operating System
operating-system
made-easy-test-series
context-switch
process-synchronization
+
–
0
0 votes
0
0 answers
381
381 views
Operating System
1. Write clearly the dinning philosopher and reader-writer classical problem of process synchronization
kidussss
381
views
asked
Sep 1, 2022
Operating System
operating-system
context-switch
made-easy-test-series
ace-test-series
+
–
1
1 vote
1
1 answer
2.5k
2.5k views
Made easy || Operating system
Consider a process P running on a system with non-preemptive Kernel design. Consider following actions by P :(i) A blocking system call.(ii) Servicing a timer interrupt.(...
Shreya2002
2.5k
views
asked
Aug 5, 2022
Operating System
made-easy-test-series
operating-system
system-calls
context-switch
+
–
0
0 votes
1
1 answer
2.7k
2.7k views
Operating System | Process Scheduling | Round Robin
Lets consider one situation where,OS is scheduling processes(P1,P2,P3...Pn) with Round Robin method and current running process is P1 and next scheduled process in queue ...
anupamsworld
2.7k
views
asked
Jun 6, 2022
Operating System
operating-system
process-scheduling
round-robin-scheduling
context-switch
+
–
1
1 vote
0
0 answers
769
769 views
#Self Doubt OS CPU scheduling?
Does non preemptive CPU scheduling needs hardware support.kindly explain.
iarnav
769
views
asked
Jan 12, 2022
Operating System
process-scheduling
operating-system
context-switch
+
–
1
1 vote
1
1 answer
2.2k
2.2k views
#self doubt #round robin #cpu scheduling
in round robin algorithm if a process with burst time = 10 arrived at t=0 and time quantum is 2 units, context switch time is 2 units . Then completion time of the proces...
jayadev
2.2k
views
asked
Oct 10, 2021
Operating System
operating-system
process-scheduling
round-robin-scheduling
context-switch
+
–
0
0 votes
2
2 answers
1.9k
1.9k views
NIELIT 2017 DEC Scientist B - Section B: 17
The time taken to switch between user and kernel modes of execution be $t1$ while the time taken to switch between two processes be $t2$. Which of the following is TRUE?$...
admin
1.9k
views
asked
Mar 30, 2020
Operating System
nielit2017dec-scientistb
operating-system
context-switch
+
–
0
0 votes
1
1 answer
2.9k
2.9k views
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.
admin
2.9k
views
asked
Oct 25, 2019
Operating System
tanenbaum
operating-system
process-and-threads
context-switch
process-scheduling
round-robin-scheduling
descriptive
+
–
1
1 vote
3
3 answers
1.2k
1.2k views
Self doubt
Virtual memory increases context switching overhead ? Why why not ?
kman30
1.2k
views
asked
Jan 19, 2019
Operating System
operating-system
virtual-memory
context
context-switch
+
–
1
1 vote
1
1 answer
2.3k
2.3k views
made_easy_test_series
Consider the following statements given below:S1: User-level threads switching does not require context switching.S2: Virtual memory increases the context switching overh...
Shivam Kasat
2.3k
views
asked
Jan 7, 2019
Operating System
operating-system
threads
context-switch
+
–
2
2 votes
2
2 answers
2.0k
2.0k views
GATE Overflow | Mock GATE | Test 1 | Question: 37
Consider the context switch of a CPU from the context of process $P1$ to that of process $P2$. Consider the following two events in the chronological order of the events ...
Ruturaj Mohanty
2.0k
views
asked
Dec 27, 2018
Operating System
go-mockgate-1
context-switch
operating-system
two-marks
+
–
0
0 votes
1
1 answer
1.5k
1.5k views
Zeal Test Series 2019: Operating System - Context Switch
Shukrayani
1.5k
views
asked
Dec 12, 2018
Operating System
operating-system
context-switch
zeal-test-series
zeal2019
+
–
1
1 vote
1
1 answer
2.6k
2.6k views
Process Management
Q.Consider the processes P1, P2, P3, P4 whose arrival times are 0, 1, 2, 3 and Burst times are 5, 2, 13, 7. If the Context Switching time is 1 unit (ms), what is the aver...
abhishek1995_cse
2.6k
views
asked
Oct 5, 2018
Operating System
operating-system
context-switch
memory-management
+
–
1
1 vote
0
0 answers
1.5k
1.5k views
Context Switching Process Management
What is the least number of context switching required for 'n' number of processes?
anisha007
1.5k
views
asked
Sep 25, 2018
Operating System
operating-system
context-switch
+
–
0
0 votes
0
0 answers
2.6k
2.6k views
My doubt on context switch and preemption
What is the difference between context switch and preemption?In case of critical section between context switch and preemption which one is possible ?And if so happens th...
Akash Kumar Roy
2.6k
views
asked
Mar 30, 2018
Operating System
operating-system
context-switch
process-scheduling
+
–
8
8 votes
3
3 answers
4.5k
4.5k views
Self Doubt Context Switching Threads
S1: Context Switching occurs only in kernel mode. :TRUES2: Context Switching in user mode is faster as compared to context switching in kernel mode. : TRUEIf Context Swit...
_jerry
4.5k
views
asked
Jan 26, 2018
Operating System
operating-system
context-switch
threads
+
–
Page:
1
2
next »