Ch 08: String Instructions and Primitives

307 Questions307 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 181 โ€“ 190 of 307 Questions
Page 19 of 31
Q181
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ End of Interrupt (EOI) Command and Interrupt HandlerMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In hardware interrupt processing, who sends the End of Interrupt (EOI) command to the Programmable Interrupt Controller (PIC) upon completing interrupt servicing?
๐Ÿ’ป assembly Snippet
out 0x20, al
  1. A.Interrupt Handler (ISR)
  2. B.Processor hardware
  3. C.IRQ signal line
  4. D.PIC controller
Q182
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Port I/O Instructions (OUT Source Register)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which CPU accumulator registers function as the source data registers for the OUT port output instruction?
๐Ÿ’ป 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
Q183
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Interrupt Mask Register (Port 21h)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8259 Programmable Interrupt Controller (PIC), which I/O port address corresponds to the Interrupt Mask Register (IMR) used to selectively enable or mask IRQ lines?
๐Ÿ’ป assembly Snippet
in al, 0x21
  1. A.Port 19h
  2. B.Port 20h
  3. C.Port 21h
  4. D.Port 22h
Q184
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Single-Step Interrupt (INT 1)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which interrupt vector is designated in x86 architecture as the Single-Step / Debug interrupt?
  1. A.INT 0
  2. B.INT 1
  3. C.INT 2
  4. D.INT 3
Q185
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Priority Assignment (IRQ 0)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What hardware priority level is assigned to IRQ 0 (System Timer) on the 8259 Programmable Interrupt Controller?
  1. A.Low priority
  2. B.Medium priority
  3. C.Highest priority
  4. D.Lowest priority
Q186
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Port I/O Instructions (OUT)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which CPU register is strictly used as the source register for the OUT port I/O instruction?
๐Ÿ’ป 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
Q187
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Cascading Architecture (IRQ 2)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is designated on the primary 8259 PIC as the cascading interrupt line connected to the secondary (slave) PIC?
  1. A.IRQ 0
  2. B.IRQ 1
  3. C.IRQ 2
  4. D.IRQ 3
Q188
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Registers and Port AssignmentsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 8259 Programmable Interrupt Controller utilizes two I/O port addresses: Port 20h serves as the control port, while Port 21h serves as __________.
๐Ÿ’ป assembly Snippet
in al, 0x21
  1. A.The Interrupt Mask Register (IMR)
  2. B.The Interrupt port
  3. C.The Output port
  4. D.The Input port
Q189
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Interrupt Classification in 8088 ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The 8088 processor architecture broadly categorizes interrupts into how many major classes?
  1. A.2 classes (Hardware interrupts and Software interrupts)
  2. B.3 classes
  3. C.4 classes
  4. D.5 classes
Q190
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Arithmetic Overflow Exception (INT 4 / INTO)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For what specific purpose is Software Interrupt 4 (INT 4) reserved in x86 processor architecture?
๐Ÿ’ป assembly Snippet
into