The two basic steps used by the processor in instruction processing are:
C. Fetch and Execute cycles
When an external device becomes ready to be serviced by the processor, the device sends this type of signalto the processor:
A. Interrupt signal
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
In a uniprocessor system, mutual exclusion can be guaranteed by:
C. Disabling interrupts
The situation where the processor spends most of its time swapping process pieces rather than executing instructions is called:
C. Thrashing
What is the purpose of dual-modeoperation?
B. To protect the operating system and hardware from corruption.
Which technique was introduced because a single jobcould not keep both the CPU and the I/O devices busy?
A. Multiprogramming.
Which one of the following operations cannot be used to acquire a lockon a resource?
D. Enabling interrupts.
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.
A(n) ________ process tends to use all the processor time that the system allocates for it.
A. processor-bound
In a virtual memory system, ________.
A. determining how to map virtual addresses to physical addresses is of great importance
When a page references a pagethat is not in main memory, the processor generates a(n) ________.
D. page fault
Virtual memory fetch strategies determine when a page or segment should be moved from ________ to ________.
D. secondary storage, main memory
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.