Ch 10: Hardware Interrupts and PIC 8259

189 Questions189 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 1 โ€“ 10 of 189 Questions
Page 1 of 19
Q1
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Debugger using Breakpoint InterruptHard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Write the assembly language code for a Breakpoint Interrupt Routine (INT 3 ISR).
๐Ÿ’ป assembly Snippet
debugisr:
    push bp
    mov bp, sp
    mov ax, [bp+4]
    mov es, ax
    dec word [bp+2]
    mov di, [bp+2]
    mov al, [opcode]
    mov [es:di], al
    or word [bp+6], 0x0100
    iret
Q2
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Keyboard InterfacingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When a key is pressed or released on a physical PC keyboard, which hardware interrupt (IRQ) and corresponding software interrupt vector are executed?
๐Ÿ’ป assembly Snippet
in al, 0x60
Q3
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Parallel Port InterfacingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which range of pins on a standard DB-25 parallel port connector are connected to ground (GND)?
  1. A.18-25
  2. B.10-18
  3. C.25-32
  4. D.32-39
Q4
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a 9-pin DB-9 serial connector, which pin number is assigned to Carrier Detect (CD / DCD)?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q5
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a 9-pin DB-9 serial connector, which pin number is assigned to Signal Ground (GND)?
  1. A.5
  2. B.4
  3. C.6
  4. D.3
Q6
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a 9-pin DB-9 serial connector, which pin number is assigned to Ring Indicator (RI)?
  1. A.9
  2. B.6
  3. C.7
  4. D.8
Q7
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232 SignalsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a standard 9-pin DB-9 serial port connector, Data Set Ready (DSR) is assigned to which pin number?
  1. A.6
  2. B.4
  3. C.5
  4. D.7
Q8
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232 SignalsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a standard 9-pin DB-9 serial port connector, Clear To Send (CTS) is assigned to which pin number?
  1. A.8
  2. B.6
  3. C.7
  4. D.9
Q9
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232 SignalsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a 9-pin DB-9 serial connector, Carrier Detect (CD / DCD) is assigned to which pin number?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q10
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and RS-232 SignalsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In a 9-pin DB-9 serial connector, Receive Data (RD / RXD) is assigned to which pin number?
  1. A.2
  2. B.1
  3. C.3
  4. D.4