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 11 โ€“ 20 of 189 Questions
Page 2 of 19
Q11
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Hardware Handshaking and InterfacingEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The exchange of control signals back and forth between two hardware devices to synchronize data transfer is called ________.
  1. A.Hand-shaking
  2. B.Activity
  3. C.Interruption
  4. D.Time clicking
Q12
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Interfacing and Hardware InterruptsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which hardware Interrupt Request (IRQ) line is assigned to serial communication port COM 2?
  1. A.IRQ 3
  2. B.IRQ 0
  3. C.IRQ 1
  4. D.IRQ 2
Q13
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Parallel Port Interfacing and Hardware DB-25 ConnectorEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many total pins are present on a standard DB-25 parallel printer port connector?
  1. A.25
  2. B.20
  3. C.30
  4. D.35
Q14
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Parallel Port Interfacing and Hardware DB-25 ConnectorEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which range of pins on a standard 25-pin DB-25 parallel printer port connector are assigned to Ground (GND)?
  1. A.18-25
  2. B.10-18
  3. C.25-32
  4. D.32-39
Q15
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Registers and I/O Port AddressingHard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Read the following passage carefully and fill in the blanks in order: "Serial port is also accessible via ________ ports. ________ is accessible via ports 3F8-3FF while ________ is accessible via ports 2F8-2FF. The first register at ________."
๐Ÿ’ป assembly Snippet
MOV DX, 0x3F8
IN AL, DX
Q16
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Serial Port Architecture and UART RegistersHard๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Read the following passage about UART serial port architecture and registers, then fill in the blanks in order using the provided word bank: Word Bank: (I/O, COM1, COM2, Transmitter, buffer, bit 0, 3FA) "Serial port is also accessible via ________ ports. ________ is accessible via ports 3F8-3FF while ________ is accessible via ports 2F8-2FF. The first register at 3F8 (or 2F8 for the other port) is the ________ holding register if written to and the receiver ________ register if read from. Other registers of our interest include 3F9 whose ________ must be set to enable received data available interrupt and bit 1 must be set to enable transmitter holding register empty interrupt. Bit 0 of ________ is set if an interrupt is pending and its bits 1-3 identify the cause of the interrupt."
๐Ÿ’ป assembly Snippet
MOV DX, 0x3F9
IN AL, DX
OR AL, 0x01
OUT DX, AL
Q17
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Serial Communication and DB-9 Pin AssignmentsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 serial port connector, which pin number is assigned to the DSR (Dataset Ready) signal line?
  1. A.6
  2. B.4
  3. C.5
  4. D.7
Q18
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Serial Communication and DB-9 Pin AssignmentsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 serial port connector, which pin number is assigned to TD (Transmitted Data)?
  1. A.3
  2. B.1
  3. C.2
  4. D.4
Q19
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.1. Serial Communication and DB-9 Pin AssignmentsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 serial port connector, which pin number is assigned to Signal Ground (GND)?
  1. A.5
  2. B.4
  3. C.6
  4. D.3
Q20
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 10๐Ÿท๏ธ 10.2. Parallel Port Architecture and DB-25 PinoutsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which pins on a standard DB-25 parallel port connector are connected to signal ground?
  1. A.18-25
  2. B.10-18
  3. C.25-32
  4. D.32-39