Which Requires Less Resources?

What requires less resources? Explanation: Thread is a lightweight and requires less resources to create and exist in the process. Thread shares the process resources.

What should be done to avoid deadlock?

How To Avoid Deadlock
  1. Avoid Nested Locks: A deadlock mainly happens when we give locks to multiple threads. Avoid giving a lock to multiple threads if we already have given to one.
  2. Avoid Unnecessary Locks: We can have a lock only those members which are required. ...
  3. Using Thread.

What are the types of multitasking Mcq?

Explanation: There are two types of multitasking: Process based multitasking and Thread based multitasking.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.