SlideShare a Scribd company logo
1 of 21
University Institute of Engineering (UIE)
DISCOVER . LEARN . EMPOWER
Introduction to Operating System
Font size 24
UNIVERSITY INSTITUTEOF ENGINEERING
Bachelor of Engineering (Computer
Science & Engineering)
Operating System (CST-328)
Subject Coordinator: Er. Puneet kaur(E6913)
University Institute of Engineering (UIE)
Lecture 1
Introduction to the Operating System
University Institute of Engineering (UIE)
Why do we need an OS?
•Allows you to hide details of hardware by creating an abstraction
•Easy to use with a GUI
•Offers an environment in which a user may execute programs/applications
•The operating system must make sure that the computer system convenient
to use
•Operating System acts as an intermediary among applications and the
hardware components
•It provides the computer system resources with easy to use format
•Acts as an intermediate between all hardware's and software's of the system
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Computer System Components
1. Hardware – provides basic computing resources (CPU, Memory, I/O devices,
Communication).
2. Operating System – controls and coordinates
use of the hardware among various application programs for various users.
3. System & Application Programs – ways in which the system resources are used
to solve computing problems of the users (Word processors, Compilers, Web
browsers, Database systems, Video games).
4. Users – (People, Machines, other computers).
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Static View of System
Components
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Dynamic View of System
Components
University Institute of Engineering (UIE)
Hierarchical view of computer system
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
What is OS?
 Operating System is a software, which makes a computer to actually work.
 It is the software the enables all the programs we use.
 The OS organizes and controls the hardware.
 OS acts as an interface between the application
programs and the machine hardware.
Examples: Windows, Linux, Unix and Mac OS, etc.
• Operating system goals:
– Execute user programs and make user problems easier
– Make the computer system convenient to use
– Use the computer hardware in an efficient manner
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Responsibilities of an Operating
System
There are three basic responsibilities (in literature):
1. Resource Manager – manages and allocates resources.
2. Control program – controls the execution of user programs and operations
of I/O devices.
3. Command Executer – Provides an environment for running user
commands.
• But one more modern view: the Operating System as a Virtual Machine.
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Operating-System Structure
• General-purpose OS is very large program
• Various ways to structure ones
Simple structure – MS-DOS
More complex -- UNIX
Layered – an abstraction
Microkernel -Mach
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Simple Structure -- MS-DOS
• MS-DOS – written to provide the
most functionality in the least space
Not divided into modules
• Limited in H/W functionality
• Although MS-DOS has some
structure, its interfaces and levels of
functionality are not well separated
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Non Simple Structure -- UNIX
• UNIX – limited by hardware functionality, the original UNIX operating system
had limited structuring.
The UNIX OS consists of two separable parts
• Systems programs
– The kernel Consists of everything below the system-call interface and above
the physical hardware
– Provides the file management, CPU scheduling, memory management, and
other operating-system functions; a large number of functions for one level
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Non Simple Structure -- UNIX
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Layered Approach
• The operating system is divided into a
number of layers (levels), each built on
top of lower layers.
• The bottom layer (layer 0), is the
hardware; the highest (layer N) is the user
interface.
• Main advantage of layered approach is
Modularity.
• With modularity, layers are selected such
that each uses functions (operations) and
services of only lower-level layers.
• The major difficulty with layered
approach is to divide the layers carefully,
because a layer can use only those layers
which are below it.
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Microkernel System Structure
• Moves as much from the kernel into user space
• Mach example of microkernel
– Mac OS X kernel (Darwin) partly based on Mach
• Communication takes place between user modules using message passing
• Benefits:
 Easier to extend a microkernel
 Easier to port the operating system to new architectures
 More reliable (less code is running in kernel mode)
 More secure
• Detriments: Performance overhead of user space to kernel space communication
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Microkernel System Structure
Kernel is a computer program that manages I/O requests from software and
translates them into data processing instructions for CPU and other electronic
components of computer.
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
What is a Kernel?
• The kernel is a computer program at the core of a
computer's operating system with complete control over
everything in the system. It is an integral part of any
operating system.
Features of Kernel
• Low-level scheduling of processes
• Inter-process communication
• Process synchronization
• Context switching
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
User Interfaces to Operating Systems
• Command interpreter or shell
Text-driven, command-response interface style
• Graphical user interface
Menu-driven and/or direct manipulation interface style
University Institute of Engineering (UIE)
Department of Computer Science and Engineering (CSE)
Applications of Operating System
• Security
• Control over system performance
• Job accounting
• Error detecting aids
• Coordination between other softwares and users
University Institute of Engineering (UIE)
Conclusion
This lecture makes the student familiar with basics of
operating systems like OS Definition, need of OS, OS
structure, kernel, applications of OS etc.
University Institute of Engineering (UIE)
References
https://www.includehelp.com/c-programming-questions/
https://www.studytonight.com/operating-system/
https://computing.llnl.gov/tutorials/
https://www.tutorialspoint.com/operating_system/index.htm#:~:text=An%20operating%20sy
stem%20(OS)%20is,software%20in%20a%20computer%20system.
https://www.javatpoint.com/os-tutorial
https://www.guru99.com/operating-system-tutorial.html
https://www.geeksforgeeks.org/operating-systems/

More Related Content

Similar to L1 Introduction to OS.pptx

lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categoriesWajeehaBaig
 
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...ApurvaLaddha
 
Lecture 4.pptx
Lecture 4.pptxLecture 4.pptx
Lecture 4.pptxsara591850
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)WajeehaBaig
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptxssuser5c874e
 
OS Lecture-1.pptx
OS Lecture-1.pptxOS Lecture-1.pptx
OS Lecture-1.pptxtanzincse
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OSC.U
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.pptmiki304759
 
Operating system
Operating systemOperating system
Operating systemIbrahim MH
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Amit Gupta
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and typesPrakash Sir
 
A presentation on operating system
A presentation on operating systemA presentation on operating system
A presentation on operating systemNilratan Srakar
 
LM5 - Computer System Organization, OS (Structure & Operations).pptx
LM5 - Computer System Organization, OS (Structure & Operations).pptxLM5 - Computer System Organization, OS (Structure & Operations).pptx
LM5 - Computer System Organization, OS (Structure & Operations).pptxmanideepakc
 

Similar to L1 Introduction to OS.pptx (20)

Operating System
Operating SystemOperating System
Operating System
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categories
 
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
 
Lecture 4.pptx
Lecture 4.pptxLecture 4.pptx
Lecture 4.pptx
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
 
OS Lecture-1.pptx
OS Lecture-1.pptxOS Lecture-1.pptx
OS Lecture-1.pptx
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
OSCh3
OSCh3OSCh3
OSCh3
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
Operating system
Operating systemOperating system
Operating system
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
Ch3
Ch3Ch3
Ch3
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 
Operating system concept
Operating system conceptOperating system concept
Operating system concept
 
A presentation on operating system
A presentation on operating systemA presentation on operating system
A presentation on operating system
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
LM5 - Computer System Organization, OS (Structure & Operations).pptx
LM5 - Computer System Organization, OS (Structure & Operations).pptxLM5 - Computer System Organization, OS (Structure & Operations).pptx
LM5 - Computer System Organization, OS (Structure & Operations).pptx
 
Presentation on operating system
 Presentation on operating system Presentation on operating system
Presentation on operating system
 

Recently uploaded

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 

Recently uploaded (20)

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 

L1 Introduction to OS.pptx

  • 1. University Institute of Engineering (UIE) DISCOVER . LEARN . EMPOWER Introduction to Operating System Font size 24 UNIVERSITY INSTITUTEOF ENGINEERING Bachelor of Engineering (Computer Science & Engineering) Operating System (CST-328) Subject Coordinator: Er. Puneet kaur(E6913)
  • 2. University Institute of Engineering (UIE) Lecture 1 Introduction to the Operating System
  • 3. University Institute of Engineering (UIE) Why do we need an OS? •Allows you to hide details of hardware by creating an abstraction •Easy to use with a GUI •Offers an environment in which a user may execute programs/applications •The operating system must make sure that the computer system convenient to use •Operating System acts as an intermediary among applications and the hardware components •It provides the computer system resources with easy to use format •Acts as an intermediate between all hardware's and software's of the system
  • 4. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Computer System Components 1. Hardware – provides basic computing resources (CPU, Memory, I/O devices, Communication). 2. Operating System – controls and coordinates use of the hardware among various application programs for various users. 3. System & Application Programs – ways in which the system resources are used to solve computing problems of the users (Word processors, Compilers, Web browsers, Database systems, Video games). 4. Users – (People, Machines, other computers).
  • 5. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Static View of System Components
  • 6. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Dynamic View of System Components
  • 7. University Institute of Engineering (UIE) Hierarchical view of computer system
  • 8. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) What is OS?  Operating System is a software, which makes a computer to actually work.  It is the software the enables all the programs we use.  The OS organizes and controls the hardware.  OS acts as an interface between the application programs and the machine hardware. Examples: Windows, Linux, Unix and Mac OS, etc. • Operating system goals: – Execute user programs and make user problems easier – Make the computer system convenient to use – Use the computer hardware in an efficient manner
  • 9. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Responsibilities of an Operating System There are three basic responsibilities (in literature): 1. Resource Manager – manages and allocates resources. 2. Control program – controls the execution of user programs and operations of I/O devices. 3. Command Executer – Provides an environment for running user commands. • But one more modern view: the Operating System as a Virtual Machine.
  • 10. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Operating-System Structure • General-purpose OS is very large program • Various ways to structure ones Simple structure – MS-DOS More complex -- UNIX Layered – an abstraction Microkernel -Mach
  • 11. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Simple Structure -- MS-DOS • MS-DOS – written to provide the most functionality in the least space Not divided into modules • Limited in H/W functionality • Although MS-DOS has some structure, its interfaces and levels of functionality are not well separated
  • 12. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Non Simple Structure -- UNIX • UNIX – limited by hardware functionality, the original UNIX operating system had limited structuring. The UNIX OS consists of two separable parts • Systems programs – The kernel Consists of everything below the system-call interface and above the physical hardware – Provides the file management, CPU scheduling, memory management, and other operating-system functions; a large number of functions for one level
  • 13. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Non Simple Structure -- UNIX
  • 14. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Layered Approach • The operating system is divided into a number of layers (levels), each built on top of lower layers. • The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface. • Main advantage of layered approach is Modularity. • With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers. • The major difficulty with layered approach is to divide the layers carefully, because a layer can use only those layers which are below it.
  • 15. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Microkernel System Structure • Moves as much from the kernel into user space • Mach example of microkernel – Mac OS X kernel (Darwin) partly based on Mach • Communication takes place between user modules using message passing • Benefits:  Easier to extend a microkernel  Easier to port the operating system to new architectures  More reliable (less code is running in kernel mode)  More secure • Detriments: Performance overhead of user space to kernel space communication
  • 16. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Microkernel System Structure Kernel is a computer program that manages I/O requests from software and translates them into data processing instructions for CPU and other electronic components of computer.
  • 17. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) What is a Kernel? • The kernel is a computer program at the core of a computer's operating system with complete control over everything in the system. It is an integral part of any operating system. Features of Kernel • Low-level scheduling of processes • Inter-process communication • Process synchronization • Context switching
  • 18. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) User Interfaces to Operating Systems • Command interpreter or shell Text-driven, command-response interface style • Graphical user interface Menu-driven and/or direct manipulation interface style
  • 19. University Institute of Engineering (UIE) Department of Computer Science and Engineering (CSE) Applications of Operating System • Security • Control over system performance • Job accounting • Error detecting aids • Coordination between other softwares and users
  • 20. University Institute of Engineering (UIE) Conclusion This lecture makes the student familiar with basics of operating systems like OS Definition, need of OS, OS structure, kernel, applications of OS etc.
  • 21. University Institute of Engineering (UIE) References https://www.includehelp.com/c-programming-questions/ https://www.studytonight.com/operating-system/ https://computing.llnl.gov/tutorials/ https://www.tutorialspoint.com/operating_system/index.htm#:~:text=An%20operating%20sy stem%20(OS)%20is,software%20in%20a%20computer%20system. https://www.javatpoint.com/os-tutorial https://www.guru99.com/operating-system-tutorial.html https://www.geeksforgeeks.org/operating-systems/