Session 2 Flashcards
OS is a _______ _______ and a _______ _______
OS is a control program and a resource allocator
OS Controls execution of _______ to prevent errors and _______ use of the _______
Controls execution of programs to prevent errors and improper use of the computer.
OS Manages all _______
Decides between conflicting _______ for _______ and fair _______ use
OS Manages all resources
Decides between conflicting requests for efficient and fair resource use
Defining OS
A special piece of software that Abstracts and Arbitrates the use of a computer system.
OS Elements
__________
Process, File, Thread, Socket, Memory Page.
OS Elements
Abstraction
Process, File, Thread, Socket, Memory Page.
OS Elements
__________ –How to do it??
Create, schedule, open, write, allocate.
OS Elements
Mechanism –How to do it??
Create, schedule, open, write, allocate.
OS Elements
__________ –What will be done??
Least Recently User, Earliest Deadline First
OS Elements
Policies –What will be done??
Least Recently User, Earliest Deadline First
Operating System Structure
__________
Only one or two levels of code.
Operating System Structure
Simple
Only one or two levels of code.
Operating System Structure
__________
Independent Layers.
Operating System Structure
Layered
Independent Layers.
Operating System Structure
__________
OS built from many user level processes.
Operating System Structure
Microkernel
OS built from many user level processes.
Operating System Structure
__________
Core kernel with dynamically loadable modules.
Operating System Structure
Modular
Core kernel with dynamically loadable modules.
Operating-System Operations
_____ _____- Interrupt ,trap or System call
Question???
When you are at home dozing your chair, how do you know when someone wants to talk to you on the phone?
A)Periodically pick up the phone to see if someone called. - _____
B) Or do you wait till the phone rings to answer it? - _____
Operating-System Operations
Event driven - Interrupt ,trap or System call
Question???
When you are at home dozing your chair, how do you know when someone wants to talk to you on the phone?
A)Periodically pick up the phone to see if someone called. - polling
B) Or do you wait till the phone rings to answer it? - interrupt
Interrupt
_____ sends a special _____ to CPU when _____arrives.
Interrupt
Device sends a special signal to CPU when data arrives.
Interrupt
Responds to _____ _____signal by _____ current _____.
Interrupt
Responds to hardware interrupt signal by interrupting current process.
System Call
A system call is invoked in a variety of ways, depending on the _______ provided by the underlying _______. It is the method used by a _______to request _______by the operating system.
System Call
A system call is invoked in a variety of ways, depending on the functionality provided by the underlying processor. It is the method used by a process to request action by the operating system.