OS chapter 3 Flashcards
What is multitasking/multiprocessing/
pseudo-parallelism?
The ability to apparently run two programs at the same time.
What term refers to two processes accessing the same shared resource at the same time?
Race conditions
What is the difference between a program and a process?
A program may not be running but a process is actually running.
The IBM 1401 and 7094 computers are examples of which generation of computing?
Second generation
__________ scheduling ensures that a job is done when promised.
Guaranteed
Most modern systems use ____________.
preemptive multitaskiing
Which of the following is NOT one of the three (3) process states?
Blocked
Ready
Running
All of these are process states
All
___________ scheduling allots a time period called a quantum for each process.
Round Robin
A _________ is a running program along with data, stack, program counter, stack pointer and other registers.
process
What does the OS keep track of processes with and what information is kept?
A table that keeps the state, program counter, stack pointer, memory allocation, file status, etc.
How do processes communicate?
Interprocess communication.
How is interprocess communication used?
There are multiple means, one being with interrupts, letting the processor know its time to switch processes.
Describe the process of running multiple processes: A, B, C, and D concurrently.
A runs first, then B runs, then C, Then D, then it wraps back around to A, cycling through until the processes finish. No two run at the same time.
What is a process tree?
It describes the relationship between parent child processes. Some processes spawn other processes, which are called child processes.
What is a ready process?
A process that could run, but is not on its turn.