search
Log In
1 vote
1.4k views

For switching from a CPU user mode to the supervisor mode following type of interrupt is most appropriate

  1. Internal interrupts
  2. External interrupts
  3. Software interrupts
  4. None of the above 
in Operating System 1.4k views

2 Answers

6 votes
 
Best answer
ans will be C  

as internal interrupts occur due to some internal error (like division by zero)

external interrupts occur due some h/w event  like power failure etc

software interrupts or system calls are the most appropriate method for switching from a user mode to kernel mode

examples ctr+C , int 86 etc.

selected by
0 votes
OPTION C IS CORRECT
Answer:

Related questions

2 votes
1 answer
1
756 views
Which of the following versions of Windows $O.S$. contain built-in partition manager which allows us to shrink and expand pre-defined drives ? Windows Vista Windows $2000$ Windows NT Windows $98$
asked Aug 2, 2016 in Operating System makhdoom ghaya 756 views
1 vote
1 answer
2
923 views
Monitor is an Interprocess Communication $(IPC)$ technique which can be described as It is higher level synchronization primitive and is a collection of procedures, variables, and data structures grouped together in a special package. It is a non-negative integer which apart ... implemented as system calls to block the process when they are not allowed to enter critical region to save $CPU$ time.
asked Jul 30, 2016 in Operating System makhdoom ghaya 923 views
3 votes
1 answer
3
1.6k views
An operating system has $13$ tape drives. There are three processes $P1, P2$ & $P3$. Maximum requirement of $P1$ is $11$ tape drives, $P2$ is $5$ tape drives and $P3$ is $8$ tape drives. Currently, $P1$ is allocated $6$ tape drives, $P2$ is allocated $3$ tape ... is allocated $2$ tape drives. Which of the following sequences represent a safe state? $P2 P1 P3$ $P2 P3 P1$ $P1 P2 P3$ $P1 P3 P2$
asked Jul 30, 2016 in Operating System makhdoom ghaya 1.6k views
2 votes
1 answer
4
2k views
Consider an imaginary disk with $40$ cylinders. A request come to read a block on cylinder $11$. While the seek to cylinder $11$ is in progress, new requests come in for cylinders $1, 36, 16, 34, 9$ and $12$ in that order. The number of arm motions using shortest seek first algorithm is $111$ ​ $112$ $60$ $61$
asked Jul 30, 2016 in Operating System makhdoom ghaya 2k views
...