41. Which method is used to release all the resources held by a thread in C#? A. Abort() B. Dispose() C. Exit() D. Release() Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
42. What is the purpose of the Thread.CurrentThread property in C#? A. It terminates the current thread B. It suspends the execution of the thread C. It creates a new thread D. It retrieves the currently executing thread Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
43. What does the term "thread synchronization" mean in multithreading? A. It is the termination of a thread B. It is the creation of a new thread C. It is the coordination of multiple threads to prevent conflicts and ensure orderly execution D. It is the waiting of a thread to finish its execution before continuing with the current thread Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
44. What is the purpose of the Thread.IsAlive property in C#? A. It suspends the execution of the thread B. It specifies the priority of the thread C. It checks whether the thread is alive or not D. It determines whether a thread is a background thread or a foreground thread Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
45. Choose the correct statement about process-based multitasking. A. A feature that allows our computer to run two or more programs concurrently B. A program that acts as a small unit of code that can be dispatched by the scheduler C. Only A program that acts as a small unit of code that can be dispatched by the scheduler D. Both A feature that allows our computer to run two or more programs concurrently & A program that acts as a small unit of code that can be dispatched by the scheduler Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
46. Select the type of multitasking methods that exist: A. process based B. thread based C. only process D. both process & thread based Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
47. Which of these methods of Thread class is used to Suspend a thread for a period of time? A. sleep() B. terminate() C. suspend() D. stop() Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
48. Number of threads that exists for each of the processes that occurs in the program: A. at most 1 B. atleast 1 C. only 1 D. both at most 1 & atleast 1 Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
49. Which of these classes is used to make a thread? A. String B. System C. Thread D. Runnable Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
50. On call of which type of method the new created thread will not start executing? A. Begin() B. Start() C. New() D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board