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 61 โ€“ 70 of 174 Questions
Page 7 of 18
Q61
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (IRQ 4 Serial Port COM 1 Assignment)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware IRQ line is assigned to serial communications port COM 1?
  1. A.IRQ 4
  2. B.IRQ 5
  3. C.IRQ 6
  4. D.IRQ 7
Q62
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (8259 PIC Control Port 0x20)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In the 8259 Programmable Interrupt Controller (PIC), which I/O port address is referred to as the Control / Command Port?
๐Ÿ’ป assembly Snippet
mov al, 0x20
out 0x20, al ; Sends EOI command to 8259 control port 0x20
  1. A.19
  2. B.20
  3. C.21
  4. D.22
Q63
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (8259 PIC Eight Inputs and One Output Signal)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Regarding pin interface signals, a single 8259 Programmable Interrupt Controller (PIC) chip possesses __________.
  1. A.One input signals and eight output signals
  2. B.One input signal and one output signal
  3. C.Eight input signals and one output signals
  4. D.Eight input signals and eight output signals
Q64
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 1 Trap Exception Purpose)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For what specific purpose is the x86 hardware interrupt vector `INT 1` reserved in system architecture?
๐Ÿ’ป assembly Snippet
; INT 1 Debug Exception
; Triggered automatically after each instruction when TF = 1
Q65
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Timer Interfacing (8254 PIT 1 ms Timer Frequency Configuration)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write x86 assembly language instructions to configure the 8254 PIT (Programmable Interval Timer) Channel 0 to generate interrupts at a frequency of 1 millisecond (1000 Hz).
๐Ÿ’ป assembly Snippet
mov al, 0x36
out 0x43, al
mov ax, 1193
out 0x40, al
mov al, ah
out 0x40, al
Q66
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interrupt Handling (INT 1 Trap / Single-Step Vector)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
For what specific purpose is the x86 hardware interrupt vector `INT 1` reserved?
๐Ÿ’ป assembly Snippet
; INT 1 Debug Exception
; Triggered automatically after each instruction when TF = 1
Q67
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interfacing and Peripherals (DB-25 Parallel Port Ground Pins 18-25)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard DB-25 parallel printer port connector, which range of pin numbers is connected to electrical ground?
  1. A.10-18
  2. B.18-25
  3. C.25-32
  4. D.32-39
Q68
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. DOS and BIOS Services (INT 21h Service 01H Character Input)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
DOS `INT 21h` Service `01H` reads a single character from standard input with screen echoing. In which register is the ASCII character code returned?
๐Ÿ’ป assembly Snippet
mov ah, 01h ; Service 01h: Read character with echo
int 21h     ; Character returned in AL
  1. A.AL
  2. B.BL
  3. C.CL
  4. D.BH
Q69
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interfacing and Peripherals (DB-9 Serial Port Pinout: Carrier Detect Pin 1)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DE-9 / DB-9 serial RS-232 connector, which pin number is assigned to the CD (Carrier Detect) signal line?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q70
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 9๐Ÿท๏ธ 9.1. Interfacing and Peripherals (DB-9 Serial Port Pinout: Signal Ground Pin 5)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DE-9 / DB-9 serial RS-232 connector, which pin number is assigned to Signal Ground (GND)?
  1. A.4
  2. B.5
  3. C.6
  4. D.3