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 131 โ€“ 140 of 174 Questions
Page 14 of 18
Q131
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ Conditional Jump Short Displacement RestrictionEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In 8088 CPU architecture, conditional jump instructions (such as JZ, JNZ, JA, JB) are strictly restricted to which type of jump distance?
๐Ÿ’ป assembly Snippet
jz short_label
  1. A.Far jump
  2. B.Short jump
  3. C.Near jump
  4. D.All of the given options
Q132
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.3. Timer InterfacingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Among the hardware interrupt request lines handled by the 8259 Programmable Interrupt Controller (PIC), which interrupt possesses the highest priority?
  1. A.Keyboard interrupt (IRQ 1)
  2. B.Timer interrupt (IRQ 0)
  3. C.Non-Maskable Interrupt (INT 2)
  4. D.Breakpoint interrupt (INT 3)
Q133
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing the OUT assembly instruction to write data to an I/O port, which register serves as the mandatory source operand?
๐Ÿ’ป 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
Q134
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
I/O address space (via the M/IO# control pin) is selected when which of the following instructions is executed by the processor?
๐Ÿ’ป assembly Snippet
in al, 0x60
  1. A.MOV
  2. B.DEC
  3. C.IN
  4. D.ADD
Q135
โ“ 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 acts as the Interrupt Mask Register (IMR) for selectively enabling or disabling interrupts?
๐Ÿ’ป assembly Snippet
in al, 0x21
or al, 0x01   ; Mask IRQ 0
out 0x21, al
  1. A.Port 19
  2. B.Port 20
  3. C.Port 21
  4. D.Port 22
Q136
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When executing the IN assembly instruction to read data from an I/O port, which register serves as the compulsory destination operand?
๐Ÿ’ป assembly Snippet
in al, 0x60
  1. A.AL or AX
  2. B.BL or BX
  3. C.CL or CX
  4. D.DL or DX
Q137
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For external hardware to generate an interrupt directly to the 8088 processor, how many physical pins are provided on the outside of the CPU package?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q138
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following assembly instructions is used to read a scan code character from the keyboard controller port?
๐Ÿ’ป assembly Snippet
in al, 0x60
  1. A.out al, 0x60
  2. B.in al, 0x60
  3. C.out dx, al
  4. D.out dx, 0x378
Q139
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.2. Programmable Interrupt Controller (8259)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 8259 Programmable Interrupt Controller (PIC) chip hardware interface possesses:
  1. A.One input signal and eight output signals
  2. B.One input signal and one output signal
  3. C.Eight input signals and one output signal
  4. D.Eight input signals and eight output signals
Q140
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.5. Parallel PortEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The physical interface connector used for the PC parallel port (LPT port) is called:
  1. A.DB-25
  2. B.BD-25
  3. C.DB-24
  4. D.BD-24