2 votes 2 votes On a system with N CPU, what is the maximum number of processes that can be in running state ? A) N process B)Depend on the processes in ready state C) Can't say Operating System operating-system process + – Shivam Chauhan asked Oct 19, 2017 Shivam Chauhan 741 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes Answer is A Since they have asked the maximum number of process, assumed that you hav infinity number of process in ready state , and out of these you need to get N such that n process can run on N process. Dexter answered Oct 19, 2017 • selected Nov 19, 2017 by Shivam Chauhan Dexter comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Habibkhan commented Oct 20, 2017 reply Follow Share Actually the thing is it is asking about "maximum number of processes that can be in running state with N processors" . Ur point is also true that if number of processes in ready state is less than N , then yes all of them can go to running state .. But then it will be less than N . But we have to possibility of how the maximum value can be achieved . Hence we should assume considering wht is being asked in the question . If the question were : The number of processes that can be in running state In that case ur possibilities should be taken into account . As maximum possible number of processes is being asked here , we need not bother . 2 votes 2 votes Shivam Chauhan commented Oct 20, 2017 reply Follow Share Okk ,that clears my doubt. 1 votes 1 votes Shubhanshu commented Oct 20, 2017 reply Follow Share What happen if we have kernel level threads/processesas they can run on two different processor.??? 0 votes 0 votes Please log in or register to add a comment.