Input Output (IO) System
Multiple Choice questions & answers are available for a Computer Science students to clear GAT, NTS, ECAT exams, various technical interview, competitive examination, and other entrance exam. Input Output (IO) System is the important Topic for a computer science and technical students and one should practice these Mcqs to grasp good knowledge on the topic.
2. How does the software trigger an interrupt ?
Sending signals to CPU through bus
Executing a special operation called system call
Executing a special program called system program
Executing a special program calle interrupt trigger program
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
3. 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 these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
4. What is an ISR ?
Information Service Request
Interrupt Service Request
Interrupt Service Routine
Information Service Routine
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
5. An interrupt vector
Is an address that is indexed to an interrupt handler
Is a unique device number that is indexed by an address
Is a unique identity given to an interrupt
None of these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
6. DMA is used for :
High speed devices(disks and communications network)
Low speed devices
Saving CPU cycles
Both a and c
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
7. In a memory mapped input/output :
The CPU uses polling to watch the control bit constantly, looping to see if 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
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
8. In a programmed input/output(PIO) :
The CPU uses polling to watch the control bit constantly, looping to see if 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
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
9. In an interrupt driven input/output :
The CPU uses polling to watch the control bit constantly, looping to see if 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
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
10. In the layered approach of Operating Systems :
Bottom Layer(0) is the User interface
Highest Layer(N) is the User interface
Bottom Layer(0) is the hardware
Both b and c
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
11. How does the Hardware trigger an interrupt ?
Sending signals to CPU through system bus
Executing a special program called interrupt program
Executing a special program called system program
Executing a special operation called system call
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
12. 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 these
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
13. Why is the Software interrupt required by the processor?
Return from subroutine.
Obtain system services, which need execution of privileged instruction.
Test the interrupt system of the processor.
Implement co-routines.
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
14. Match the following list1 with list2:a. DMA I/O ————————————– 1. High speed RAMb. Cache —————————————- 2. Diskc. Interrupt I/O ——————————— 3. Printerd. Condition code register ——————- 4. ALU
A – 2, b – 1, c – 3, d - 4
A – 4, b – 1, c – 3, d - 2
A – 2, b – 3, c – 1, d - 4
A – 3, b – 4, c – 2, d - 1
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
15. Which of the following is an example of Spooled Device?
A graphic display device
A line printer used to print the output of a number of jobs
A terminal used to enter input data to a running program
A secondary storage device in a virtual memory system
Answer & Solution
No Solution for this Answer..! Report or Discus this Question