Computer Architecture & Assembly Language MCQs with Answers
Practice important Computer Architecture & Assembly Language MCQs with answers and explanations.
Multiple Choice Questions
Q251: What is the significance of the int 0x21 instruction in Example 11.3?
- A: It terminates and stays resident
- B: It initializes the interrupt vector table
- C: It sets up the PCB index
- D: It hooks the software interrupt
View Answer
A
Q252: Which interrupt vector is used for BIOS video services?
- A: INT 21
- B: INT 10
- C: INT 13
- D: INT 14
View Answer
B
Q253: What does the AH register value 00h represent in INT 10 services?
- A: Set video mode
- B: Set text-mode cursor shape
- C: Set cursor position
- D: Scroll up window
View Answer
A
Q254: Which video mode corresponds to 80x25 text mode?
- A: Mode 0
- B: Mode 2
- C: Mode 3
- D: Mode D
View Answer
B
Q255: In which mode does the INT 10 service AH = 06h operate?
- A: Text mode
- B: Graphics mode
- C: BIOS mode
- D: Protected mode
View Answer
A
Q256: What does the AL register specify in the INT 10 service AH = 09h?
- A: Character to display
- B: Page number
- C: Attribute or color
- D: Number of times to write character
View Answer
C
Q257: What is the purpose of the INT 10 service with AH = 0Ch?
- A: Write character only
- B: Write graphics pixel
- C: Set cursor position
- D: Scroll down window
View Answer
B
Q258: Which service is used to reverse the shapes of all characters on the screen?
- A: INT 10 - GET FONT INFORMATION
- B: INT 10 - WRITE CHARACTER AND ATTRIBUTE
- C: INT 10 - TEXT-MODE CHARGEN
- D: INT 10 - WRITE GRAPHICS PIXEL
View Answer
C
Q259: What does the CX register represent in the INT 10 service AH = 13h?
- A: Number of characters in string
- B: Number of times to write character
- C: Row and column of the window’s upper left corner
- D: Attribute used to write blank lines
View Answer
A
Q260: What is the role of the DH and DL registers in the INT 10 service AH = 02h?
- A: Page number
- B: Row and column for cursor position
- C: Character to display
- D: Attribute or color
View Answer
B