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 171 โ€“ 180 of 307 Questions
Page 18 of 31
Q171
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Arithmetic Overflow Exception (INT 4)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which interrupt vector is reserved in Intel x86 architecture for arithmetic overflow exceptions?
๐Ÿ’ป assembly Snippet
into
  1. A.INT 1
  2. B.INT 2
  3. C.INT 3
  4. D.INT 4
Q172
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Hardware Interrupt Lines (IRQ 0-7)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How are hardware Interrupt Request (IRQ) lines characterized on a single 8259 Programmable Interrupt Controller (PIC) chip?
  1. A.Eight Input signals
  2. B.One Input signal
  3. C.Eight Output signals
  4. D.Sixteen Output signals
Q173
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Priority Hierarchy (IRQ 0)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following hardware Interrupt Request (IRQ) lines holds the highest priority on the primary 8259 PIC?
  1. A.Keyboard IRQ (IRQ 1)
  2. B.Timer IRQ (IRQ 0)
  3. C.Sound Card IRQ (IRQ 5)
  4. D.Floppy Disk IRQ (IRQ 6)
Q174
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Hardware Interrupt Request (IRQ) ConflictsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When two expansion hardware devices are configured to use the exact same Interrupt Request (IRQ) line on an architecture that does not support interrupt sharing, what condition occurs?
  1. A.An IRQ collision
  2. B.An IRQ conflict
  3. C.An IRQ drop
  4. D.An IRQ blockage
Q175
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Divide Error Exception (INT 0)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which processor interrupt vector exception is automatically generated by x86 hardware when a division operation results in a divide-by-zero or divide overflow condition?
๐Ÿ’ป assembly Snippet
mov ax, 10
mov bl, 0
div bl
  1. A.Interrupt 0 (INT 0)
  2. B.Interrupt 1 (INT 1)
  3. C.Interrupt 2 (INT 2)
  4. D.Interrupt 3 (INT 3)
Q176
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Interrupt Service Routines (ISRs)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the specialized software routine called that executes in response to a hardware or software interrupt?
  1. A.ISR (Interrupt Service Routine)
  2. B.IRS (Interrupt Return Service)
  3. C.ISP (Interrupt Stack Pointer)
  4. D.IRT (Interrupt Table)
Q177
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Hardware Interrupt PriorityEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What priority level is assigned to hardware IRQ 0 on the primary 8259 Programmable Interrupt Controller?
  1. A.Medium
  2. B.High
  3. C.Highest
  4. D.Low
Q178
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Programmable Interval Timer and IRQ 0Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is driven by the Programmable Interval Timer (PIT) hardware device?
  1. A.IRQ 0
  2. B.IRQ 1
  3. C.IRQ 2
  4. D.IRQ 3
Q179
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Divide Overflow Exception (INT 0) Return BehaviorMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following is a special type of processor exception interrupt that returns control to the exact instruction that caused it, rather than the next instruction?
๐Ÿ’ป assembly Snippet
div bl
  1. A.Divide overflow interrupt (INT 0)
  2. B.Debug interrupt (INT 1)
  3. C.Arithmetic overflow interrupt (INT 4)
  4. D.Change of sign interrupt
Q180
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Arithmetic Overflow Exception (INT 4)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which processor interrupt vector is dedicated to handling arithmetic overflow exceptions triggered by the INTO instruction?
๐Ÿ’ป assembly Snippet
into
  1. A.INT 1
  2. B.INT 2
  3. C.INT 3
  4. D.INT 4