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 131 โ€“ 140 of 307 Questions
Page 14 of 31
Q131
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ INTO Instruction and Arithmetic Overflow Interrupt (INT 4)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which interrupt vector is reserved for handling arithmetic overflow conditions checked via the INTO instruction?
๐Ÿ’ป assembly Snippet
into
  1. A.INT 1
  2. B.INT 2
  3. C.INT 3
  4. D.INT 4
Q132
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Architecture and IRQ Input LinesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How are the primary Interrupt Request (IRQ) lines on the 8259 Programmable Interrupt Controller (PIC) configured?
  1. A.Eight hardware input interrupt signals
  2. B.One hardware input interrupt signal
  3. C.Eight hardware output interrupt signals
  4. D.One hardware output interrupt signal
Q133
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC Interrupt Request Priority HierarchyEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Among all hardware IRQ lines managed by the master 8259 Programmable Interrupt Controller (PIC), which interrupt request line holds the absolute highest priority level?
  1. A.IRQ 0 (System Timer)
  2. B.IRQ 1 (Keyboard)
  3. C.IRQ 5 (Sound Card / LPT2)
  4. D.IRQ 6 (Floppy Disk)
Q134
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Hardware Interrupt Requests and IRQ ConflictsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When two hardware peripheral devices in a system attempt to share the same non-shareable Interrupt Request (IRQ) line simultaneously, what condition is created?
  1. A.IRQ collision
  2. B.IRQ conflict
  3. C.IRQ drop
  4. D.IRQ blockage
Q135
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Divide Error Exception (INT 0)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which software/hardware processor interrupt vector is automatically triggered when an arithmetic division by zero occurs during DIV or IDIV execution?
๐Ÿ’ป assembly Snippet
mov ax, 100
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)
Q136
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Interrupt Service Routine (ISR) ArchitectureEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the technical term for the software routine that executes in response to a hardware or software interrupt call?
๐Ÿ’ป assembly Snippet
my_isr:
    ; Handle interrupt
    iret
  1. A.Interrupt Service Routine (ISR)
  2. B.Interrupt Return Service (IRS)
  3. C.Interrupt Subroutine Program (ISP)
  4. D.Interrupt Routine Table (IRT)
Q137
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC IRQ Priority HierarchyEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Among the hardware interrupt lines managed by the 8259 Programmable Interrupt Controller (PIC), what is the priority level of IRQ 0?
  1. A.Medium
  2. B.High
  3. C.Highest
  4. D.Low
Q138
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC IRQ Priority HierarchyEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Among the hardware Interrupt Request (IRQ) lines managed by the 8259 Programmable Interrupt Controller (PIC), what is the priority level of IRQ 0?
  1. A.low
  2. B.medium
  3. C.highest
  4. D.lowest
Q139
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Floppy Disk Storage Layout and CapacityEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the total raw storage capacity of a standard 3.5-inch High-Density (HD) floppy diskette?
  1. A.1444 KB
  2. B.1440 KB
  3. C.1280 KB
  4. D.2480 KB
Q140
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Port Input/Output Instructions (OUT)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which CPU register serves as the mandatory source data 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