Serial port programming

Lecture 38: Serial port programming

90 Questions65 MCQs22 Short Questions3 Long Questions
Showing 1120 of 90 Questions
Page 2 of 9
Q11❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
How many prevalent calling conventions primarily exist in high-level language integration with assembly (e.g., C cdecl vs Pascal)?
💻 assembly Snippet
; C Calling Convention (cdecl): Caller cleans stack
; Pascal Calling Convention: Callee cleans stack
  1. A.2
  2. B.1
  3. C.3
  4. D.4
Q12❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
How many prevalent calling conventions primarily exist in high-level language integration with assembly (e.g., C vs Pascal)?
  1. A.2
  2. B.1
  3. C.3
  4. D.4
Q13❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
How many traditional calling conventions (e.g., cdecl, stdcall, pascal, fastcall) are commonly referenced in high-level language integration?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q14📝 Short Q📑 Lec 14EasyHigh-Yield💡Conceptual
Differentiate between serial communication and parallel communication.
💻 assembly Snippet
; Serial Port Initialization
mov ah, 0
mov al, 0xE3
xor dx, dx
int 0x14
Q15📝 Short Q📑 Lec 14MediumHigh-Yield💡Conceptual
Differentiate between synchronous data transmission and asynchronous data transmission in serial communication.
Q16🧠 Long Problem📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual🌟Starred
Specify the required register parameters for calling the BIOS INT 14h service 'Write Character to Serial Port'.
💻 assembly Snippet
mov ah, 0x01
mov al, 'A'
mov dx, 0
int 0x14
Q17📝 Short Q📑 Lec 14Easy🔁RepeatedHigh-Yield
What is the minimum number of pins required for bidirectional serial communication, and what are their names?
Q18❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin RS-232 (DB-9) serial interface connector, which pin number is assigned to the Data Set Ready (DSR) signal?
  1. A.Pin 5
  2. B.Pin 6
  3. C.Pin 7
  4. D.Pin 8
Q19❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin DB-9 serial communications connector, which pin number is allocated to the Data Set Ready (DSR) hardware status line?
  1. A.Pin 4
  2. B.Pin 5
  3. C.Pin 6
  4. D.Pin 7
Q20❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield
On a standard 9-pin DB-9 serial communications connector, which pin number is assigned to the Clear To Send (CTS) hardware status signal?
  1. A.Pin 6
  2. B.Pin 7
  3. C.Pin 8
  4. D.Pin 9