SlideShare a Scribd company logo
1 of 26
HASSAN BIN ALI
                     Department of IT & Communication
                     Politeknik Tuanku Syed Sirajuddin




FP202 Fundamental Of Operating System
  At the end of this chapter, student will be able to:
1) Define operating system
2) List the use of operating system in computer
   system
3) Describe various OS architecture
4) Describe various types of OS




                              FP202 Fundamental Of Operating
                                                     System
  Software program that controls the hardware.
 Definition of an operating system can be seen in four

   aspects:
1) A group of program that acts as an intermediary between
   user, software and computer hardware.
2) Controls and co-ordinates the use of computer resources
   among various application programs and user.
3) Acts as a manager

4) Allow the program to communicate with one another




                                FP202 Fundamental Of Operating
                                                       System
  Basically, two types of software available:
1) System software

   - Groups of program that control the hardware
   Systems software includes compilers,loaders, linkers, and 
   debuggers.
2)   Application software
     - Groups of programs that used by the end-user for various
     applications such as text processing, spreadsheet, etc
    OS categorized as system software
     - Build to act as an intermediary between user of a computer and
     computer hardware
     - Goal: Provide convenient and efficient environment for the user

                                      FP202 Fundamental Of Operating
                                                             System
User1          User2                        User3




             System and application programs

                     Operating system

                          Hardware



Figure 1: Abstract view of the components of a computer
                         system
                              FP202 Fundamental Of Operating
                                                     System
    Functions OS:
1)   Resource Sharing
-    The OS contains a set of algorithms that allocates
     resources to the programs executed on behalf of the user.
-    These resources include time, power, hardware, etc...
2)   Control Program
     Controls the operation of the application programs to
     prevent errors affecting other programs.
3)   Provision of a Virtual Machine
     This hides interfaces to I/O devices, filing systems, etc, and
     provides a programming interface for applications.
4)   Kernel
     The kernel is the only program resident all the time (all
     other applications are application programs).

                                    FP202 Fundamental Of Operating
                                                           System
    OS has three objectives:
1)   Convenience
     - An OS make a computer more convenient to be used
2)   Efficiency
     - An OS allows the computer system resources to be used
     in an efficient manner
3)   Ability to evolve
     - An OS is constructed in such a way to as to permit the
     effective development, testing and introduction of new
     system function without at the same time interfering with
     service.


                                   FP202 Fundamental Of Operating
                                                          System
OPERATING
   SYSTEM
ARCHITECTURE
     FP202 Fundamental Of Operating
                            System
   This approach well known as “The Big Mess” - there is no
    structure.
    All kernel routines are together, any can call any
    A system call interface (main program, sys calls, utility
    functions)
    Examples: Linux, BSD Unix, Windows
   Pros
       1)   Shared kernel space
       2)   Good performance
   Cons
       1)   No information hiding
       2)   Inflexible
       3)   Chaotic
       4)   Difficult to understand


                                      FP202 Fundamental Of Operating
                                                             System
   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.
    With modularity, layers are selected such that each uses functions
    (operations) and services of only lower-level layers.
    Hiding information at each layer
   E.g. level 1 is processor allocation, level 1 memory management,
    level 2 communication, level 3 I/O, etc.
   Examples: THE System (6 layers), MS-DOS (4 layers)
    Pros
       1)   Layered abstraction
       2)   Separation of concerns, elegance
   Cons
       1)   Protection, boundary crossings




                                               FP202 Fundamental Of Operating
                                                                      System
   The advent of new concepts in OS design, microkernel is aimed at
    migrating services of an operating system out of monolithic kernel
    into user level process.
   Divide the OS into several processes, each which implements a single
    set of services
    - Example: I/O servers, memory server, process server
   Each server runs in user mode, provide services to the requested
    client.
   Client: Another operating system component or application program,
    request service by sending message to server
   An OS kernel (microkernel) running in kernel mode deliver message
    to the server.
   The server perform operation, and microkernel delivers the result to
    client in another message.




                                       FP202 Fundamental Of Operating
                                                              System
   Components above microkernel communicate directly with one
    another, although using message that pass through the
    microkernel itself.
   Microkernel validate messages, passes them between the
    components and grants access to hardware.
   Example: C-DAC microkernel, Mach, Windows NT, Chorus




                                  FP202 Fundamental Of Operating
                                                         System
……….Client-server model or microkernel




                   FP202 Fundamental Of Operating
                                          System
Example: Windows NT
    Various applications (Win32, OS/2, and POSIX) run in user
     space.
    Server for each application runs in user space.
     Message passing between client application programs and
     application servers runs in kernel space.




                                    FP202 Fundamental Of Operating
                                                           System
OPERATING
SYSTEM TYPES
   A batch system is one in which jobs are bundled together with the
    instructions necessary to allow them to be processed without
    intervention.
   The basic physical layout of the memory of a batch job computer
    is shown below:
                             Monitor (permanently
                                     resident)

                                  User Space
- The monitor is system software that is responsible for interpreting
                       (compilers, programs, data,
  and carrying out the instructions in the batch jobs.
                                      etc.)
- When the monitor starts a job, the entire computer is dedicated to
  the job, which then controls the computer until it finishes.
   Advantages:
    1)Move much of the work of the operator to the computer
    2)Increased performance since it was possible for job to start as soon as the
      previous job finished
   Disadvantages:
    1)Due to lack of protection scheme, one batch job can affect pending jobs
      (read too many cards, etc)
        Example: A job could corrupt the monitor, thus affecting pending jobs
    2)A job could enter an infinite loop
   As machines with more and more memory became available, it
    was possible to extend the idea of multiprogramming (or
    multiprocessing) as used in batch systems.
   This create a systems that would load several jobs into memory at
    once and cycle through them in some order, working on each one
    for a specified period of time.
   The basic physical layout of a multiprogramming system is as
    shown:
                          Monitor (more like an operating
                                     system)
                                   User program 1
                                   User program 2
                                   User program 3
                                   User program 4
   At this point the monitor is growing to the point where it begins to
    resemble a modern operating system.
   It is responsible for:
       1)Starting user jobs
       2)Spooling operations
       3)IO for user jobs
       4) Switching between user jobs
       5) Ensuring proper protection while doing the above
    There are different type of Multiprogramming Operating
     System such as:

1)   Multitasking Operating System
    A type of multiprogramming operating system which can
     perform several process simultaneously.
    The earliest multitasking OS available to home users was the
     AmigaOS.
    All current major operating system support this feature.
2)   Multi-user Operating System
     A multi-user operating system allows for multiple users to
     use the same process at the same time and/or different times.
     Linux, Unix,Windows OS are some example of multitasking
     operating system.

3)   Multiprocessing Operating System
    An operating system capable of supporting and utilizing
     more than one computer.
4)   Real Time Operating System
     Often used as a control device in a dedicated application
     such as controlling scientific experiments, medical imaging
     systems, industrial control systems, and some display
     systems.
    Well-defined fixed-time constraints.
   The Distributed Operating System is one that runs on multiple,
    autonomous CPUs which provides its users an illusion of an
    ordinary Centralized Operating System that runs on a virtual
    Uniprocessor.
   Distributed Operating System provide resource tranparency to
    the users processes.

   “If you can tell which computer you are using, you are not
    using a distributed system ” - Tanenbaum
w o rk
s t a t io n s                        a lo c a l n e t w o r k




                 T h e In te rn e t



                                                                        a n e tw o rk h o s t




                  Distributed Operating System



                                           FP202 Fundamental Of Operating
                                                                  System
   Advantages:
     1)Price/Performance advantage (Availability of cheap and
       powerful Microprocessors).
     2)Resources Sharing
     3)Computation speed up – load sharing
     4)Reliability and Availability.
     5)Provides Transparency.

   Disadvantages:
      1)Lack of security - Easy access also applies to secret data.
   An example of a distributed system: Amoeba
-   An open source microkernel-based distributed operating system
    developed by Andrew S. Tanenbaum and others at the Vrije
    Universiteit.
-   The aim of the Amoeba project is to build a timesharing system
    that makes an entire network of computers appear to the user as
    a single machine.
-   Development seems to have stalled: the files in the latest
    version (5.3) were last modified on 12 February 2001.
-   Amoeba runs on several platforms, including i386, i486, 68030,
    Sun 3/50 and Sun 3/60.

More Related Content

What's hot

ekonomi rumah tangga (ting 4 & 5)-tahap-2
ekonomi rumah tangga (ting 4 & 5)-tahap-2ekonomi rumah tangga (ting 4 & 5)-tahap-2
ekonomi rumah tangga (ting 4 & 5)-tahap-2Wan Juliana Muhammad
 
2.0 algoritma pseudokod carta alir
2.0 algoritma pseudokod carta alir2.0 algoritma pseudokod carta alir
2.0 algoritma pseudokod carta alirSakinah Hassan
 
pendidikan jasmani
pendidikan jasmanipendidikan jasmani
pendidikan jasmanisyahir afif
 
FIBER OPTIC CABLE
FIBER OPTIC CABLEFIBER OPTIC CABLE
FIBER OPTIC CABLEMan Mat
 
Kitar hayat pembangunan aturcara / sistem
Kitar hayat pembangunan aturcara / sistemKitar hayat pembangunan aturcara / sistem
Kitar hayat pembangunan aturcara / sistemNaveen Segaran
 
Sistem pengoperasian
Sistem pengoperasianSistem pengoperasian
Sistem pengoperasianHarries Har
 
KERTAS PENERANGAN K1
KERTAS PENERANGAN K1KERTAS PENERANGAN K1
KERTAS PENERANGAN K1azlia3
 
Bab 2.1: Pendawaian Rangkaian
Bab 2.1: Pendawaian RangkaianBab 2.1: Pendawaian Rangkaian
Bab 2.1: Pendawaian RangkaianZulhana Zulkifle
 
Pengenalan os
Pengenalan osPengenalan os
Pengenalan osarah1506
 
KONSEP PANGKALAN DATA (DBMS)
KONSEP PANGKALAN DATA (DBMS)KONSEP PANGKALAN DATA (DBMS)
KONSEP PANGKALAN DATA (DBMS)Naveen Segaran
 
PERBEZAAN TABLET,LAPTOP DAN MOBILE
PERBEZAAN TABLET,LAPTOP DAN MOBILEPERBEZAAN TABLET,LAPTOP DAN MOBILE
PERBEZAAN TABLET,LAPTOP DAN MOBILEShahril Majid
 
La2 server maintenance
La2 server maintenanceLa2 server maintenance
La2 server maintenanceShahril Majid
 
Komponen utama komputer
Komponen utama komputerKomponen utama komputer
Komponen utama komputerarah1506
 
Laporan soal selidik tahap kesedaran dan pengetahuan ICT guru
Laporan soal selidik tahap kesedaran dan pengetahuan ICT guruLaporan soal selidik tahap kesedaran dan pengetahuan ICT guru
Laporan soal selidik tahap kesedaran dan pengetahuan ICT guruSMK NARINANG
 
User Acceptance Test (UAT)
User Acceptance Test (UAT)User Acceptance Test (UAT)
User Acceptance Test (UAT)diddy98
 

What's hot (20)

ekonomi rumah tangga (ting 4 & 5)-tahap-2
ekonomi rumah tangga (ting 4 & 5)-tahap-2ekonomi rumah tangga (ting 4 & 5)-tahap-2
ekonomi rumah tangga (ting 4 & 5)-tahap-2
 
2.0 algoritma pseudokod carta alir
2.0 algoritma pseudokod carta alir2.0 algoritma pseudokod carta alir
2.0 algoritma pseudokod carta alir
 
pendidikan jasmani
pendidikan jasmanipendidikan jasmani
pendidikan jasmani
 
FIBER OPTIC CABLE
FIBER OPTIC CABLEFIBER OPTIC CABLE
FIBER OPTIC CABLE
 
Kitar hayat pembangunan aturcara / sistem
Kitar hayat pembangunan aturcara / sistemKitar hayat pembangunan aturcara / sistem
Kitar hayat pembangunan aturcara / sistem
 
Sistem pengoperasian
Sistem pengoperasianSistem pengoperasian
Sistem pengoperasian
 
Apa Itu WiFi
Apa Itu WiFiApa Itu WiFi
Apa Itu WiFi
 
Bab 1 osi
Bab 1 osiBab 1 osi
Bab 1 osi
 
KERTAS PENERANGAN K1
KERTAS PENERANGAN K1KERTAS PENERANGAN K1
KERTAS PENERANGAN K1
 
Spesifikasi server
Spesifikasi serverSpesifikasi server
Spesifikasi server
 
Bab 2.1: Pendawaian Rangkaian
Bab 2.1: Pendawaian RangkaianBab 2.1: Pendawaian Rangkaian
Bab 2.1: Pendawaian Rangkaian
 
Pengenalan os
Pengenalan osPengenalan os
Pengenalan os
 
BAB 4 Perisian operasi
BAB 4   Perisian operasiBAB 4   Perisian operasi
BAB 4 Perisian operasi
 
KONSEP PANGKALAN DATA (DBMS)
KONSEP PANGKALAN DATA (DBMS)KONSEP PANGKALAN DATA (DBMS)
KONSEP PANGKALAN DATA (DBMS)
 
PERBEZAAN TABLET,LAPTOP DAN MOBILE
PERBEZAAN TABLET,LAPTOP DAN MOBILEPERBEZAAN TABLET,LAPTOP DAN MOBILE
PERBEZAAN TABLET,LAPTOP DAN MOBILE
 
La2 server maintenance
La2 server maintenanceLa2 server maintenance
La2 server maintenance
 
Komponen utama komputer
Komponen utama komputerKomponen utama komputer
Komponen utama komputer
 
Macam macam browser (tugas tik)
Macam macam browser (tugas tik)Macam macam browser (tugas tik)
Macam macam browser (tugas tik)
 
Laporan soal selidik tahap kesedaran dan pengetahuan ICT guru
Laporan soal selidik tahap kesedaran dan pengetahuan ICT guruLaporan soal selidik tahap kesedaran dan pengetahuan ICT guru
Laporan soal selidik tahap kesedaran dan pengetahuan ICT guru
 
User Acceptance Test (UAT)
User Acceptance Test (UAT)User Acceptance Test (UAT)
User Acceptance Test (UAT)
 

Viewers also liked

Chapter 1 part 3
Chapter 1 part 3Chapter 1 part 3
Chapter 1 part 3rohassanie
 
Chapter 3 part 2
Chapter 3 part 2Chapter 3 part 2
Chapter 3 part 2rohassanie
 
Chapter 3 part 1
Chapter 3 part 1Chapter 3 part 1
Chapter 3 part 1rohassanie
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2) rohassanie
 
chapter 1 intoduction to operating system
chapter 1 intoduction to operating systemchapter 1 intoduction to operating system
chapter 1 intoduction to operating systemSiddhi Viradiya
 
Course outline FP202 - Dis 2012
Course outline FP202 - Dis 2012Course outline FP202 - Dis 2012
Course outline FP202 - Dis 2012rohassanie
 
FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3Syahriha Ruslan
 
Chapter 1 part 2
Chapter 1 part 2Chapter 1 part 2
Chapter 1 part 2rohassanie
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1rohassanie
 
FINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEM
FINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEMFINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEM
FINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEMAmira Dolce Farhana
 
Open source operating systems
Open source operating systemsOpen source operating systems
Open source operating systemsTushar B Kute
 
Operating System
Operating SystemOperating System
Operating Systemaziz_miu
 
Multi core-architecture
Multi core-architectureMulti core-architecture
Multi core-architecturePiyush Mittal
 
OS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and MonitorsOS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and Monitorssgpraju
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 

Viewers also liked (18)

Chapter 1 part 3
Chapter 1 part 3Chapter 1 part 3
Chapter 1 part 3
 
Chapter 3 part 2
Chapter 3 part 2Chapter 3 part 2
Chapter 3 part 2
 
Chapter 3 part 1
Chapter 3 part 1Chapter 3 part 1
Chapter 3 part 1
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 
Chapter 2 (Part 2)
Chapter 2 (Part 2) Chapter 2 (Part 2)
Chapter 2 (Part 2)
 
chapter 1 intoduction to operating system
chapter 1 intoduction to operating systemchapter 1 intoduction to operating system
chapter 1 intoduction to operating system
 
Course outline FP202 - Dis 2012
Course outline FP202 - Dis 2012Course outline FP202 - Dis 2012
Course outline FP202 - Dis 2012
 
FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3FP305 data structure PAPER FINAL SEM 3
FP305 data structure PAPER FINAL SEM 3
 
Chapter 1 part 2
Chapter 1 part 2Chapter 1 part 2
Chapter 1 part 2
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1
 
FINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEM
FINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEMFINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEM
FINAL PAPER FP501 OPEN SOURCE OPERATING SYSTEM
 
Open source operating systems
Open source operating systemsOpen source operating systems
Open source operating systems
 
Operating System
Operating SystemOperating System
Operating System
 
Multi core-architecture
Multi core-architectureMulti core-architecture
Multi core-architecture
 
Linux Vs Unix
Linux Vs UnixLinux Vs Unix
Linux Vs Unix
 
OS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and MonitorsOS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and Monitors
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 

Similar to Chapter 1 part 1

Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.pptmiki304759
 
Windows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolWindows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolStacksol
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07ainfara
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptMemMem25
 
Operating Systems Presentation
Operating Systems Presentation Operating Systems Presentation
Operating Systems Presentation Mayank Thanki
 
Computer software and operating system.pptx
Computer software and operating system.pptxComputer software and operating system.pptx
Computer software and operating system.pptxAayushAryal2
 
A presentation on operating system
A presentation on operating systemA presentation on operating system
A presentation on operating systemNilratan Srakar
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07anishamca
 
Operating System
Operating SystemOperating System
Operating SystemSyahida
 
MC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with AnswerMC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with Answersellappasiva
 
CS403: Operating System : Unit I _merged.pdf
CS403: Operating System :  Unit I _merged.pdfCS403: Operating System :  Unit I _merged.pdf
CS403: Operating System : Unit I _merged.pdfAsst.prof M.Gokilavani
 
Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221ChungHong22
 
Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231ChungHong22
 

Similar to Chapter 1 part 1 (20)

Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
Windows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolWindows Architecture Explained by Stacksol
Windows Architecture Explained by Stacksol
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Operating Systems Presentation
Operating Systems Presentation Operating Systems Presentation
Operating Systems Presentation
 
Computer software and operating system.pptx
Computer software and operating system.pptxComputer software and operating system.pptx
Computer software and operating system.pptx
 
A presentation on operating system
A presentation on operating systemA presentation on operating system
A presentation on operating system
 
operating systems
operating systemsoperating systems
operating systems
 
Operating systems11 9-07
Operating systems11 9-07Operating systems11 9-07
Operating systems11 9-07
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
Presentation on operating system
 Presentation on operating system Presentation on operating system
Presentation on operating system
 
Operating System
Operating SystemOperating System
Operating System
 
Os
OsOs
Os
 
Operating system
Operating systemOperating system
Operating system
 
MC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with AnswerMC 7204 OS Question Bank with Answer
MC 7204 OS Question Bank with Answer
 
Operating systems
Operating systemsOperating systems
Operating systems
 
System structure
System structureSystem structure
System structure
 
CS403: Operating System : Unit I _merged.pdf
CS403: Operating System :  Unit I _merged.pdfCS403: Operating System :  Unit I _merged.pdf
CS403: Operating System : Unit I _merged.pdf
 
Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221Operating System-Chap 1-EnglishVersion-20221
Operating System-Chap 1-EnglishVersion-20221
 
Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231Operating System-Chap 1-EnglishHust-20231
Operating System-Chap 1-EnglishHust-20231
 

More from rohassanie

FP 201 - Unit 6
FP 201 - Unit 6FP 201 - Unit 6
FP 201 - Unit 6rohassanie
 
FP 201 - Unit4 Part 2
FP 201 - Unit4 Part 2FP 201 - Unit4 Part 2
FP 201 - Unit4 Part 2rohassanie
 
FP 201 - Unit 3 Part 2
FP 201 - Unit 3 Part 2FP 201 - Unit 3 Part 2
FP 201 - Unit 3 Part 2rohassanie
 
FP 202 - Chapter 5
FP 202 - Chapter 5FP 202 - Chapter 5
FP 202 - Chapter 5rohassanie
 
FP 202 Chapter 2 - Part 3
FP 202 Chapter 2 - Part 3FP 202 Chapter 2 - Part 3
FP 202 Chapter 2 - Part 3rohassanie
 
FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3rohassanie
 
FP 201 Unit 2 - Part 2
FP 201 Unit 2 - Part 2FP 201 Unit 2 - Part 2
FP 201 Unit 2 - Part 2rohassanie
 
Labsheet 7 FP 201
Labsheet 7 FP 201Labsheet 7 FP 201
Labsheet 7 FP 201rohassanie
 
Labsheet 6 - FP 201
Labsheet 6 - FP 201Labsheet 6 - FP 201
Labsheet 6 - FP 201rohassanie
 
Jadual Waktu Sesi JUN 2012
Jadual Waktu Sesi JUN 2012Jadual Waktu Sesi JUN 2012
Jadual Waktu Sesi JUN 2012rohassanie
 
FP 201 Unit 3
FP 201 Unit 3 FP 201 Unit 3
FP 201 Unit 3 rohassanie
 
Labsheet2 stud
Labsheet2 studLabsheet2 stud
Labsheet2 studrohassanie
 
Labsheet1 stud
Labsheet1 studLabsheet1 stud
Labsheet1 studrohassanie
 

More from rohassanie (20)

FP 201 - Unit 6
FP 201 - Unit 6FP 201 - Unit 6
FP 201 - Unit 6
 
Fp201 unit5 1
Fp201 unit5 1Fp201 unit5 1
Fp201 unit5 1
 
FP 201 - Unit4 Part 2
FP 201 - Unit4 Part 2FP 201 - Unit4 Part 2
FP 201 - Unit4 Part 2
 
Fp201 unit4
Fp201 unit4Fp201 unit4
Fp201 unit4
 
FP 201 - Unit 3 Part 2
FP 201 - Unit 3 Part 2FP 201 - Unit 3 Part 2
FP 201 - Unit 3 Part 2
 
FP 202 - Chapter 5
FP 202 - Chapter 5FP 202 - Chapter 5
FP 202 - Chapter 5
 
FP 202 Chapter 2 - Part 3
FP 202 Chapter 2 - Part 3FP 202 Chapter 2 - Part 3
FP 202 Chapter 2 - Part 3
 
FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3FP 201 Unit 2 - Part 3
FP 201 Unit 2 - Part 3
 
FP 201 Unit 2 - Part 2
FP 201 Unit 2 - Part 2FP 201 Unit 2 - Part 2
FP 201 Unit 2 - Part 2
 
Lab ex 1
Lab ex 1Lab ex 1
Lab ex 1
 
Labsheet 7 FP 201
Labsheet 7 FP 201Labsheet 7 FP 201
Labsheet 7 FP 201
 
Labsheet 6 - FP 201
Labsheet 6 - FP 201Labsheet 6 - FP 201
Labsheet 6 - FP 201
 
Jadual Waktu Sesi JUN 2012
Jadual Waktu Sesi JUN 2012Jadual Waktu Sesi JUN 2012
Jadual Waktu Sesi JUN 2012
 
Labsheet 5
Labsheet 5Labsheet 5
Labsheet 5
 
Labsheet 4
Labsheet 4Labsheet 4
Labsheet 4
 
FP 201 Unit 3
FP 201 Unit 3 FP 201 Unit 3
FP 201 Unit 3
 
Labsheet_3
Labsheet_3Labsheet_3
Labsheet_3
 
Labsheet2 stud
Labsheet2 studLabsheet2 stud
Labsheet2 stud
 
Labsheet1 stud
Labsheet1 studLabsheet1 stud
Labsheet1 stud
 
Unit 3
Unit 3Unit 3
Unit 3
 

Recently uploaded

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceIES VE
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Recently uploaded (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Chapter 1 part 1

  • 1. HASSAN BIN ALI Department of IT & Communication Politeknik Tuanku Syed Sirajuddin FP202 Fundamental Of Operating System
  • 2.  At the end of this chapter, student will be able to: 1) Define operating system 2) List the use of operating system in computer system 3) Describe various OS architecture 4) Describe various types of OS FP202 Fundamental Of Operating System
  • 3.  Software program that controls the hardware.  Definition of an operating system can be seen in four aspects: 1) A group of program that acts as an intermediary between user, software and computer hardware. 2) Controls and co-ordinates the use of computer resources among various application programs and user. 3) Acts as a manager 4) Allow the program to communicate with one another FP202 Fundamental Of Operating System
  • 4.  Basically, two types of software available: 1) System software - Groups of program that control the hardware Systems software includes compilers,loaders, linkers, and  debuggers. 2) Application software - Groups of programs that used by the end-user for various applications such as text processing, spreadsheet, etc  OS categorized as system software - Build to act as an intermediary between user of a computer and computer hardware - Goal: Provide convenient and efficient environment for the user FP202 Fundamental Of Operating System
  • 5. User1 User2 User3 System and application programs Operating system Hardware Figure 1: Abstract view of the components of a computer system FP202 Fundamental Of Operating System
  • 6. Functions OS: 1) Resource Sharing - The OS contains a set of algorithms that allocates resources to the programs executed on behalf of the user. - These resources include time, power, hardware, etc... 2) Control Program Controls the operation of the application programs to prevent errors affecting other programs. 3) Provision of a Virtual Machine This hides interfaces to I/O devices, filing systems, etc, and provides a programming interface for applications. 4) Kernel The kernel is the only program resident all the time (all other applications are application programs). FP202 Fundamental Of Operating System
  • 7. OS has three objectives: 1) Convenience - An OS make a computer more convenient to be used 2) Efficiency - An OS allows the computer system resources to be used in an efficient manner 3) Ability to evolve - An OS is constructed in such a way to as to permit the effective development, testing and introduction of new system function without at the same time interfering with service. FP202 Fundamental Of Operating System
  • 8. OPERATING SYSTEM ARCHITECTURE FP202 Fundamental Of Operating System
  • 9. This approach well known as “The Big Mess” - there is no structure.  All kernel routines are together, any can call any  A system call interface (main program, sys calls, utility functions)  Examples: Linux, BSD Unix, Windows  Pros 1) Shared kernel space 2) Good performance  Cons 1) No information hiding 2) Inflexible 3) Chaotic 4) Difficult to understand FP202 Fundamental Of Operating System
  • 10. 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.  With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers.  Hiding information at each layer  E.g. level 1 is processor allocation, level 1 memory management, level 2 communication, level 3 I/O, etc.  Examples: THE System (6 layers), MS-DOS (4 layers)  Pros 1) Layered abstraction 2) Separation of concerns, elegance  Cons 1) Protection, boundary crossings FP202 Fundamental Of Operating System
  • 11. The advent of new concepts in OS design, microkernel is aimed at migrating services of an operating system out of monolithic kernel into user level process.  Divide the OS into several processes, each which implements a single set of services - Example: I/O servers, memory server, process server  Each server runs in user mode, provide services to the requested client.  Client: Another operating system component or application program, request service by sending message to server  An OS kernel (microkernel) running in kernel mode deliver message to the server.  The server perform operation, and microkernel delivers the result to client in another message. FP202 Fundamental Of Operating System
  • 12. Components above microkernel communicate directly with one another, although using message that pass through the microkernel itself.  Microkernel validate messages, passes them between the components and grants access to hardware.  Example: C-DAC microkernel, Mach, Windows NT, Chorus FP202 Fundamental Of Operating System
  • 13. ……….Client-server model or microkernel FP202 Fundamental Of Operating System
  • 14. Example: Windows NT  Various applications (Win32, OS/2, and POSIX) run in user space.  Server for each application runs in user space.  Message passing between client application programs and application servers runs in kernel space. FP202 Fundamental Of Operating System
  • 16. A batch system is one in which jobs are bundled together with the instructions necessary to allow them to be processed without intervention.  The basic physical layout of the memory of a batch job computer is shown below: Monitor (permanently resident) User Space - The monitor is system software that is responsible for interpreting (compilers, programs, data, and carrying out the instructions in the batch jobs. etc.) - When the monitor starts a job, the entire computer is dedicated to the job, which then controls the computer until it finishes.
  • 17. Advantages: 1)Move much of the work of the operator to the computer 2)Increased performance since it was possible for job to start as soon as the previous job finished  Disadvantages: 1)Due to lack of protection scheme, one batch job can affect pending jobs (read too many cards, etc) Example: A job could corrupt the monitor, thus affecting pending jobs 2)A job could enter an infinite loop
  • 18. As machines with more and more memory became available, it was possible to extend the idea of multiprogramming (or multiprocessing) as used in batch systems.  This create a systems that would load several jobs into memory at once and cycle through them in some order, working on each one for a specified period of time.  The basic physical layout of a multiprogramming system is as shown: Monitor (more like an operating system) User program 1 User program 2 User program 3 User program 4
  • 19. At this point the monitor is growing to the point where it begins to resemble a modern operating system.  It is responsible for: 1)Starting user jobs 2)Spooling operations 3)IO for user jobs 4) Switching between user jobs 5) Ensuring proper protection while doing the above
  • 20. There are different type of Multiprogramming Operating System such as: 1) Multitasking Operating System  A type of multiprogramming operating system which can perform several process simultaneously.  The earliest multitasking OS available to home users was the AmigaOS.  All current major operating system support this feature.
  • 21. 2) Multi-user Operating System  A multi-user operating system allows for multiple users to use the same process at the same time and/or different times.  Linux, Unix,Windows OS are some example of multitasking operating system. 3) Multiprocessing Operating System  An operating system capable of supporting and utilizing more than one computer.
  • 22. 4) Real Time Operating System  Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems.  Well-defined fixed-time constraints.
  • 23. The Distributed Operating System is one that runs on multiple, autonomous CPUs which provides its users an illusion of an ordinary Centralized Operating System that runs on a virtual Uniprocessor.  Distributed Operating System provide resource tranparency to the users processes.  “If you can tell which computer you are using, you are not using a distributed system ” - Tanenbaum
  • 24. w o rk s t a t io n s a lo c a l n e t w o r k T h e In te rn e t a n e tw o rk h o s t Distributed Operating System FP202 Fundamental Of Operating System
  • 25. Advantages: 1)Price/Performance advantage (Availability of cheap and powerful Microprocessors). 2)Resources Sharing 3)Computation speed up – load sharing 4)Reliability and Availability. 5)Provides Transparency.  Disadvantages: 1)Lack of security - Easy access also applies to secret data.
  • 26. An example of a distributed system: Amoeba - An open source microkernel-based distributed operating system developed by Andrew S. Tanenbaum and others at the Vrije Universiteit. - The aim of the Amoeba project is to build a timesharing system that makes an entire network of computers appear to the user as a single machine. - Development seems to have stalled: the files in the latest version (5.3) were last modified on 12 February 2001. - Amoeba runs on several platforms, including i386, i486, 68030, Sun 3/50 and Sun 3/60.