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 101 โ€“ 110 of 307 Questions
Page 11 of 31
Q101
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Processor Exceptions and Automatic INT 0 GenerationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When an arithmetic division by zero occurs during program execution in an 8088 CPU, how is the Divide-by-Zero interrupt triggered?
๐Ÿ’ป assembly Snippet
mov ax, 10
mov bl, 0
div bl
  1. A.By executing 'INT 0' instruction explicitly
  2. B.By executing 'INT 1' instruction explicitly
  3. C.By executing 'INT 2' instruction explicitly
  4. D.It is generated automatically by hardware exception
Q102
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ DOS Interrupt 21h Character Input ServicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
DOS INT 21h Service 01h is used to read a character from standard input with screen echo. In which register does it return the character's ASCII code?
๐Ÿ’ป assembly Snippet
mov ah, 0x01
int 0x21
  1. A.AL
  2. B.BL
  3. C.CL
  4. D.BH
Q103
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ BIOS Disk Access vs DOS File System AbstractionMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How does system BIOS view physical disk storage media compared to operating systems like DOS?
  1. A.Logical storage (files and directories)
  2. B.Raw storage (in the form of physical sectors)
  3. C.Virtual memory blocks
  4. D.Partition tables only
Q104
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Hardware Interrupt Requests and IRQ ConflictsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What occurs when two hardware devices in an x86 system attempt to share the same unshareable Interrupt Request (IRQ) line simultaneously?
  1. A.An IRQ Collision
  2. B.An IRQ Conflict
  3. C.An IRQ Crash
  4. D.An IRQ Blockage
Q105
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Hardware Interrupt Requests and Keyboard Controller (IRQ 1)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is assigned to the keyboard controller in IBM PC architecture?
  1. A.IRQ 0
  2. B.IRQ 1
  3. C.IRQ 2
  4. D.IRQ 3
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Hardware IRQ Assignments for Disk Controllers (IRQ 6)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is used by the Floppy Disk Drive controller?
  1. A.IRQ 4
  2. B.IRQ 5
  3. C.IRQ 6
  4. D.IRQ 7
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Hardware CPU Exceptions and INT 0 GenerationEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When an arithmetic division by zero occurs during program execution in an 8088 CPU, how is the 'Division by 0' interrupt generated?
๐Ÿ’ป assembly Snippet
mov ax, 10
mov bl, 0
div bl
  1. A.INT 0 instruction in code
  2. B.INT 1 instruction in code
  3. C.INT 2 instruction in code
  4. D.This interrupt is generated automatically by hardware
Q108
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ 8259 PIC IRQ Priority LevelsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Among 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
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ BIOS Interrupt Services (INT 10h)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Interrupt INT 10h is dedicated to providing __________ system services in PC architecture.
๐Ÿ’ป assembly Snippet
mov ah, 0x0E
mov al, 'A'
int 0x10
  1. A.RAM
  2. B.Disk
  3. C.BIOS video
  4. D.DOS video
Q110
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 8๐Ÿท๏ธ Arithmetic Overflow Interrupt (INT 4)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which software 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