Chapter 3 Flashcards
(28 cards)
Functions of operating systems
- Oversee the operation of a computer.
- Store and retrieve files.
- Schedule programs for execution.
- Coordinate the execution of programs.
Job
a program to be executed with its inputs and outputs
Batch processing
execution of a batch of jobs without any interaction of a user (originally operated by a computer operator)
Interactive processing
support of interaction between programs and users during execution (originally via terminals)
Real time processing
execution of tasks in accordance with deadlines in an external real world environment.
Multiprogramming
multiple programs can be executed “at the same time” (originally during batch processing) on a processor
Time-sharing
a computer provides service to multiple users “at the same time” (time slices)
Multitasking
multiple programs can be executed “at the same time” by a single user
Operating system components
User interface
Kernel
File
a named separate group of data
Directory (folder)
a named collection of files and other directories (subdirectories)
Directory/file path
a branching list of directories containing the directory/file, for example “C:\Users\Peter\Documents\MyDocument.doc”
Memory manager
Allocates/deallocates main memory to processes.
Paging
rotates (pages of) programs and data back and forth between main memory and mass storage.
Virtual memory
the computer works as if it has more main memory (using paging) than the actual physical main memory
Bootstrapping
the start up process of a computer.
Boot loader
a program stored in ROM (non-volatile read only memory), which is run by the CPU when power is turned on
Process
the activity of executing a program
Scheduler
keeps track of all processes by maintaining a process table (stored in main memory). [Task Manager]
Dispatcher
controls the allocation of time slices (for execution) to the processes in the process table.
process switch
The procedure of changing from one process to another
Critical region
a group of instructions that should be executed by only one process at a time
Mutual exclusion
the requirement that only one process at a time is allowed to execute a critical region
Semaphore
a flag that controls a critical region to obtain mutual exclusion