📑 CHAPTER PRACTICE

CS401 - Computer Architecture and Assembly Language Programming – Serial Port Programming

Practice 10 verified multiple choice questions per batch with instant answer reveal and comprehensive solutions.

Showing 8190 of 90 Questions
Page 9 of 9
Q81❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
On a standard 9-pin DB-9 RS-232 serial connector, which pin is assigned to Signal Ground (GND)?
  1. A.Pin 3
  2. B.Pin 4
  3. C.Pin 5
  4. D.Pin 6
Q82❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
On a standard 9-pin DB-9 RS-232 serial port connector, which pin is assigned to Signal Ground (GND)?
  1. A.Pin 3
  2. B.Pin 4
  3. C.Pin 5
  4. D.Pin 6
Q83❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
On a standard 9-pin DB-9 RS-232 serial port connector, which pin is assigned to RD (Received Data)?
  1. A.Pin 1
  2. B.Pin 2
  3. C.Pin 3
  4. D.Pin 4
Q84❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
The hardware communication protocol of exchanging control signals back and forth between two communicating devices is called:
  1. A.Activity
  2. B.Hand-shaking
  3. C.Interruption
  4. D.Time clicking
Q85❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
On a standard 9-pin DB-9 RS-232 serial connector, which pin is assigned to CD (Carrier Detect)?
  1. A.Pin 1
  2. B.Pin 2
  3. C.Pin 3
  4. D.Pin 4
Q86❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
On a standard 9-pin DB-9 RS-232 serial connector, which pin is assigned to CTS (Clear To Send)?
  1. A.Pin 6
  2. B.Pin 7
  3. C.Pin 8
  4. D.Pin 9
Q87📝 Short Q📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
When executing BIOS INT 14h Service 02h (Serial Port - Read Character), explain the purpose and register contents of AH, AL, and DX.
💻 assembly Snippet
mov ah, 0x02
mov dx, 0    ; COM1
int 0x14     ; Read character into AL
Q88📝 Short Q📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
In serial port communication (COM1), describe the function of I/O port register 0x3F9 and explain how Bit 0 and Bit 1 are configured for interrupt handling.
💻 assembly Snippet
mov dx, 0x3f9
mov al, 0x03  ; Enable both Received Data and Transmitter Empty interrupts
out dx, al
Q89📝 Short Q📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
Describe how serial ports COM1 and COM2 are accessed via hardware I/O port address ranges, and explain the dual function of the base register at address 0x3F8.
💻 assembly Snippet
mov dx, 0x3f8
in al, dx    ; Read received character from buffer
out dx, al   ; Write character to transmitter holding register
Q90❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
In UART serial port communication, every bit in the Line Status Register conveys ________ information regarding errors and data readiness.
  1. A.Different
  2. B.Same
  3. C.Partial
  4. D.Full