Serial port programming

Lecture 38: Serial port programming

90 Questions65 MCQs22 Short Questions3 Long Questions
Showing 4150 of 90 Questions
Page 5 of 9
Q41❓ MCQ📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
In a multitasking kernel, the thread registration code initializes the Process/Thread Control Block (PCB/TCB) and adds it to the ready list so that the __________ can allocate CPU time to it.
  1. A.Assembler
  2. B.Linker
  3. C.Scheduler
  4. D.Debugger
Q42❓ MCQ📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
In multithreaded programming architectures, each thread maintains its own independent stack capable of tracking function calls, parameters, and __________ variables.
  1. A.global
  2. B.local
  3. C.legal
  4. D.illegal
Q43❓ MCQ📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
During thread creation in a multitasking kernel, the thread registration code initializes the Process Control Block (PCB) and links it into the active process list so that which kernel component can grant it CPU execution time?
  1. A.Assembler
  2. B.Scheduler
  3. C.Linker
  4. D.Debugger
Q44❓ MCQ📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
In a multitasking software environment, how can threads be registered and created?
  1. A.Static creation only
  2. B.Dynamic creation only
  3. C.Both static and dynamic creation
  4. D.None of the above
Q45❓ MCQ📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
During context switching in which environment are all processor general registers, segment registers, flags, and stack states saved into Process Control Blocks (PCBs)?
  1. A.Multitasking
  2. B.Multi Processing
  3. C.Function Call
  4. D.BIOS
Q46❓ MCQ📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
The thread registration code initializes the Process Control Block (PCB) and adds it to the active list so that which operating system kernel component can allocate CPU execution turns?
  1. A.Assembler
  2. B.Linker
  3. C.Scheduler
  4. D.Debugger
Q47❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
In a multithreaded system, each thread maintains its own stack frame allowing it to have independent function calls, parameters, and __________ variables.
  1. A.Global
  2. B.Local
  3. C.Legal
  4. D.Illegal
Q48📝 Short Q📑 Lec 14Medium🔁RepeatedHigh-Yield💡Conceptual
Write an assembly directive or code snippet to allocate memory space for 32 Process Control Blocks (PCBs) in a multitasking kernel where each PCB occupies 32 bytes.
💻 assembly Snippet
pcbs: times 32 * 32 db 0
Q49❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
In multitasking operating systems and execution kernels, the creation of execution threads can be __________.
  1. A.Static only
  2. B.Dynamic (created at runtime)
  3. C.Easy
  4. D.Difficult
Q50❓ MCQ📑 Lec 14Easy🔁RepeatedHigh-Yield💡Conceptual
During thread registration, the kernel code initializes the Process Control Block (PCB) and inserts it into the active task linked list so that the __________ will allocate CPU execution time to it.
  1. A.Assembler
  2. B.Scheduler
  3. C.Linker
  4. D.Debugger