STUDY SET QUESTIONS AND
CORRECT ANSWERS GRADED A+
BEST FOR REVISION!!!
,1. What is the role of the OS?: To manage a computer's hardware
2. Which OS service provides functions that are helpful to the user?: Programexecution
3. Which system call is used for device manipulation?: ReadConsole()
4. Which system calls can be grouped under the category of process con-trols?: Allocate, free
memory
5. Which service function is responsible for identifying and correcting excep-tions such as the
lack of paper in a
printer?: Error detection
6. Which type of OS service uses the CLI?: User interface
7. What represents layer zero (0) in the layered approach?: Hardware
8. What is a disadvantage of booting an OS stored in ROM?: Changing abootstrap requires
new hardware chips.
9. What is a valid process state?: Waiting
10. What are two valid components of a process control block (PCB)?: Theprocess counter &
The process state
11. What is the difference between kernel and user threads?: Kernel threads aredirectly managed by
the operating system, whereas user
threads are managed without kernel support.
12. Which advantage does short-term scheduling have compared with long-term
scheduling?: It takes less time to select a process to execute next.
13. What is considered stable when the average rate of process creation isequal to the average
, departure rate
of processes leaving the system?: The degree of multiprogramming
14. Which action allows an application that is in the background to be passedto the foreground
and vice versa?: Memory reload
15. What is the process of context switching?: Performing a state save and astate restore
16. Which features are included in the DTrace tool?: Compiler, providers ofprobes, and
consumers
17. What is the difference between cooperative and preemptive scheduling?-
: Cooperative scheduling occurs when a process terminates, whereas preemptivescheduling occurs
when a process initiates.
18. Which scheduling criteria measures the number of processes completedper time unit?:
Throughput
19. Which criterion attempts to keep the processor as busy as possible?: CPUutilization
20. When does starvation occur in the priority scheduling algorithm?: When aprocess is waiting
indefinitely