Advanced Computer Architecture MCQs with Answers
Practice important Advanced Computer Architecture MCQs with answers and explanations.
Chapter: 28
Q641:
Which is better for I/O operations, interrupt driven I/O or polling?
A. Interrupt driven I/O
B. Polling
C. Both are equal
D. None of the above
Correct Answer:
A
Chapter: 28
Q642:
What is a major disadvantage of polling in I/O operations?
A. Time wastage
B. High speed
C. Low efficiency
D. Easy implementation
Correct Answer:
A
Chapter: 28
Q643:
What are the two main design issues in interrupt-driven I/O?
A. Device Identification and Timing
B. Device Identification and Priority Mechanism
C. Memory Management and Device Identification
D. None of the above
Correct Answer:
B
Chapter: 28
Q644:
In a daisy chain configuration, which device gets priority?
A. Last device
B. First device
C. All devices equally
D. Priority is not assigned
Correct Answer:
B
Chapter: 28
Q645:
Which of the following is a method for Device Identification?
A. Multiple Interrupt Lines
B. Parallel Processing
C. Circular Buffer
D. None of the above
Correct Answer:
A
Chapter: 28
Q646:
What is the function of the interrupt handler software?
A. Process requests from the CPU
B. Manage memory allocation
C. Handle user inputs
D. Execute all programs
Correct Answer:
A
Chapter: 28
Q647:
In the context of interrupts, what does the term "NMI" stand for?
A. Non-Masking Interrupt
B. Normal Memory Instruction
C. New Mode Interrupt
D. None of the above
Correct Answer:
A
Chapter: 28
Q648:
What is the main disadvantage of the daisy chain method?
A. High cost
B. High latency
C. Device nearest to CPU has highest priority
D. Low performance
Correct Answer:
C
Chapter: 28
Q649:
When does a peripheral device assert IREQ in interrupt driven I/O?
A. When it is ready to accept data
B. When it is busy
C. When the CPU requests data
D. When there is a power failure
Correct Answer:
A
Chapter: 28
Q650:
Fill in the blank: The CPU saves the ________ during an interrupt.
A. Registers
B. Memory
C. State
D. All of the above
Correct Answer:
A
Chapter: 28
Q651:
The interrupt vector table is used to:
A. Map interrupts to their respective service routines
B. Store user data
C. Track memory usage
D. None of the above
Correct Answer:
A
Chapter: 28
Q652:
In the interrupt-driven I/O example for the FALCON-A, what is the first character transferred during a 16-bit transfer?
A. Two characters
B. One character
C. Four characters
D. No characters
Correct Answer:
B
Chapter: 28
Q653:
What is a primary function of the printer driver in the interrupt-driven I/O system?
A. Initialize the printer
B. Transfer data to the printer
C. Handle interrupts
D. All of the above
Correct Answer:
D
Chapter: 28
Q654:
What does the CPU do upon receiving an interrupt request?
A. Ignore it
B. Execute the current instruction
C. Respond by executing the interrupt service routine
Correct Answer:
B
Chapter: 28
Q655:
In the interrupt service routine (ISR), what is typically stored at absolute address 2 in memory?
A. ISR address
B. Interrupt vector table
C. Device status register
D. None of the above
Correct Answer:
A
Chapter: 28
Q656:
What command is used by the CPU to identify the interrupting module?
A. Test I/O
B. Reset I/O
C. Initialize I/O
D. None of the above
Correct Answer:
A
Chapter: 28
Q657:
Which of the following is not a characteristic of the FALCON-A CPU regarding interrupts?
A. Supports multiple interrupts
B. Only one interrupt at a time
C. No need for vectored interrupts
D. None of the above
Correct Answer:
A
Chapter: 28
Q658:
Fill in the blank: The CPU branches to a device service routine when it ________.
A. Identifies an interrupt
B. Ignores an interrupt
C. Receives no requests
D. All of the above
Correct Answer:
A
Chapter: 29
Q659:
What does FALSIM consist of?
A. FALCON-A assembler and FALCON-A simulator
B. FALCON-A compiler and interpreter
C. FALCON-A debugger and editor
D. None of the above
Correct Answer:
A
Chapter: 29
Q660:
What is the file extension for a FALCON-A assembly file?
A. .asmfa
B. .binfa
C. .lstfa
D. .txt
Correct Answer:
A