STUDY GUIDE / ACTUAL 226+ ACCURATE
QUIZZES WITH DETAILED, VERIFIED
ANSWERS / A GRADE / 2025
___________ scheduling is approximated by predicting the next CPU burst with an exponential average
of the measured lengths of previous CPU bursts. - ANS-SJF
Which of the following scheduling algorithms is always nonpreemptive? - ANS-FCFS
The default scheduling class for a process in Solaris is ____. - ANS-Time sharing
The ______ occurs in first-come-first-served scheduling when a process with a long CPU burst occupies
the CPU. - ANS-Convoy effect
On time-slicing systems, a runnable Java thread will continue executing until which of the following
events occurs? - ANS-Any of the below:
A. Its time quantum expires
B. It blocks for I/O
C. It exits its run() method
__________ is/are not a technique for passing parameters from an application to a system call. - ANS-
Cache memory
A process control block ______. - ANS-includes information on the process's state
A _________________ saves the state of the currently running process and restores the state of the
next process to run. - ANS-Context Switch
A _____ uses an existing thread rather than creating a new one to complete a task. - ANS-Thread pool
The ____ multithreading model multiplexes many user-level threads to lesser or equal number of kernel
threads. - ANS-Many-to-many
, Which of the following would be an acceptable signal handling scheme for a multithreaded program? -
ANS--Deliver the signal to the thread to which the signal applies.
-Deliver the signal to every thread in the process.
-Deliver the signal to only certain threads in the process.
Thread-specific data is data that _________. - ANS-is copied and not shared with the parent process.
LWP is - ANS-placed between user and kernel threads.
The most common technique for writing multithreaded Java programs is _____. - ANS-Implementing the
Runnable interface and defining its run() method.
Which of the following would lead you to believe that a given system is an SMP-type system? - ANS-Each
processor can perform all tasks within the operating system.
A ____ is a custom build of the Linux operating system. - ANS-Distribution
Policy _____. - ANS-Determines what will be done.
Embedded computers typically run a __________ operating system. - ANS-Real-time
To the SYSGEN program of an operating system, the least useful piece of information is _________. -
ANS-What application to install
_____ provide(s) an interface to the services provided by an operating system. - ANS-System calls
The Windows CreateProcess() system call creates a new process. What is the equivalent system call in
UNIX? - ANS-fork()
________ displays the current system date and time information. - ANS-date
________ displays the contents of a text file. - ANS-cat
________ allows a user to change his/her password. - ANS-passwd
_______ displays detailed on-line help related to system programs and commands. - ANS-man
______ displays a calendar for a given month or year. - ANS-cal
T/F: A system call is triggered by hardware. - ANS-False
T/F: In a multi-threaded process, the threads share a single, common register set and stack. - ANS-False
T/F: Solaris, Windows XP, and Linux assign higher-priority threads/tasks longer time quanta and lower-
priority tasks shorter time quanta. - ANS-False
T/F: In RR scheduling, the time quantum should be large with respect to the context-switch time. - ANS-
True