QUESTIONS / NEWEST ACTUAL EXAM
REVIEW /50+ QUESTIONS AND CORRECT
ANSWERS (VERIFIED ANSWERS) A GRADE
PID - ANS-Process ID
GID - ANS-Group ID
UID - ANS-User ID
TSL - ANS-Test and set lock
Definition: Process - ANS-Key concept in all operating systems. Basically a program in
execution.
Definition: Daemon - ANS-Processes that stays in the background to handle some
activity like email, web pages, news, printing etc.
Definition: Child Process - ANS-Processes created by other another process. If this
child process creates another child process then it becomes a process tree.
Definition: Multiprogramming - ANS-More than one program running on your computer
at one time may only be one CPU.
Definition: Multiprocessing - ANS-Multiple CPU's that run in parallel.
Definition: Race Condition - ANS-Two or more processes (or threads) want to modify a
shared resource at the same time and the result depends upon who runs when.
Definition: Quantum - ANS-The time allotted for a process by the CPU before the
scheduler interrupts and selects another process.
, Definition: Critical Section - ANS-The part of the program where the shared memory is
accessed.
Definition: Atomic action - ANS-Instruction that cannot be interrupted
Definition: Spin lock - ANS-Continuously testing one variable until some value appears,
a lock that uses that form of waiting is called a spin lock.
Definition: System Call - ANS-Function call to the operating system
Definition: Throughput - ANS-Maximize jobs per hour
Definition: Turnaround Time - ANS-Average time for a batch job from when it is
submitted to when it is completed. (end time - submit time)
Definition: Preemptive Scheduling - ANS-Picks a process and lets it run for some fixed
amount of time.
Definition: Context Switch - ANS-Switching from one thread to another
Definition: Thread - ANS-light-weight process, each gets own stack and copy of
registers.
What are the two main functions of an operating system? - ANS-- Extended Machine
- Resource manager
What hardware characteristics distinguish between the 4 generations of computers?
What were the major
characteristics of the operating systems during each of these generations? What
software languages played
a major role in each generation? - ANS-vacuum tubes - no operating system - machine
language only
Transistors - Batch systems - FORTRAN and COBOL
Integrated Circuits - Multiprogramming, spooling and time-sharing
Large scale integration - GUI and Networking
Mobile computers - blackberry OS, Andriod OS, iOS
What is the memory hierarchy? Why do computer systems use a memory hierarchy? -
ANS-Registers
Cache
RAM
Disk Drive
Tape Drive