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
NPTEL
Rahul Chouhan
asked
in
Operating System
Aug 22, 2017
4,068
views
4
votes
4
votes
Consider a system having n CPUs, k processes, and k > n. Calculate the upper bound for the number of processes in the READY, RUNNING and BLOCKED states
1 k, k, k.
2 n, n, n
3 k, k, n
4 k, n, k
process-scheduling
Rahul Chouhan
asked
in
Operating System
Aug 22, 2017
by
Rahul Chouhan
4.1k
views
answer
comment
Follow
share this
share
2 Comments
by
stblue
commented
Aug 22, 2017
reply
Follow
share this
Upper bound of process in
1) Ready state : k
2) Running state : n
3) Blocked state : k
Option 4 is correct here
3
3
by
Sireesha baggu
commented
Dec 9, 2017
reply
Follow
share this
Can any one tell the Lower bound too
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
5
votes
5
votes
1) All the k processes could be in ready state.
2) Only n of them could be in running state as there are n processors.
3) It may be possible that all of k processes go to blocked state.
So 4. k,n,k is correct.
Vivek Jain
answered
Aug 22, 2017
by
Vivek Jain
comment
Follow
share this
1 comment
by
rucchuu
commented
Jun 21, 2018
reply
Follow
share this
In Second, only 'n' process in running state when each cpu(n) will execute only one process in worst case.
0
0
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
1
answer
1
delxbydelt
asked
in
Operating System
Mar 15
200
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 requires kx seconds to complete and the context switch takes 0 seconds. At what time the first process will complete the execution? (assume all the variables as integers). A) nkx B) k(nx-1) C) k(nk+n) D) x(nk-n+1)
delxbydelt
asked
in
Operating System
Mar 15
by
delxbydelt
200
views
process-scheduling
operating-system
round-robin-scheduling
context-switch
process-synchronization
3
votes
3
votes
3
answers
2
Arjun
asked
in
Operating System
Feb 16
2,031
views
GATE CSE 2024 | Set 2 | Question: 27
Consider a single processor system with four processes $\text{A, B, C,}$ and $\text{D}$, represented as given below, where for each process the first value is its arrival time, and the second value is its $\text{CPU}$ ... $\mathrm{SRTF}=7, \mathrm{NP}-\mathrm{SJF}=7.5$ $\mathrm{SRTF}=7, \mathrm{NP}-\mathrm{SJF}=8.5$
Arjun
asked
in
Operating System
Feb 16
by
Arjun
2.0k
views
gatecse2024-set2
operating-system
process-scheduling
1
vote
1
vote
1
answer
3
Arjun
asked
in
Operating System
Feb 16
2,354
views
GATE CSE 2024 | Set 1 | Question: 15
Which of the following process state transitions is/are NOT possible? Running to Ready Waiting to Running Ready to Waiting Running to Terminated
Arjun
asked
in
Operating System
Feb 16
by
Arjun
2.4k
views
gatecse2024-set1
operating-system
process-scheduling
multiple-selects
2
votes
2
votes
2
answers
4
GO Classes
asked
in
Operating System
Feb 5
372
views
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 24
Consider a job A arrives at time $T=0$ and job length of $500 \mathrm{~ms}$. Job $B$ arrives at time $\mathrm{T}=100 \mathrm{~ms}$ with a length of $100 \mathrm{~ms}$. Considering the Shortest Remaining Time First Scheduler, what does ... for $100 \mathrm{~ms}$, then $B$ runs for $100 \mathrm{~ms}$, then A runs for $300 \mathrm{~ms}$
GO Classes
asked
in
Operating System
Feb 5
by
GO Classes
372
views
goclasses2024-mockgate-14
operating-system
process-scheduling
1-mark
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