• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
In a multi-threaded environment, which of the following is true about thread synchronization?
ملٹی تھریڈ والے ماحول میں، تھریڈ سنکرونائزیشن کے بارے میں درج ذیل میں سے کون سا سچ ہے؟
  1. Thread synchronization is not necessary as threads do not share resources
  2. Synchronization is handled automatically by the operating system
  3. Thread synchronization used semaphores and mutexes to prevent race condition
  4. None of these
Explanation
  • Synchronization ensures that threads access shared resources safely, avoiding conflicts like race conditions.
  • Tools like semaphores and mutexes are used to control thread access to critical sections.
  • Related MCQs

    دوسری نسل کے کمپیوٹر میں مندرجہ ذیل میں سے کون سی ٹیکنالوجیز استعمال ہوئی؟
    1. Vacum Tubes
    2. Transistors
    3. Integrated circuits
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    کمپیوٹر کا بانی کس کو کہا جاتا ہے؟
    1. Barbara Liskov
    2. Tim Berners-Lee
    3. Charles Babbage
    4. John von Neumann
    اس سوال کو وضاحت کے ساتھ پڑھیں

    کون سی سہولت دو یا دو سے زیادہ ٹاسک، جابز یا پروگرامز کو بیک وقت اجازت کی اجازت ہے؟
    1. Multi-computing
    2. Multi-processing
    3. Multi-tasking
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    درج ذیل میں سے آپریٹنگ سسٹم کی مثال کون سی ہے؟
    1. Photoshop
    2. MS Windows
    3. MS Word
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    آپریٹنگ سسٹم کے کرنل کا بنیادی کام کیا ہے؟
    1. Manage hardware and system resources
    2. Run user applications
    3. Provide internet connectivity
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    All Rights Reserved © TestPointpk.com