YOU CAN DOWNLOAD 200+ SUBJECTS PDF BOOK FOR COMPETITIVE EXAMINATIONS
Operating system mcqs process structures
Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In a programmed input/output(PIO) .....
the CPU uses polling to watch the control bit constantly, looping to see if a device is ready
the CPU writes one data byte to the data register and sets a bit in control register to show that a byte is available
the CPU receives an interrupt when the device is ready for the next byte
the CPU runs a user written code and does accordingly
Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which operation is performed by an interrupt handler?
Saving the current state of the system
Loading the interrupt handling code and executing it
Once done handling, bringing back the system to the original state it was before the interrupt occurred
All of the mentioned
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How does the Hardware trigger an interrupt?
Sending signals to CPU through a system bus
Executing a special program called interrupt program
Executing a special program called system program
Executing a special operation called system call
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is a trap/exception?
hardware generated interrupt caused by an error
software generated interrupt caused by an error
user generated interrupt caused by an error
none of the mentioned
Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The initial program that is run when the computer is powered up is called .....
There are 5 questions to complete.