Ch 09: Software Interrupts and DOS/BIOS Services

174 Questions174 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 31 โ€“ 40 of 174 Questions
Page 4 of 18
Q31
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 2 Non-Maskable Interrupt)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which x86 hardware interrupt vector is assigned to NMI (Non-Maskable Interrupt)?
  1. A.INT 0
  2. B.INT 1
  3. C.INT 2
  4. D.INT 3
Q32
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (8259 PIC Cascading via IRQ 2)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In IBM PC architecture featuring dual 8259 Programmable Interrupt Controllers (PICs), which IRQ line serves as the cascading interrupt channel connecting the secondary slave PIC to the primary master PIC?
  1. A.IRQ 0
  2. B.IRQ 1
  3. C.IRQ 2
  4. D.IRQ 3
Q33
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (Divide Overflow INT 0 Processor Exception)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a division overflow condition occurs (e.g., dividing by zero or quotient exceeding register capacity), the CPU is interrupted. What type of interrupt classification is this?
  1. A.Hardware interrupt
  2. B.Software interrupt
  3. C.Processor exception
  4. D.Logical interrupts
Q34
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 4 Into Arithmetic Overflow Exception)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For what specific hardware condition or event is interrupt vector `INT 4` reserved in x86 architecture?
๐Ÿ’ป assembly Snippet
add al, bl
into ; Triggers INT 4 if OF = 1
Q35
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 1 Trap / Single-Step Interrupt Purpose)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For what specific hardware purpose is interrupt vector `INT 1` reserved in x86 architecture?
Q36
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (AX Register Interrupt Service Number)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which CPU register is generally used to specify the service function number when calling BIOS or DOS interrupt routines?
๐Ÿ’ป assembly Snippet
mov ah, 0x09 ; Service number in AH (part of AX)
int 0x21
  1. A.DX
  2. B.AX
  3. C.BX
  4. D.CX
Q37
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (8259 PIC Hardware Priority IRQ 0)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In PC hardware architecture, IRQ 0 (connected to the 8254 Programmable Interval Timer) possesses which interrupt priority level relative to all other hardware IRQs?
  1. A.Low
  2. B.High
  3. C.Highest
  4. D.Medium
Q38
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 1 Trap Flag Debugging Interrupt)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which x86 hardware interrupt vector is automatically triggered after the execution of each instruction when the Trap Flag (TF) is set during interactive debugging?
  1. A.INT 0
  2. B.INT 1
  3. C.INT 2
  4. D.INT 3
Q39
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 4 Arithmetic Overflow Exception)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which x86 interrupt vector is designated for the Arithmetic Overflow Exception conditionally triggered by the `INTO` instruction?
๐Ÿ’ป assembly Snippet
into ; Triggers INT 4 if OF = 1
  1. A.INT 1
  2. B.INT 2
  3. C.INT 3
  4. D.INT 4
Q40
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (8259 PIC Eight Input IRQ Channels)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In PC hardware architecture, an Interrupt Request line (IRQ) on the 8259 PIC represents an input signal from external peripheral hardware. How many physical IRQ input lines does a single master 8259 PIC controller manage?
  1. A.Eight Input signals
  2. B.One Input signal
  3. C.Eight Output signals
  4. D.One output signal