Serial port programming

Lecture 38: Serial port programming

90 Questions65 MCQs22 Short Questions3 Long Questions
Showing 2130 of 90 Questions
Page 3 of 9
Q21❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin DB-9 serial communications connector, which pin number is assigned to the Data Carrier Detect (CD / DCD) signal line?
  1. A.Pin 1
  2. B.Pin 2
  3. C.Pin 3
  4. D.Pin 4
Q22❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
What is the standard name for the 9-pin serial communications connector used on PCs?
  1. A.DB-7
  2. B.DB-9
  3. C.DB-25
  4. D.9DB-5
Q23❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin RS-232 (DB-9) serial port connector, which pin number is assigned to the Receive Data (RD / RXD) line?
  1. A.Pin 1
  2. B.Pin 2
  3. C.Pin 3
  4. D.Pin 4
Q24❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin RS-232 (DB-9) serial port connector, which pin number is assigned to the Data Terminal Ready (DTR) signal?
  1. A.Pin 1
  2. B.Pin 2
  3. C.Pin 3
  4. D.Pin 4
Q25❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin RS-232 (DB-9) serial port connector, which pin number is assigned to the Data Set Ready (DSR) signal?
  1. A.Pin 6
  2. B.Pin 5
  3. C.Pin 3
  4. D.Pin 4
Q26❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
Which BIOS software interrupt provides serial port communication services (COM1–COM4) in assembly language?
💻 assembly Snippet
mov ah, 0x01
mov al, 'A'
mov dx, 0
int 0x14
  1. A.INT 14h
  2. B.INT 13h
  3. C.INT 11h
  4. D.INT 12h
Q27❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin RS-232 (DB-9) serial port connector, which pin number is assigned to the Ring Indicator (RI) signal line?
  1. A.Pin 6
  2. B.Pin 7
  3. C.Pin 8
  4. D.Pin 9
Q28📝 Short Q📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
In BIOS INT 14h Service 02h (Read Character from Serial Port), which 8-bit register returns the received ASCII character?
💻 assembly Snippet
mov ah, 0x02
mov dx, 0
int 0x14
Q29📝 Short Q📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
Define 'Baud Rate' in serial communication and explain the purpose and function of the Parity Bit.
Q30🧠 Long Problem📑 Lec 14Medium🔁RepeatedHigh-Yield
Describe the names and functions of any five pins on a standard 9-pin DB-9 RS-232 serial communication connector.