SlideShare a Scribd company logo
CHAPTER 1
INTRODUCTION TO
OPERATING SYSTEMS
1.1 General Definition

   An OS is a program which acts as an interface
    between computer system users and the
    computer hardware.
   It provides a user-friendly environment in
    which a user may easily develop and execute
    programs.
    Otherwise, hardware knowledge would be
    mandatory for computer programming.
   So, it can be said that an OS hides the
    complexity of hardware from uninterested
    users.
1.1 General Definition

   In general, a computer system has some
    resources which may be utilized to solve a
    problem. They are
     Memory

     Processor(s)

     I/O

     File   System
     etc.
1.1 General Definition


                         Mainboard
1.1 General Definition
1.1 General Definition




                         mainboard
1.1 General Definition




          processor
1.1 General Definition




                         RAM
1.1 General Definition

   The OS manages these resources and
    allocates them to specific programs and users.
   With the management of the OS, a
    programmer is rid of difficult hardware
    considerations.
   An OS provides services for
       Processor Management
       Memory Management
       File Management
       Device Management
       Concurrency Control
1.1 General Definition

   Another aspect for the
                                 Application Programs
    usage of OS is that; it is
    used as a predefined          System Programs
    library for hardware-
    software interaction.        Operating System

   This is why, system           Machine Language
    programs apply to the
    installed OS since they         HARDWARE

    cannot reach hardware
    directly.
1.1 General Definition

   Since we have an already written library,
    namely the OS, to add two numbers we simply
    write the following line to our program:
        c=a+b;
1.1 General Definition

   in a system where there is no OS installed, we
    should consider some hardware work as:
    (Assuming an MC 6800 computer hardware)

    LDAA $80  Loading the number at memory location 80
    LDAB $81  Loading the number at memory location 81
    ADDB      Adding these two numbers
    STAA $55  Storing the sum to memory location 55


   As seen, we considered memory locations and
    used our hardware knowledge of the system.
1.1 General Definition
   In an OS installed machine, since we have an
    intermediate layer, our programs obtain some
    advantage of mobility by not dealing with
    hardware.
    For example, the above program segment
    would not work for an 8086 machine, where as
    the
     “c = a + b ;”
    syntax will be suitable for both.
1.1 General Definition

                               A more
 A simple program          sophisticated              Hardware
 segment with no    OS   program segment   Machine    response
     hardware              with hardware   Language
   consideration           consideration
1.1 General Definition

   With the advantage of easier programming
    provided by the OS, the hardware, its machine
    language and the OS constitutes a new
    combination called as a virtual (extended)
    machine.
                            Operating
Machine                     System
                                            Virtual
Language                    Machine       (Extended)
                Machine     Language
Hardware                                   Machine
                            Hardware
1.1 General Definition

   In a more simplistic approach, in fact, OS itself
    is a program.
   But it has a priority which application programs
    don’t have.
   OS uses the kernel mode of the
    microprocessor, whereas other programs use
    the user mode.
   The difference between two is that; all
    hardware instructions are valid in kernel mode,
    where some of them cannot be used in the
    user mode.
1.2 History of Operating Systems

   It all started with computer hardware in about
    1940s.




                    ENIAC 1943
1.2 History of Operating Systems

   ENIAC (Electronic Numerical Integrator and
    Computer), at the U.S. Army's Aberdeen
    Proving Ground in Maryland.
     builtin the 1940s,
     weighed 30 tons,

     was eight feet high, three feet deep, and 100 feet
      long
     contained over 18,000 vacuum tubes that were
      cooled by 80 air blowers.
1.2 History of Operating Systems

   Computers were using vacuum tube
    technology.




               ENIAC’s vacuum tubes
1.2 History of Operating Systems




                ENIAC’s backside
1.2 History of Operating Systems

Programs were loaded into memory manually using switches, punched
cards, or paper tapes.




                 ENIAC : coding by cable connections
1.2 History of Operating Systems

punch card
1.2 History of Operating Systems
1.2 History of Operating Systems

              Paper tape
1.2 History of Operating Systems
1.2 History of Operating Systems




                        Babbage’s analytical engine
(designed in 1840’s by Charles Babbage, but cold not be constructed by him.
      An earlier and simpler version is constructed in 2002, in London )

               http://www.computerhistory.org/babbage/
1.2 History of Operating Systems

   Ada Lovalence (at time of Charles Babbage)
    wrote code for analytical engine to compute
    Bernulli Numbers
1.2 History of Operating Systems

   As time went on, card readers, printers, and
    magnetic tape units were developed as
    additional hardware elements.
   Assemblers, loaders and simple utility libraries
    were developed as software tools.
   Later, off-line spooling and channel program
    methods were developed sequentially.
1.2 History of Operating Systems


Commodore PET,
1977
1.2 History of Operating Systems

   Finally, the idea of multiprogramming came.
    Multiprogramming means sharing of
    resources between more than one processes.
    By multiprogramming the CPU time is not
    wasted, because, while one process moves on
    some I/O work, the OS picks another process
    to execute till the current one passes to I/O
    operation.
1.2 History of Operating Systems

   With the development of interactive
    computation in 1970s, time-sharing systems
    emerged.
   In these systems, multiple users have
    terminals (not computers) connected to a main
    computer and execute her task in the main
    computer.
1.2 History of Operating Systems

                       Main computer; having a CPU
                       executing processes by
                       utilization of the OS, (e.g. UNIX).



                              Terminals are connected
                              to the main computer and
                              used for input and output.
                              No processing is made.
                              They do not have CPUs.
1.2 History of Operating Systems

   Another computer system is the
    multiprocessor system having multiple
    processors sharing memory and peripheral
    devices.
   With this configuration, they have greater
    computing power and higher reliability.
1.2 History of Operating Systems

   Multiprocessor systems are classified into two
    as tightly-coupled and loosely-coupled
    (distributed).
    In the tightly-coupled one, each processor is
    assigned a specific duty but processors work
    in close association, possibly sharing the
    same memory.
   In the loosely coupled one, each processor
    has its own memory and copy of the OS.
1.2 History of Operating Systems

   Use of the networks required OSs appropriate
    for them.
    In network systems, each process runs in its
    own machine but the OS have access to other
    machines.
   By this way, file sharing, messaging, etc.
    became possible.
   In networks, users are aware of the fact that
    s/he is working in a network and when
    information is exchanged. The user explicitly
    handles the transfer of information.
1.2 History of Operating Systems




         Each is a computer having its own
         CPU, RAM, etc. An OS supporting
         networks is installed on them.
1.2 History of Operating Systems

   Distributed systems are similar to networks.
    However in such systems, there is no need to
    exchange information explicitly, it is handled
    by the OS itself whenever necessary.

   With continuing innovations, new architectures
    and compatible OSs are developed. But their
    details are not in the scope of this text since
    the objective here is to give only a general
    view about developments in OS concept.
GNU




      Website: http://www.gnu.org/

More Related Content

PPT
Operatingsystem
PDF
01.osdoc
DOCX
UNIT II-Programming in Linux
PPTX
Operating system
PDF
Unix shell program training
PPTX
Linux kernel
DOCX
Information sheet 1
Operatingsystem
01.osdoc
UNIT II-Programming in Linux
Operating system
Unix shell program training
Linux kernel
Information sheet 1

What's hot (19)

DOCX
Operating system notes
PPT
Introduction to operating systems
PDF
Introduction to comp science
PDF
Operating Systems 1 (12/12) - Summary
PPTX
Operating systems
PPT
operating system
PPTX
Bba i-introduction to computer-u-3-functions operating systems
PPT
NETWORK AND DATABASE CONCEPTS UNIT 1 CHAPTER 2 MRS.SOWMYA JYOTHI
PDF
Operating system Concepts
PDF
1 introduction
PPTX
Principles of operating system
ODP
Operating Systems
PPT
Introduction to computers MRS. SOWMYA JYOTHI
DOC
Course outline FP202 - Dis 2012
PPTX
01 operating systems final
PPTX
booting steps of a computer
PPTX
Operating system
PDF
Operating System
PPT
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
Operating system notes
Introduction to operating systems
Introduction to comp science
Operating Systems 1 (12/12) - Summary
Operating systems
operating system
Bba i-introduction to computer-u-3-functions operating systems
NETWORK AND DATABASE CONCEPTS UNIT 1 CHAPTER 2 MRS.SOWMYA JYOTHI
Operating system Concepts
1 introduction
Principles of operating system
Operating Systems
Introduction to computers MRS. SOWMYA JYOTHI
Course outline FP202 - Dis 2012
01 operating systems final
booting steps of a computer
Operating system
Operating System
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
Ad

Viewers also liked (20)

PPT
SLASA Online Referencing Generator
PDF
The Cost of NOT Innovating
PDF
[Srijan Wednesday Webinars] How New Business Models & Technologies Are Disrup...
PDF
Clinical Indicators In South East Coast April 2009
DOC
Viện master skills
PPTX
Super Social Media Social Promotions Case Studies
PPT
Midterm Exam Review Information Systems 365 With Your Host Nicholas Davis
PDF
I Walk through the Valley of the Shadow of Death
PDF
A Worn Path
PPTX
Managed extensibility framework
PDF
The Profitable Agency: How to Attract, Retain and Grow a Profitable Client Base
PPT
GPS Tracking ROI
PPTX
Mount rushmore
PPTX
European Citizens’ Initiatives: overview
PDF
Saville Consulting Wave Assessment
PPSX
HEDY LAMARR - A BRAIN BEHIND BEAUTY, Part I, Suy / São Ludovino
PDF
Linked In Lessons Learned And Growth And Scalability
PPTX
Introduction to SoapUI day 3
PPTX
FAST XOR-XNOR CIRCUIT
SLASA Online Referencing Generator
The Cost of NOT Innovating
[Srijan Wednesday Webinars] How New Business Models & Technologies Are Disrup...
Clinical Indicators In South East Coast April 2009
Viện master skills
Super Social Media Social Promotions Case Studies
Midterm Exam Review Information Systems 365 With Your Host Nicholas Davis
I Walk through the Valley of the Shadow of Death
A Worn Path
Managed extensibility framework
The Profitable Agency: How to Attract, Retain and Grow a Profitable Client Base
GPS Tracking ROI
Mount rushmore
European Citizens’ Initiatives: overview
Saville Consulting Wave Assessment
HEDY LAMARR - A BRAIN BEHIND BEAUTY, Part I, Suy / São Ludovino
Linked In Lessons Learned And Growth And Scalability
Introduction to SoapUI day 3
FAST XOR-XNOR CIRCUIT
Ad

Similar to Operating systems (20)

PPT
ch1part1.ppt
PPT
001 introduction to OS .ppt
PDF
ITFT_Introduction to Operating system
PPT
Introduction to Operating System
PPT
Chap1
PPTX
Introduction & Background(Operating Systems).pptx
PPT
unit1 part1.ppt
PDF
Lect01
PPTX
Operating system by aman kr kushwaha
PPT
Operating system.ppt (1)
PDF
Intermediate Operating Systems
PPTX
Unit 1 introduction to os
PPT
Operating systems11 9-07
PPT
Operating systems11 9-07
PPT
PPT
Introduction to operating syatem
PDF
Chapter 1-2 _ Operating Systems.pdf
PDF
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
PDF
Lecture - 1.pdf
PPTX
Revant Rastogi
ch1part1.ppt
001 introduction to OS .ppt
ITFT_Introduction to Operating system
Introduction to Operating System
Chap1
Introduction & Background(Operating Systems).pptx
unit1 part1.ppt
Lect01
Operating system by aman kr kushwaha
Operating system.ppt (1)
Intermediate Operating Systems
Unit 1 introduction to os
Operating systems11 9-07
Operating systems11 9-07
Introduction to operating syatem
Chapter 1-2 _ Operating Systems.pdf
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
Lecture - 1.pdf
Revant Rastogi

Recently uploaded (20)

PDF
Trump Administration's workforce development strategy
PPTX
master seminar digital applications in india
PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Computing-Curriculum for Schools in Ghana
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
RMMM.pdf make it easy to upload and study
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Trump Administration's workforce development strategy
master seminar digital applications in india
Cell Types and Its function , kingdom of life
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Computing-Curriculum for Schools in Ghana
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
VCE English Exam - Section C Student Revision Booklet
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
01-Introduction-to-Information-Management.pdf
Microbial disease of the cardiovascular and lymphatic systems
GDM (1) (1).pptx small presentation for students
Weekly quiz Compilation Jan -July 25.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
RMMM.pdf make it easy to upload and study
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE

Operating systems

  • 2. 1.1 General Definition  An OS is a program which acts as an interface between computer system users and the computer hardware.  It provides a user-friendly environment in which a user may easily develop and execute programs.  Otherwise, hardware knowledge would be mandatory for computer programming.  So, it can be said that an OS hides the complexity of hardware from uninterested users.
  • 3. 1.1 General Definition  In general, a computer system has some resources which may be utilized to solve a problem. They are  Memory  Processor(s)  I/O  File System  etc.
  • 9. 1.1 General Definition  The OS manages these resources and allocates them to specific programs and users.  With the management of the OS, a programmer is rid of difficult hardware considerations.  An OS provides services for  Processor Management  Memory Management  File Management  Device Management  Concurrency Control
  • 10. 1.1 General Definition  Another aspect for the Application Programs usage of OS is that; it is used as a predefined System Programs library for hardware- software interaction. Operating System  This is why, system Machine Language programs apply to the installed OS since they HARDWARE cannot reach hardware directly.
  • 11. 1.1 General Definition  Since we have an already written library, namely the OS, to add two numbers we simply write the following line to our program: c=a+b;
  • 12. 1.1 General Definition  in a system where there is no OS installed, we should consider some hardware work as: (Assuming an MC 6800 computer hardware) LDAA $80  Loading the number at memory location 80 LDAB $81  Loading the number at memory location 81 ADDB  Adding these two numbers STAA $55  Storing the sum to memory location 55  As seen, we considered memory locations and used our hardware knowledge of the system.
  • 13. 1.1 General Definition  In an OS installed machine, since we have an intermediate layer, our programs obtain some advantage of mobility by not dealing with hardware.  For example, the above program segment would not work for an 8086 machine, where as the “c = a + b ;” syntax will be suitable for both.
  • 14. 1.1 General Definition A more A simple program sophisticated Hardware segment with no OS program segment Machine response hardware with hardware Language consideration consideration
  • 15. 1.1 General Definition  With the advantage of easier programming provided by the OS, the hardware, its machine language and the OS constitutes a new combination called as a virtual (extended) machine. Operating Machine System Virtual Language Machine (Extended) Machine Language Hardware Machine Hardware
  • 16. 1.1 General Definition  In a more simplistic approach, in fact, OS itself is a program.  But it has a priority which application programs don’t have.  OS uses the kernel mode of the microprocessor, whereas other programs use the user mode.  The difference between two is that; all hardware instructions are valid in kernel mode, where some of them cannot be used in the user mode.
  • 17. 1.2 History of Operating Systems  It all started with computer hardware in about 1940s. ENIAC 1943
  • 18. 1.2 History of Operating Systems  ENIAC (Electronic Numerical Integrator and Computer), at the U.S. Army's Aberdeen Proving Ground in Maryland.  builtin the 1940s,  weighed 30 tons,  was eight feet high, three feet deep, and 100 feet long  contained over 18,000 vacuum tubes that were cooled by 80 air blowers.
  • 19. 1.2 History of Operating Systems  Computers were using vacuum tube technology. ENIAC’s vacuum tubes
  • 20. 1.2 History of Operating Systems ENIAC’s backside
  • 21. 1.2 History of Operating Systems Programs were loaded into memory manually using switches, punched cards, or paper tapes. ENIAC : coding by cable connections
  • 22. 1.2 History of Operating Systems punch card
  • 23. 1.2 History of Operating Systems
  • 24. 1.2 History of Operating Systems Paper tape
  • 25. 1.2 History of Operating Systems
  • 26. 1.2 History of Operating Systems Babbage’s analytical engine (designed in 1840’s by Charles Babbage, but cold not be constructed by him. An earlier and simpler version is constructed in 2002, in London ) http://www.computerhistory.org/babbage/
  • 27. 1.2 History of Operating Systems  Ada Lovalence (at time of Charles Babbage) wrote code for analytical engine to compute Bernulli Numbers
  • 28. 1.2 History of Operating Systems  As time went on, card readers, printers, and magnetic tape units were developed as additional hardware elements.  Assemblers, loaders and simple utility libraries were developed as software tools.  Later, off-line spooling and channel program methods were developed sequentially.
  • 29. 1.2 History of Operating Systems Commodore PET, 1977
  • 30. 1.2 History of Operating Systems  Finally, the idea of multiprogramming came.  Multiprogramming means sharing of resources between more than one processes.  By multiprogramming the CPU time is not wasted, because, while one process moves on some I/O work, the OS picks another process to execute till the current one passes to I/O operation.
  • 31. 1.2 History of Operating Systems  With the development of interactive computation in 1970s, time-sharing systems emerged.  In these systems, multiple users have terminals (not computers) connected to a main computer and execute her task in the main computer.
  • 32. 1.2 History of Operating Systems Main computer; having a CPU executing processes by utilization of the OS, (e.g. UNIX). Terminals are connected to the main computer and used for input and output. No processing is made. They do not have CPUs.
  • 33. 1.2 History of Operating Systems  Another computer system is the multiprocessor system having multiple processors sharing memory and peripheral devices.  With this configuration, they have greater computing power and higher reliability.
  • 34. 1.2 History of Operating Systems  Multiprocessor systems are classified into two as tightly-coupled and loosely-coupled (distributed).  In the tightly-coupled one, each processor is assigned a specific duty but processors work in close association, possibly sharing the same memory.  In the loosely coupled one, each processor has its own memory and copy of the OS.
  • 35. 1.2 History of Operating Systems  Use of the networks required OSs appropriate for them.  In network systems, each process runs in its own machine but the OS have access to other machines.  By this way, file sharing, messaging, etc. became possible.  In networks, users are aware of the fact that s/he is working in a network and when information is exchanged. The user explicitly handles the transfer of information.
  • 36. 1.2 History of Operating Systems Each is a computer having its own CPU, RAM, etc. An OS supporting networks is installed on them.
  • 37. 1.2 History of Operating Systems  Distributed systems are similar to networks. However in such systems, there is no need to exchange information explicitly, it is handled by the OS itself whenever necessary.  With continuing innovations, new architectures and compatible OSs are developed. But their details are not in the scope of this text since the objective here is to give only a general view about developments in OS concept.
  • 38. GNU Website: http://www.gnu.org/