Skip to main content

Advanced Computer Architecture MCQs with Answers

Practice important Advanced Computer Architecture MCQs with answers and explanations.

Multiple Choice Questions

Q621: In the assembly code, what is the purpose of the instruction `out r1, controlp`?
  • A: Send data to the control port
  • B: Read data from the control port
  • C: Initialize the printer
  • D: Set the printer to busy mode
View Answer
A

Q622: What type of loop is used in the assembly code for polling the printer status?
  • A: Conditional loop
  • B: For loop
  • C: Infinite loop
  • D: Do-while loop
View Answer
A

Q623: What does the `addi r5, r5, 2` instruction do in the assembly program?
  • A: Decrements the character counter
  • B: Advances the buffer pointer
  • C: Increments the character counter
  • D: Resets the control register
View Answer
B

Q624: What is an interrupt?
  • A: A request to CPU to suspend normal processing
  • B: A program that executes without stopping
  • C: A command to the operating system to shut down
  • D: A signal from the GPU to increase performance
View Answer
A

Q625: What does ISR stand for?
  • A: Interrupt Service Routine
  • B: Interrupt Signal Resource
  • C: Integrated System Resource
  • D: Internal Service Routine
View Answer
A

Q626: Which of the following best describes the purpose of interrupts?
  • A: To allow multiple peripherals to communicate simultaneously
  • B: To ensure the CPU is always busy
  • C: To facilitate user input without polling
  • D: To manage memory more effectively
View Answer
C

Q627: What type of interrupt is generated by a key press?
  • A: Internal Interrupt
  • B: External Interrupt
  • C: Software Interrupt
  • D: Hardware Interrupt
View Answer
B

Q628: Internal interrupts are primarily used for:
  • A: Handling external events
  • B: Exception handling
  • C: Communicating with peripherals
  • D: Performing calculations
View Answer
B

Q629: Which of the following is an example of a software interrupt?
  • A: A timer expiration
  • B: A keyboard press
  • C: A system call to delete a file
  • D: A mouse click
View Answer
C

Q630: Fill in the blank: An interrupt that cannot be blocked is called a _______.
  • A: Maskable Interrupt
  • B: Non-maskable Interrupt
  • C: Software Interrupt
  • D: Hardware Interrupt
View Answer
B

Test Your Knowledge

Take a timed quiz on Advanced Computer Architecture

🚀 Start Quiz Now