Chapter 1 Flashcards
What is OS basic
A large program
What does OS manage
Computer hardware resources, decides between conflicting requests for efficient and fair resource use
What kind of program is OS
Control
What is relationship of OS between user of computer and computer hardware
Intermediary
Why does OS control execution of programs?
To prevent errors and improper use of the computer
What does CPU repeat?
Cycle of fetching and executing low level machine instructions
OS goals for user
Execute user programs and make it easy and convenient
OS goals system/Hardware
Manage resources and use computer hardware efficiently
OS Abstraction
The act of removing unimportant details or attributes of objects in order to construct more general and less complex objects
OS Virtualization
The act of creating the illusion of having one or more objects with more desirable characteristics than the real object.
How does OS use abstraction?
Multiple operations at one level are combined into a single operation at a higher level, making it easier to use
How does OS use virtualization?
Create virtual CPUs, memory, I/O devices
Batch Processing
Method of running software programs(jobs) in batches automatically with no user interaction required
4 Major OS components
- Processes and Threads
- CPU Scheduling
- I/O Management
- Memory Management
Multiprogramming
Technique that keeps several programs active in memory and switches execution among the different programs to maximize the use of the CPU and other resources
Multiprogramming example
When a program enters IO phase then another program can utilize the CPU
Time-sharing (multi-tasking)
Extension of multiprogramming where the CPU switches jobs so frequently that users can interact with each job while it is running
What does time-sharing create
interactive computing
Time-sharing employs concept of
Virtualization by creating illusion of having a separate virtual CPU for each computation
Can abstraction be used without virtualization
Yes
Can virtualization be used without abstraction
No
Can abstraction and virtualization be used together
Yes