Week 1-2 Flashcards
What is a resource allocator
Allows for the management and allocation of resources
• Allows for a uniform interface to similar hardware, programs get the right access to buffer, files, processes so that they can run
What is a control program
Controls operation of IO and how user programs run
What is the Kernel
• Runs at all times, bridge between the applications and the hardware
What is Parallel Systems
- Share memory and IO
* Allows for increased throughput and reliability, master-slave relationship
What is a Distributed Systems
• Each process has a chunk of memory and IO, allows to share resources and the load. Also to be more reliable
What are the two types of Real-time systems
- Hard, the condition must be met or the system fails
* Soft, The missed deadline just means that the quality of the result goes down. Example, YouTube videos
What is the structure of the computer system?
• CPU> Disk Controller > Video Controller (ALL FLOWS INTO —> Memory controller and memory)
What are interrupts:
- Suspends the current program, transfers the control, determines which controller generated the interrupt and separates the routines for each interrupt.
- Two types: Polling and vectored interrupts
What are traps?
• They are interrupts but they are generated by the program executing. Dividing by zero for example
What are I/O Queues?
• One process requests IO from the controller, if busy, the I/O request is queued.
Queues go from the:
Stack (or interrupt routine) to the process
What is synchronous vs Asynchronous IO?
- Synchronous: control returns to the program after I/o is completed
- Asynchronous: Return directly to program during I/O operation
What are the three storage structures?
- Main Memory
- Secondary storage (CD’s, hard disks)
- Cache (buffer between CPU and main memory)
What are the three types of hardware protection?
- Memory protection
- I/O protection (Only one program can read its IO)
- CPU protection (privileges)
What are the two levels of Hardware protection?
- User mode
* Kernal Mode