OS Organization: Final Exam Sample Questions - Multiple Choice

  1. The two basic steps used by the processor in instruction processing are:



    C.   Fetch and Execute cycles
  2. When an external device becomes ready to be serviced by the processor, the device sends this type of signal to the processor:



    A. Interrupt signal
  3. A process switch may occur when the system encounters an interrupt condition, such as that generated by a:
    A. Memory fault
    B. Supervisor call
    C. Trap
    D. All of the above
    D. All of the above
  4. In a uniprocessor system, mutual exclusion can be guaranteed by:



    C. Disabling interrupts
  5. The situation where the processor spends most of its time swapping process pieces rather than executing instructions is called:




    C. Thrashing
  6. What is the purpose of dual-mode operation?



    B. To protect the operating system and hardware from corruption.
  7. Which technique was introduced because a single job could not keep both the CPU and the I/O devices busy?



    A. Multiprogramming.
  8. Which one of the following operations cannot be used to acquire a lock on a resource?



    D. Enabling interrupts.
  9. How can a semaphore s be used to solve the critical-section problem?
    A. Initialize s to 0; enter section after waiting on s; exit after signaling on s.
    B. Initialize s to 1; enter section after waiting on s; exit after signaling on s.
    C. Initialize s to 0; enter section after signaling on s; exit after waiting on s.
    D. Initialize s to 1; enter section after signaling on s; exit after waiting on s.
    B. Initialize s to 1; enter section after waiting on s; exit after signaling on s.
  10. A(n) ________ process tends to use all the processor time that the system allocates for it.



    A. processor-bound
  11. In a virtual memory system, ________.



    A. determining how to map virtual addresses to physical addresses is of great importance
  12. When a page references a page that is not in main memory, the processor generates a(n) ________.



    D. page fault
  13. Virtual memory fetch strategies determine when a page or segment should be moved from ________ to ________.




    D. secondary storage, main memory
  14. A FIFO page-replacement strategy can be implemented with relatively low overhead using a ________.




    B. queue
Author
geschw66
ID
319812
Card Set
OS Organization: Final Exam Sample Questions - Multiple Choice
Description
Sample Final Exam Questions from CSE 422s Spring Semester 2016.
Updated