GATE CSE
First time here? Checkout the FAQ!
x
0 votes
217 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 (135 points)   | 217 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.



Top Users Sep 2017
  1. Habibkhan

    8586 Points

  2. rishu_darkshadow

    3046 Points

  3. Warrior

    2862 Points

  4. Arjun

    2800 Points

  5. A_i_$_h

    2550 Points

  6. manu00x

    2116 Points

  7. nikunj

    1990 Points

  8. Bikram

    1874 Points

  9. makhdoom ghaya

    1820 Points

  10. SiddharthMahapatra

    1718 Points


26,301 questions
33,864 answers
80,439 comments
31,203 users