The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
238 views
In a non multi programming os,  a deadlock will occur due to

a. When two process share the same variable

b.  Can never happen

C. When two process run at the same time, waiting for resources held by each other

D. When an interrupt occurs.
asked in Operating System by (165 points) | 238 views
I think you are talking about batch programing system. b seems to be correct answer?
Sir the deadlock will not occur is the correct answer
I am not sure, so you can check once, but in batch programming system, only one process is active one at a time hence deadlock shouldn't occur.
In multi programming system, many programs are loaded into main memory, but in non-multi programming, only one process will in memory at a time. It is not possible to have a deadlock involving only one single process.

Please log in or register to answer this question.



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

28,839 questions
36,693 answers
90,637 comments
34,642 users