Ch 11: Real-Time Interrupts & Timer Programming

171 Questions171 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 171 Questions
Page 11 of 18
Q101
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ BIOS Serial Port Services (INT 14h Service 02h)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how BIOS Interrupt 14h Service 02h (INT 14h AH=02h) is used for serial port communication.
๐Ÿ’ป cpp Snippet
mov ah, 0x02
mov dx, 0
int 0x14
Q102
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ BIOS Serial Port Interrupt 14h RegistersMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When utilizing BIOS Interrupt 14h serial communication services, what do the values in registers AH, AL, and DX represent?
๐Ÿ’ป assembly Snippet
mov ah, 0x01
mov al, 'A'
mov dx, 0
int 0x14
Q103
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ DB-9 Serial Interface Signal Ground PinoutEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 RS-232 serial interface connector, which pin number is assigned to Signal Ground (GND)?
  1. A.Pin 4
  2. B.Pin 5
  3. C.Pin 6
  4. D.Pin 3
Q104
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ BIOS Serial Port Service INT 14h Return RegistersEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which two 8-bit registers are used by BIOS INT 14h Service 02h (Read Character from Serial Port) to return output results?
๐Ÿ’ป assembly Snippet
mov ah, 0x02
mov dx, 0
int 0x14
Q105
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ Parallel Port Pinout Configuration (Ground Pins 18-25)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which physical pin range on a standard DB-25 parallel printer port connector is connected to Ground (GND)?
  1. A.Pins 10โ€“18
  2. B.Pins 18โ€“25
  3. C.Pins 25โ€“32
  4. D.Pins 32โ€“39
Q106
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ DB-9 Serial Interface Carrier Detect PinoutEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 RS-232 serial interface connector, which pin number is assigned to CD (Carrier Detect / DCD)?
  1. A.Pin 1
  2. B.Pin 2
  3. C.Pin 3
  4. D.Pin 4
Q107
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ DB-9 Serial Interface Ring Indicator PinoutEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 RS-232 serial interface connector, which pin number is assigned to RI (Ring Indicator)?
  1. A.Pin 6
  2. B.Pin 7
  3. C.Pin 8
  4. D.Pin 9
Q108
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ Classification of Computer Input and Output DevicesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Classify and list the main types of I/O peripheral devices connected to a computer system.
Q109
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ DB-9 Serial Interface DSR PinoutEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 RS-232 serial connector, which pin number is assigned to DSR (Data Set Ready)?
  1. A.Pin 5
  2. B.Pin 6
  3. C.Pin 7
  4. D.Pin 8
Q110
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 11๐Ÿท๏ธ Serial Port I/O Hardware Addressing and UART RegistersMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Fill in the missing terms regarding Serial Port UART I/O port addresses and register access: 'Serial Port is accessible via [Blank 1], where COM1 is mapped to ports [Blank 2] and COM2 is mapped to ports [Blank 3]. Port 3F8h acts as the [Blank 4] register when written to, and the receiver [Blank 5] register when read from. In register 3F9h, [Blank 6] must be set to enable received data available interrupt.'
๐Ÿ’ป assembly Snippet
mov dx, 0x3f8
out dx, al