Chapter 1: Introduction Flashcards
What is an operating system?
A program that manages a computer’s hardware. It also provides a basis for application programs and acts as an intermediary between the computer hardware.
Caching
copying information into faster storage system. main memory can be viewed as a last cache for secondary storage.
What is dual mode?
operation allows operating system to protect itself and other system components.
What is a trap?
generated interrupt caused either by an error or a user request. stops normal execution.
What is the kernel?
“The one program running at all times on the computer”
Goals of Operating System
Execute user programs and make solving user problems easier.
Make the computer system convenient to use
Use the computer hardware in an efficient manner
Resource allocator
manages and allocates resources
Control program
controls the execution of user programs and operations of I/O devices
Process
An executing program
Resource
Anything that is needed for a process to run:
Memory
Space on a disk
The CPU
Storage systems organized in hierarchy
Speed
Cost
Volatility
volatile storage
loses its
contents when the power to the device is removed
Solid-state disks
have several variants but in general are faster than
magnetic disks and are nonvolatile
What are two tasks that an operating system is responsible for from the perspective of the computer?
Manages resource allocation, execution of program and hardware.
From the perspective of the computer, what is the purpose of the operating system?
resource management and controlling programs.