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 161 โ€“ 170 of 174 Questions
Page 17 of 18
Q161
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When two non-shareable hardware devices attempt to use the same IRQ line, what condition occurs?
  1. A.IRQ collision
  2. B.IRQ conflict
  3. C.IRQ drop
  4. D.IRQ blockage
Q162
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8259 Programmable Interrupt Controller (PIC) fixed hardware priority scheme, IRQ 0 has what priority level?
  1. A.Medium
  2. B.High
  3. C.Highest
  4. D.Low
Q163
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is driven by the system programmable interval timer (PIT) device?
  1. A.IRQ 0
  2. B.IRQ 1
  3. C.IRQ 2
  4. D.IRQ 3
Q164
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.2. Programmable Interrupt Controller (8259)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a hardware interrupt service routine, an End of Interrupt (EOI) signal is sent to the 8259 PIC by the:
๐Ÿ’ป assembly Snippet
mov al, 0x20
out 0x20, al  ; Send EOI command to PIC
  1. A.Handler (Interrupt Service Routine)
  2. B.Processor hardware
  3. C.IRQ device
  4. D.PIC itself
Q165
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing the OUT instruction to send data to an I/O port, which register serves as the required source register?
๐Ÿ’ป assembly Snippet
out dx, al
  1. A.AL or AX
  2. B.BL or BX
  3. C.CL or CX
  4. D.DL or DX
Q166
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.2. Programmable Interrupt Controller (8259)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8259 Programmable Interrupt Controller (PIC), which I/O port address is used for the Interrupt Mask Register (IMR) to selectively enable or disable IRQs?
๐Ÿ’ป assembly Snippet
in al, 0x21   ; Read IMR
or al, 0x01   ; Disable IRQ 0
out 0x21, al  ; Write updated IMR
  1. A.Port 19
  2. B.Port 20
  3. C.Port 21
  4. D.Port 22
Q167
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.5. Parallel PortEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many pins are present on a standard parallel port DB-25 connector?
  1. A.20
  2. B.25
  3. C.30
  4. D.35
Q168
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.2. Programmable Interrupt Controller (8259)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write an assembly language routine to disable (mask) the keyboard hardware interrupt (IRQ 1) using the 8259 PIC Interrupt Mask Register (IMR).
Q169
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8259 Programmable Interrupt Controller (PIC) fixed hardware priority scheme, IRQ 0 possesses what priority level?
  1. A.Low
  2. B.Medium
  3. C.Highest
  4. D.Lowest
Q170
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Program Segment PrefixMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing a COM file, at which offset within the Program Segment Prefix (PSP) does the actual text of the first command-line parameter begin?
  1. A.0x80
  2. B.0x82
  3. C.0x84
  4. D.0x86