Chapter 1 - Introduction Flashcards
What the definition of an OS?
A program that acts as an intermediary between a user of a computer and the computer hardware
What are an OS’s three goals?
1) Execute user programs
2) Make computer system easy to use
3) Utilize hardware efficiently
What is the hierarchy of the computer system?
Hardware OS Applications Users
What are two aspects of an OS?
Resource Allocator and Control Program
What is a resource allocator?
Part of OS that decides between conflicting requests for efficient and fair resource use
What is a control program?
Part of OS that controls execution of programs to prevent errors and improper use of computer
What is a kernel?
The one program running at all times on the computer
What is a bootstrap program?
Program stored in ROM or EPROM that initializes all aspects of the system, loads OS kernel and starts execution
When is the bootstrap program loaded?
At power-up or reboot
Can I/O and CPU execute concurrently?
Yes
How do device controllers inform CPU that it is finished with an operation?
By causing an interrupt
What does an interrupt do?
Transfers control of CPU to the Interrupt Service Routine through the Interrupt Vector
What is the interrupt service routine?
Contains addresses of all the service routines
What happens to incoming interrupts when another is already being processed?
Incoming interrupts are disabled
What is a trap?
A software generated interrupt caused by error or user request