Class 20 - OS - 1.1. OS Introduction.pptx

Download Report

Transcript Class 20 - OS - 1.1. OS Introduction.pptx

Operating Systems Introduction
This course structure
OS Introduction
Processes, Threads,
Scheduling, Synchronization
Memory management
I/O systems
Interrupts
File Systems
Operating
Systems
Protection and Security
Distributed Processing
Networks
Different OS comparison
Sources:
• Yale university
• UC Berkeley
• JHU
• My experience
Assignments, Project
Exercises, Assignments, Project (C, C++)
WinAPI
Windows OS
Real
Workstation
Linux API
Linux OS
Virtual
Machine
Minimal Requirement: Student’s should complete programming assignments on “Unix and
Windows Processes &Threads programming on C, C++”
Required Textbook:
• Abraham Silberschatz, Galvin, Gagne “Operating System Concepts”, 9th edition. 2012
Recommended Reference Books:
• Kay A. Robbins, Steven Robbins, Unix Systems Programming, 2003
• Herbert Schildt. Windows 95 Programming in C and C++. 1995
• Herbert Schildt. Windows 2000 Programming from the Ground Up. 2000.
Operating System Purpose
3 main purposes:
 To provide an environment for a computer user to execute
programs on computer hardware in a convenient and efficient
manner
 (Shells, Windows, Terminals, Executable files concept).
 To allocate separate resources (memory, processor, disk space, I/O device
usage) of the computer as needed to solve the problem given.
 The allocation process should be as fair and efficient as possible.
 Control the running programs:
 supervision of the execution of user programs to prevent errors
and improper use of the computer
 protection of OS and programs from user programs
 management of the operation and control of I/O devices
 device drivers, file systems
What is an Operating System ?
• a program that manages the computer hardware
• acts as an intermediary between the user applications and the
computer hardware.
• provides certain services to programs and to the users of those
programs in order to make their tasks possible and easier.
User 1
Compiler
User 2
Assembler
User 3
User n
Text editor
Database System
System and application programs
Operating System
Computer Hardware
Abstract view of the components of a computer system.
What is an Operating System ?
User Application
Programs
Trying to use Computing
Resources
Using ready solutions is
possible (is effective)
API to OS for User
Applications
Operating System
Device drivers
Direct usage is possible (but
is not effective)
Control API to Hardware
Computing
Resources
are provided by
Computer Hardware
(CPU, Memory, I/O
devices)
An application programming interface (API) is a set of functions, procedures, methods or classes that
an operating system, library or service provides to support requests made by computer programs.