Chp 1 - Introduction Flashcards
What is an OS?
An OS is a program that acts as an intermediary between a user of a computer and the computer hardware
What is the goal of an OS?
Execute user programs, make the comp. system easy to use, utilize hardware efficiently
Name the components of a computer system
Hardware ↔ OS ↔ Applications ↔ Users (↔ = ‘uses’)
What are the OS’s main responsibilities?
◦ Resource allocator: decides between conflicting requests for efficient and fair resource use
◦ Control program: controls execution of programs to prevent errors and improper use of computer
What is the Kernel?
the one program running at all times on the computer
What is the bootstrap program?
loaded at power-up or reboot
Where is the bootstrap program stored?
Stored in ROM or EPROM (known as firmware), Initializes all aspects of system, loads OS kernel and starts execution
Can I/O and CPU execute concurrently?
yes
What do Device Controllers do?
Device controllers inform CPU that it is finished w/ operation by causing an interrupt
◦
Interrupt transfers control to the interrupt service routine generally, through the interrupt vector, which contains the addresses of all the service routines
Incoming interrupts are disabled while another interrupt is being processed
Trap is a software generated interrupt caused by error or user request
OS determines which type of interrupt has occurred by polling or the vectored interrupt system
What is a system call?
request to the operating system to allow user to wait for I/O completion
Device-status table
contains entry for each I/O device indicating its type, address, and state
◦ OS indexes into the I/O device table to determine device status and to modify the table entry to include
interrupt
Describe storage structure
Main memory – random access, volatile
Secondary storage – extension of main memory That provides large non-volatile storage
Disk – divided into tracks which are subdivided into sectors. Disk controller determines logical interaction
between the device and the computer.
what is caching?
copying information into faster storage system
Describe multiprocessor systems
Increased throughput, economy of
scale, increased reliability
Can be asymmetric or symmetric
Clustered systems – Linked multiprocessor systems
What does multiprogramming do?
Provides efficiency via job scheduling
When OS has to wait (ex: for I/O), switches to another job