logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Operating Systems Comments

  • Question
  • What is a binary semaphore? What is its use?


  • Correct Answer
  • A binary semaphore is one, which takes only 0 and 1 as values They are used to implement mutual exclusion and synchronize concurrent processes 


  • Operating Systems problems


    Search Results


    • 1. Define latency, transfer and seek time with respect to disk I/O.
    • Discuss
    • 2. What are the typical elements of a process image?
    • Discuss
    • 3. When does the condition 'rendezvous' arise?
    • Discuss
    • 4. The main interface in Windows and OS X is __________ interface.

    • Options
    • A. Command-line
    • B. Embedded
    • C. Neural
    • D. Graphical
    • Discuss
    • 5. When designing the file structure for an operating system, what attributes are considered ?
    • Discuss
    • 6. What are the reasons for process suspension?
    • Discuss
    • 7. Explain the popular multiprocessor thread-scheduling strategies.
    • Discuss
    • 8. What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?
    • Discuss
    • 9. What is busy waiting?
    • Discuss
    • 10. Which among the following is not aprocess state in unix?

    • Options
    • A. Running
    • B. Runnable
    • C. Zombie
    • D. Stopped
    • Discuss


    Comments

    There are no comments.

Enter a new Comment