Revision Examination Tests
“Come all for this Greatness”
... 100% Correct Ans ...
Multithreading Issues and Concepts in Operating Systems
TEST 2024-2025 ACTUAL EXAM COMPLETE 200-
QUESTIONS AND CORRECT DETAILED ANSWERS
Quiz fork() System Call
Ans: Creates a duplicate process in UNIX systems.
Quiz exec() System Call
Ans: Replaces the entire process with a new program.
Quiz Multithreaded Program
Ans: A program that executes multiple threads concurrently.
Quiz Synchronous Signal
Ans: Signal generated by an operation in the same process.
Quiz Asynchronous Signal
Ans: Signal generated by an external event to a process.
Quiz Signal Handler
Ans: Function that processes incoming signals.
Quiz Default Signal Handler
Ans: Kernel-provided handler for signals, can be overridden.
Quiz User-defined Signal Handler
Ans: Custom function defined by the user to handle signals.
, Quiz kill() Function
Ans: Delivers a signal to a specified process.
Quiz pthread_kill() Function
Ans: Delivers a signal to a specified thread.
Quiz Thread Cancellation
Ans: Terminating a thread before it completes execution.
Quiz Target Thread
Ans: The specific thread intended for cancellation.
Quiz Asynchronous Cancellation
Ans: Immediate termination of a target thread.
Quiz Deferred Cancellation
Ans: Target thread checks for cancellation requests periodically.
Quiz pthread_cancel() Function
Ans: Requests cancellation of a specified target thread.
Quiz pthread_create() Function
Ans: Creates a new thread in Pthreads.
Quiz pthread_join() Function
Ans: Waits for a specified thread to terminate.
Quiz Signal Delivery Options
Ans: Methods for delivering signals in multithreaded programs.
Quiz Resource Allocation
Ans: Assigning system resources to threads or processes.
Quiz Thread Safety
Ans: Ensuring safe access to shared resources among threads.
Quiz Signal Generation