SlideShare a Scribd company logo
Introduction to Operating
                     Systems


Shiwang Kalkhanda © Copyright 2013
http://tosl.wordpress.com
                                                                       Shiwang Kalkhanda
Corrections, suggestions, contributions and translations are welcome   (shiwangkalkhanda@gmail.com)
The presentation is licensed under Creative Commons Attribution-Share Alike 3.0 license
WHAT IS AN OPERATING SYSTEM….... ?


 ●   What do you do on your computer?
 ●   Check e-mail
 ●   Browse the Internet, Chatting
 ●   Play music/movies
 ●   Create reports, presentations
 ●   Play Games
WHAT IS AN OPERATING SYSTEM….... ?



 ●   Functions
 ●   Hides underlying hardware .
 ●   Provides consistent environment for programs
     to run in .
 ●   Resource management .
KERNEL


 ●   While the system is operational a program is constantly running known as KERNEL. It forms the
     core of any operating system.
 ●   With the aid of the firmware and device drivers, the kernel provides the most basic level of control
     over all of the computer's hardware devices. It manages memory access for programs in the RAM,
     it determines which programs get access to which hardware resources, it sets up or resets the
     CPU's operating states for optimal operation at all times, and it organizes the data for long-term
     non-volatile storage with file systems on such media as disks, tapes, flash memory, etc.
 ●   Executing an application program involves the creation of a process by the operating system kernel
     which assigns memory space and other resources, establishes a priority for the process in multi-
     tasking systems, loads program binary code into memory, and initiates execution of the application
     program which then interacts with the user and with hardware devices.
 ●   If a program wishes to access hardware for example, it may interrupt the operating system's kernel,
     which causes control to be passed back to the kernel. The kernel will then process the request.
SHELL & GUI


 ●   The other part of operating system is shell/GUI which is the interface between user and system
     itself. It allows the user to instruct the machine and to run programs. A shell communicates with the
     kernel. A shell only active when somebody is using the system while kernel is always active. Today
     different type of shell exists depending on the ideas of different developers who created them .
 ●   Sh → Bourne shell (first shell named after its creator)
 ●   Bash → Bourne again shell
 ●   Ksh → korn shell
 ●   Csh → c shell
 ●   Tcsh → pronounced – teesh etc.
OPERATING SYSTEMS ARE ALMOST EVERYWHERE   !



 ●   Supercomputers
 ●   desktop/laptops
 ●   mobile phones
 ●   iPod
 ●   Servers
 ●   Embedded devices
 ●   ….......
OPERATING SYSTEMS ARE ALMOST EVERYWHERE                 !



 ●   Supercomputers     ●   Established operating systems . . .
 ●   desktop/laptops    ●   Microsoft DOS and Windows
 ●   mobile phones      ●   GNU Linux
 ●   iPod
                        ●   UNIX
 ●   Servers
                        ●   Other UNIX derivatives - FreeBSD, OpenSolaris etc.
                        ●   Other . . .
 ●   Embedded devices
 ●   ….......
COMPONENTS



 ●   Legend                ●   A Typical PC
 ●   2 = Mother Board
 ●   3 = Processor/CPU
 ●   4 = RAM
 ●   5 = Expansion Cards
 ●   7 = CD-ROM drive
 ●   8 = Hard disc drive
OPERATIONAL REQUIREMENTS



             You can run multiple programs simultaneously


                       You can use any keyboard


               Run same program on different computers


           Copy between drives, either fixed or USB pen-drive
OPERATIONAL REQUIREMENTS
OPERATIONAL REQUIREMENTS
OPERATIONAL REQUIREMENTS
MEMORY HIERARCHY

 ●   Hard disk drive, CD-ROM drive etc.
      –   Slow, Huge
      –   Cost/Megabyte very low
      –   Persistent
 ●   Random Access Memory (RAM)
      –   Fast (avg 3-5GBps), Few Gigabytes
      –   Cost/Megabyte moderate, getting cheaper
      –   Volatile
 ●   Processor cache
      –   Extremely fast (avg 20GBps), Few Kilobytes
      –   Cost/Megabyte extremely high
      –   Volatile
FILE SYSTEMS


 ●   File : Block of arbitrary data/information
 ●   Similar to : How do you manage storage in a library such that
      –   Locating a book is fast, easy
      –   Least space is wasted
 ●   Well known file-systems
      –   Microsoft FAT16/32
      –   NTFS (NT file system)
      –   ext2/3/4
      –   ZFS, xfs, UFS1/2, jfs, ReiserFS . . .
WHY LET OPERATING SYSTEMS MANAGE I/O ….?


 ●   Abstraction : Consistent access for all programs, across machines
 ●   Arbitration / Conflict resolution




 ●   Easy software development
 ●   Security
DEVICE DRIVERS


 ●   Sequence of instructions
 ●   Programmed for a particular piece of hardware
 ●   Helps higher-level programs to talk with hardware
 ●   Operating System specific
I/O REQUESTS ...
SECURITY
 ●   Each entity in the system
      –   Well defined set of operations
      –   Define who can perform what operation
 ●   If all rules above are obeyed, system is more secure :)
 ●   Types of Users
      –   Super User / Administrator
           ●   Has (almost) full control over the system
           ●   Not recommended for day-to-day use
      –   Normal User
           ●   Has some usage restrictions eg. Sensitive files and directories,
           ●   operating with devices, Software installation
           ●   Recommended for casual day-to-day use
      –   Restricted user
           ●   Even tighter restrictions ,eg. guest accounts
REFERENCES

 ●   Maurice J. Bach -->The Design Of The Unix Operating System.
 ●   A.Silberschatz, P.Galvin, G.Gagne → Operating System Concepts.
 ●   http://www.wikipedia.org
THANKS FOR YOU TIME.........!

More Related Content

PDF
Intro to open_source
PDF
History of linux
PDF
Why linux is better than windows
PPSX
Ubuntu - The History
PDF
ICT for People's Organizations
PDF
Introduction to Gnu/Linux
PPS
Linux
PDF
Linux Introduction
Intro to open_source
History of linux
Why linux is better than windows
Ubuntu - The History
ICT for People's Organizations
Introduction to Gnu/Linux
Linux
Linux Introduction

What's hot (20)

ODP
Linux distro and its features by adam
PPSX
Useful Open Source Software
PDF
Introduction to FOSS
PPT
Introduction to Linux_by_Amit & Jiban
PDF
FOSS, history and philosophy
PPTX
Linux opearting system ppt
ODP
What is Ubuntu - presentation
PDF
Introduction to GNU/Linux
PPT
BITS: Introduction to linux, distributions and installation
PPT
Intro to linux
PPT
How ubuntu works???
ODP
Introduction To Fedora
ODP
Introduction to FOSS world
ODP
Introduction to FOSS
PPTX
Linux distributions
PPTX
Linux and its history
PPT
Ubuntu
PDF
Introduction to GNU/Linux
DOCX
Linux Introduction
PDF
Hillel kobrovski Linux security overview for ciso
Linux distro and its features by adam
Useful Open Source Software
Introduction to FOSS
Introduction to Linux_by_Amit & Jiban
FOSS, history and philosophy
Linux opearting system ppt
What is Ubuntu - presentation
Introduction to GNU/Linux
BITS: Introduction to linux, distributions and installation
Intro to linux
How ubuntu works???
Introduction To Fedora
Introduction to FOSS world
Introduction to FOSS
Linux distributions
Linux and its history
Ubuntu
Introduction to GNU/Linux
Linux Introduction
Hillel kobrovski Linux security overview for ciso
Ad

Similar to Intro to operating_system (20)

PPT
operating system
PPT
Services of OS.ppt Two types of services
PPTX
11. operating-systems-part-1
PPTX
Introduction to Operating system CBSE
PPT
Ch02 system administration
PPTX
Chapter 1 - Operating Systems Introduction.pptx
PPTX
Design Of Operating System_Lecture_OS_2.pptx
PPT
Introduction To operating System:
RTF
209979479 study-material
PPT
Module 3 unit 1
PPTX
Operating system by aman kr kushwaha
DOC
operating system lecture notes
PPT
PDF
osunit1ppt-23011904470yuoij4-685c22ef.pdf
PPTX
OS UNIT 1 PPT.pptx
PPTX
Operating system
PPTX
Operating systems (For CBSE School Students)
PPTX
The Brain Behind Your Device: A Deep Dive into Operating Systems
PPTX
Operating systems[1]
operating system
Services of OS.ppt Two types of services
11. operating-systems-part-1
Introduction to Operating system CBSE
Ch02 system administration
Chapter 1 - Operating Systems Introduction.pptx
Design Of Operating System_Lecture_OS_2.pptx
Introduction To operating System:
209979479 study-material
Module 3 unit 1
Operating system by aman kr kushwaha
operating system lecture notes
osunit1ppt-23011904470yuoij4-685c22ef.pdf
OS UNIT 1 PPT.pptx
Operating system
Operating systems (For CBSE School Students)
The Brain Behind Your Device: A Deep Dive into Operating Systems
Operating systems[1]
Ad

Intro to operating_system

  • 1. Introduction to Operating Systems Shiwang Kalkhanda © Copyright 2013 http://tosl.wordpress.com Shiwang Kalkhanda Corrections, suggestions, contributions and translations are welcome (shiwangkalkhanda@gmail.com) The presentation is licensed under Creative Commons Attribution-Share Alike 3.0 license
  • 2. WHAT IS AN OPERATING SYSTEM….... ? ● What do you do on your computer? ● Check e-mail ● Browse the Internet, Chatting ● Play music/movies ● Create reports, presentations ● Play Games
  • 3. WHAT IS AN OPERATING SYSTEM….... ? ● Functions ● Hides underlying hardware . ● Provides consistent environment for programs to run in . ● Resource management .
  • 4. KERNEL ● While the system is operational a program is constantly running known as KERNEL. It forms the core of any operating system. ● With the aid of the firmware and device drivers, the kernel provides the most basic level of control over all of the computer's hardware devices. It manages memory access for programs in the RAM, it determines which programs get access to which hardware resources, it sets up or resets the CPU's operating states for optimal operation at all times, and it organizes the data for long-term non-volatile storage with file systems on such media as disks, tapes, flash memory, etc. ● Executing an application program involves the creation of a process by the operating system kernel which assigns memory space and other resources, establishes a priority for the process in multi- tasking systems, loads program binary code into memory, and initiates execution of the application program which then interacts with the user and with hardware devices. ● If a program wishes to access hardware for example, it may interrupt the operating system's kernel, which causes control to be passed back to the kernel. The kernel will then process the request.
  • 5. SHELL & GUI ● The other part of operating system is shell/GUI which is the interface between user and system itself. It allows the user to instruct the machine and to run programs. A shell communicates with the kernel. A shell only active when somebody is using the system while kernel is always active. Today different type of shell exists depending on the ideas of different developers who created them . ● Sh → Bourne shell (first shell named after its creator) ● Bash → Bourne again shell ● Ksh → korn shell ● Csh → c shell ● Tcsh → pronounced – teesh etc.
  • 6. OPERATING SYSTEMS ARE ALMOST EVERYWHERE ! ● Supercomputers ● desktop/laptops ● mobile phones ● iPod ● Servers ● Embedded devices ● ….......
  • 7. OPERATING SYSTEMS ARE ALMOST EVERYWHERE ! ● Supercomputers ● Established operating systems . . . ● desktop/laptops ● Microsoft DOS and Windows ● mobile phones ● GNU Linux ● iPod ● UNIX ● Servers ● Other UNIX derivatives - FreeBSD, OpenSolaris etc. ● Other . . . ● Embedded devices ● ….......
  • 8. COMPONENTS ● Legend ● A Typical PC ● 2 = Mother Board ● 3 = Processor/CPU ● 4 = RAM ● 5 = Expansion Cards ● 7 = CD-ROM drive ● 8 = Hard disc drive
  • 9. OPERATIONAL REQUIREMENTS You can run multiple programs simultaneously You can use any keyboard Run same program on different computers Copy between drives, either fixed or USB pen-drive
  • 13. MEMORY HIERARCHY ● Hard disk drive, CD-ROM drive etc. – Slow, Huge – Cost/Megabyte very low – Persistent ● Random Access Memory (RAM) – Fast (avg 3-5GBps), Few Gigabytes – Cost/Megabyte moderate, getting cheaper – Volatile ● Processor cache – Extremely fast (avg 20GBps), Few Kilobytes – Cost/Megabyte extremely high – Volatile
  • 14. FILE SYSTEMS ● File : Block of arbitrary data/information ● Similar to : How do you manage storage in a library such that – Locating a book is fast, easy – Least space is wasted ● Well known file-systems – Microsoft FAT16/32 – NTFS (NT file system) – ext2/3/4 – ZFS, xfs, UFS1/2, jfs, ReiserFS . . .
  • 15. WHY LET OPERATING SYSTEMS MANAGE I/O ….? ● Abstraction : Consistent access for all programs, across machines ● Arbitration / Conflict resolution ● Easy software development ● Security
  • 16. DEVICE DRIVERS ● Sequence of instructions ● Programmed for a particular piece of hardware ● Helps higher-level programs to talk with hardware ● Operating System specific
  • 18. SECURITY ● Each entity in the system – Well defined set of operations – Define who can perform what operation ● If all rules above are obeyed, system is more secure :) ● Types of Users – Super User / Administrator ● Has (almost) full control over the system ● Not recommended for day-to-day use – Normal User ● Has some usage restrictions eg. Sensitive files and directories, ● operating with devices, Software installation ● Recommended for casual day-to-day use – Restricted user ● Even tighter restrictions ,eg. guest accounts
  • 19. REFERENCES ● Maurice J. Bach -->The Design Of The Unix Operating System. ● A.Silberschatz, P.Galvin, G.Gagne → Operating System Concepts. ● http://www.wikipedia.org
  • 20. THANKS FOR YOU TIME.........!