Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Context Switching Process Management
anisha007
asked
in
Operating System
Sep 25, 2018
742
views
1
vote
1
vote
What is the least number of context switching required for 'n' number of processes?
operating-system
context-switch
anisha007
asked
in
Operating System
Sep 25, 2018
by
anisha007
742
views
answer
comment
Follow
share this
share
4 Comments
Show 3 previous comments
by
anisha007
commented
Sep 25, 2018
reply
Follow
share this
what if its not mentioned that there are n processes in the system. If the question is like the one I mentioned, then what to assume?
0
0
by
goxul
commented
Sep 25, 2018
reply
Follow
share this
Whenever such a question appears in GATE, they'll mention all the assumptions. So you need not worry about that.
1
1
by
smsubham
commented
Sep 25, 2018
reply
Follow
share this
In GATE question it will clearly mention if context switch at the beginning and end will be calculated or not. (as done in questions asked in previous year)
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
8
votes
8
votes
3
answers
1
_jerry
asked
in
Operating System
Jan 26, 2018
2,877
views
Self Doubt Context Switching Threads
S1: Context Switching occurs only in kernel mode. :TRUE S2: Context Switching in user mode is faster as compared to context switching in kernel mode. : TRUE If Context Switching occurs only in kernel mode, then how is CS in user mode faster ... switching and then change back to user mode which means more time should be taken as compared to CS in kernel mode.
_jerry
asked
in
Operating System
Jan 26, 2018
by
_jerry
2.9k
views
operating-system
context-switch
threads
1
vote
1
vote
1
answer
2
abhishek1995_cse
asked
in
Operating System
Oct 5, 2018
1,340
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 average waiting time if Shortest Job Next scheduling algorithm is used? (a) 7.5 (b) 6.25 (c) 6.5 (d) None
abhishek1995_cse
asked
in
Operating System
Oct 5, 2018
by
abhishek1995_cse
1.3k
views
operating-system
context-switch
memory-management
3
votes
3
votes
1
answer
3
Souvik33
asked
in
Operating System
Nov 25, 2022
774
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 as: (Time Slice of RR is smaller than burst of P1) Only preemption Only context switch Both preemption and context switch None
Souvik33
asked
in
Operating System
Nov 25, 2022
by
Souvik33
774
views
round-robin-scheduling
operating-system
context-switch
0
votes
0
votes
1
answer
4
Shukrayani
asked
in
Operating System
Dec 12, 2018
705
views
Zeal Test Series 2019: Operating System - Context Switch
Shukrayani
asked
in
Operating System
Dec 12, 2018
by
Shukrayani
705
views
operating-system
context-switch
zeal
zeal2019
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy