logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Operating Systems Concepts Comments

  • Question
  • Producer consumer problem can be solved using


  • Options
  • A. semaphores
  • B. event counters
  • C. monitors
  • D. all of the above
  • E. None of the above

  • Correct Answer
  • all of the above 


  • Operating Systems Concepts problems


    Search Results


    • 1. Which of the following is a type of systems software used on microcomputers?

    • Options
    • A. MS-DOS
    • B. PC-DOS
    • C. Unix
    • D. All of the above
    • E. None of the above
    • Discuss
    • 2. The function(s) of the Storage Assignment is (are)

    • Options
    • A. to assign storage to all variables referenced in the source program.
    • B. to assign storage to all temporary locations that are necessary for intermediate results.
    • C. to assign storage to literals, and to ensure that the storage is allocate and appropriate locations are initialized.
    • D. all of the above
    • E. None of the above
    • Discuss
    • 3. What problem is solved by Dijkstra's banker's algorithm?

    • Options
    • A. mutual exclusion
    • B. deadlock recovery
    • C. deadlock avoidance
    • D. cache coherence
    • E. None of the above
    • Discuss
    • 4. Operating system

    • Options
    • A. links a program with the subroutines it references
    • B. provides a layered, user-friendly interface
    • C. enables the programmer to draw a flowchart
    • D. all of the above
    • E. None of the above
    • Discuss
    • 5. Block caches or buffer caches are used

    • Options
    • A. to improve disk performance
    • B. to handle interrupts
    • C. to increase the capacity of the main memory
    • D. to speed up main memory read operation
    • E. None of the above
    • Discuss
    • 6. If the number of bits in a virtual address of a program is 16 and the page size is 0.5 K bytes, the number of pages in the virtual address space is

    • Options
    • A. 16
    • B. 32
    • C. 64
    • D. 128
    • E. None of the above
    • Discuss
    • 7. Software that measures, monitors, analyzes, and controls real-world events is called:

    • Options
    • A. system software
    • B. real-time software
    • C. scientific software
    • D. business software
    • E. None of the above
    • Discuss
    • 8. The initial value of the semaphore that allows only one of the many processes to enter their critical sections, is

    • Options
    • A. 8
    • B. 1
    • C. 16
    • D. 0
    • E. None of the above
    • Discuss
    • 9. With MS-DOS which command will divide the surface of the blank floppy disk into sectors and assign a unique address to each one?

    • Options
    • A. FORMAT command
    • B. FAT command
    • C. VER command
    • D. CHKDSK command
    • E. None of the above
    • Discuss
    • 10. Which of the following statements is false?

    • Options
    • A. a small page size causes large page tables
    • B. internal fragmentation is increased with small pages
    • C. a large page size causes instructions and data that will not be referenced brought into primary storage
    • D. I/O transfers are more efficient with large pages
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment