SlideShare a Scribd company logo
Lecture 1
Interaction of OS and hardware, Goals of OS,
Basic functions of OS, OS Services, System
Calls, Types of system calls.
OS definition
• Operating System (OS) is system software, which acts as
an interface between a user of the computer and the
computer hardware. It is a supervisory program that
manages hardware,, I/O etc. in the system. It acts
processes, files, memoryas a resource manager and
• The main purpose of an Operating System is:
– to provide an environment in which we can execute programs.
• The main goals of the Operating System are:
– To make the computer system convenient to use,
– To make the use of computer hardware in efficient way.
Interaction of OS and hardware
• Scene 1: Perform basic tasks such as recognizing
input from the keyboard, sending output to the
display screen, keeping track of files and directories
on the disk, and controlling peripheral devices such
as disk drives and printers – OS addresses the need
for managing the computer hardware
• Scene 2: Provide a software platform on top of
which other programs can run- OS provides an
interface between application software and
hardware
Lecture 1 of OS Introduction Slides.pptx
As a user, we normally interact with the Operating System through a set of commands. The
commands are accepted and executed by a part of the Operating System called the
command processor or command line interpreter.
Understanding hardware of the system
• Hardware
• Software
• Main memory
• Input/output devices
• The central processing unit
• The entire computer systems can be divided into four
parts or components
– (1) The hardware
– (2) The Operating System
– (3) The application programs and system programs
– (4) The users ( Refer to the slide 1.5 of Galvin)
Cont..
• The Operating System controls and
coordinates the use of the hardware among
the various users and the application
programs.
Basic view of a Computer System
Operating System is a resource allocator
• A computer system has many resources
• These resources are the CPU time, memory
space, files storage space, input/output devices
and so on.
• The Operating System acts as a manager of all of
these resources and allocates them to the
specific programs and users as needed by their
tasks.
• Proper Allocation of resources
Cont…
• An Operating System can also be viewed as a control
program
• control the various I/O devices and the users
programs.
• execution of the user programs to prevent errors and
improper use of the computer resources.
• The common functions of controlling and allocation of
resources between different users and application
programs is brought together into one piece of
software called operating system.
Goals of OS
• The main goals of the Operating System are:
– To make the computer system convenient to use,
– To make the use of computer hardware in efficient
way/ efficient operation of the computer system .
Operating system objectives (Stallings)
• Convenience
• Efficiency
• Ability to evolve
OS Functions (Stallings)
H A I C M D
Early Evolution
• 1945: ENIAC, Moore School of Engineering,
University of Pennsylvania.
• 1949: EDSAC and EDVAC
• 1949 BINAC - a successor to the ENIAC
• 1951: UNIVAC by Remington
• 1952: IBM 701
• 1956: The interrupt
• 1954-1957: FORTRAN was developed
Operating Systems by the late 1950s
• By the late 1950s Operating systems were well improved and
started supporting following usages :
• It was able to Single stream batch processing
• It could use Common, standardized, input/output routines for
device access
• Program transition capabilities to reduce the overhead of starting a
new job was added
• Error recovery to clean up after a job terminated abnormally was
added.
• Job control languages that allowed users to specify the job
definition and resource requirements were made possible
Operating Systems In 1960s
• 1961: The dawn of minicomputers
• 1962 Compatible Time-Sharing System (CTSS) from MIT
• 1963 Burroughs Master Control Program (MCP) for the B5000
system
• 1964: IBM System/360
• 1960s: Disks become mainstream
• 1966: Minicomputers get cheaper, more powerful, and really useful
• 1967-1968: The mouse
• 1964 and onward: Multics
• 1969: The UNIX Time-Sharing System from Bell Telephone
Laboratories
Supported OS Features by 1970s
• Multi User and Multi tasking was introduced.
• Dynamic address translation hardware and
Virtual machines came into picture.
• Modular architectures came into existence.
• Personal, interactive systems came into
existence.
Accomplishments after 1970
• 1971: Intel announces the microprocessor
• 1972: IBM comes out with VM: the Virtual Machine Operating System
• 1973: UNIX 4th Edition is published
• 1973: Ethernet
• 1974 The Personal Computer Age begins
• 1974: Gates and Allen wrote BASIC for the Altair
• 1976: Apple II
• August 12, 1981: IBM introduces the IBM PC
• 1983 Microsoft begins work on MS-Windows
• 1984 Apple Macintosh comes out
• 1990 Microsoft Windows 3.0 comes out
• 1991 GNU/Linux
• 1992 The first Windows virus comes out
• 1993 Windows NT
• 2007: iOS
• 2008: Android OS
• External links to page 13
Terms
• Multicore processor
– A multi-core processor is an integrated circuit to
which two or more processors have been attached
for enhanced performance, reduced power
consumption, and more efficient simultaneous
processing of multiple tasks.
– A multi-core processor is a single computing
component with two or more independent actual
processing units (called "cores"), which are the
units that read and execute program instructions.
OS Services
• The range and extent of services provided by
an Operating System depends on a number of
factors.
– The target environment that the Operating System
is intended to support.
• It is largely determined by user- visible functions of an
operating system.
OS Services Cont..
• An Operating System provides services to both
the users and to the programs:
– Providing environment to the programs for their
execution
– Users can execute their programs in an efficient
way
• For eg: Program execution, I/O operations, File
System manipulation, Communication, Error
Detection, Resource Allocation, Protection
System Call
Operating System extended view
System Call
(Please refer to this link: http://faculty.salina.k-state.edu/tim/ossg/Introduction/sys_calls.html)
System Call Cont..
• Application developers often do not have direct access to the system
calls, but can access them through an application programming
interface (API).
• The functions that are included in the API invoke the actual system
calls.
• By using the API, certain benefits can be gained:
– Portability: as long a system supports an API, any program using that API
can compile and run.
– Ease of Use: using the API can be significantly easier than using the actual
system call.
– (Please refer to this link:
http://faculty.salina.k-state.edu/tim/ossg/Introduction/sys_calls.html)
System Call Parameters
(Please refer to this link: http://faculty.salina.k-
state.edu/tim/ossg/Introduction/sys_calls.html)
Types of System Calls

More Related Content

PPT
Operating System
PDF
Operating System-Introduction
DOCX
Introduction to Operating System
PPT
Introduction to Operating Systems
PPTX
EE469-ch1.pptx
PPTX
EE469-ch1.pptx
PPT
Introduction to OS 1.ppt
PPTX
Operating system
Operating System
Operating System-Introduction
Introduction to Operating System
Introduction to Operating Systems
EE469-ch1.pptx
EE469-ch1.pptx
Introduction to OS 1.ppt
Operating system

Similar to Lecture 1 of OS Introduction Slides.pptx (20)

PPT
unit1 part1.ppt
PPTX
Operating systems
PPT
Operating systems1[1]
PDF
Lecture1423726024
PPTX
The Fundamentals of Operating Systems .pptx
PPTX
Operating system and utility program LECTURE 8.pptx
PDF
osunit1ppt-23011904470yuoij4-685c22ef.pdf
PPTX
OS UNIT 1 PPT.pptx
PDF
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
PDF
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
PPTX
OPERATING SYSTEM UNIT-1 [Autosaved].pptx
PPTX
Unit 1 introduction to os
PPTX
Bsc cs 1 fit u-3 operating systems
PPTX
Bsc cs 1 fit u-3 operating systems
PDF
Lecture - 1.pdf
PPTX
The Brain Behind Your Device: A Deep Dive into Operating Systems
PPTX
Operating system
PPT
An Introduction to Operating Systems
PDF
Operating System Lecture Notes
PPT
ayq.ppt
unit1 part1.ppt
Operating systems
Operating systems1[1]
Lecture1423726024
The Fundamentals of Operating Systems .pptx
Operating system and utility program LECTURE 8.pptx
osunit1ppt-23011904470yuoij4-685c22ef.pdf
OS UNIT 1 PPT.pptx
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
APznzaboYLV6FSbnVvt3HhfZBIXL-s43wv3J9ub0BN0qzPyXvGYRQxO5LRG6JeWSpNJiOBM2Z3MOu...
OPERATING SYSTEM UNIT-1 [Autosaved].pptx
Unit 1 introduction to os
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systems
Lecture - 1.pdf
The Brain Behind Your Device: A Deep Dive into Operating Systems
Operating system
An Introduction to Operating Systems
Operating System Lecture Notes
ayq.ppt
Ad

Recently uploaded (20)

PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Digital Logic Computer Design lecture notes
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Geodesy 1.pptx...............................................
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Lecture Notes Electrical Wiring System Components
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Sustainable Sites - Green Building Construction
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
PPT on Performance Review to get promotions
PPTX
additive manufacturing of ss316l using mig welding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Digital Logic Computer Design lecture notes
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Geodesy 1.pptx...............................................
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Lecture Notes Electrical Wiring System Components
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
OOP with Java - Java Introduction (Basics)
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Model Code of Practice - Construction Work - 21102022 .pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Sustainable Sites - Green Building Construction
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPT on Performance Review to get promotions
additive manufacturing of ss316l using mig welding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Ad

Lecture 1 of OS Introduction Slides.pptx

  • 1. Lecture 1 Interaction of OS and hardware, Goals of OS, Basic functions of OS, OS Services, System Calls, Types of system calls.
  • 2. OS definition • Operating System (OS) is system software, which acts as an interface between a user of the computer and the computer hardware. It is a supervisory program that manages hardware,, I/O etc. in the system. It acts processes, files, memoryas a resource manager and • The main purpose of an Operating System is: – to provide an environment in which we can execute programs. • The main goals of the Operating System are: – To make the computer system convenient to use, – To make the use of computer hardware in efficient way.
  • 3. Interaction of OS and hardware • Scene 1: Perform basic tasks such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers – OS addresses the need for managing the computer hardware • Scene 2: Provide a software platform on top of which other programs can run- OS provides an interface between application software and hardware
  • 5. As a user, we normally interact with the Operating System through a set of commands. The commands are accepted and executed by a part of the Operating System called the command processor or command line interpreter.
  • 6. Understanding hardware of the system • Hardware • Software • Main memory • Input/output devices • The central processing unit • The entire computer systems can be divided into four parts or components – (1) The hardware – (2) The Operating System – (3) The application programs and system programs – (4) The users ( Refer to the slide 1.5 of Galvin)
  • 7. Cont.. • The Operating System controls and coordinates the use of the hardware among the various users and the application programs.
  • 8. Basic view of a Computer System
  • 9. Operating System is a resource allocator • A computer system has many resources • These resources are the CPU time, memory space, files storage space, input/output devices and so on. • The Operating System acts as a manager of all of these resources and allocates them to the specific programs and users as needed by their tasks. • Proper Allocation of resources
  • 10. Cont… • An Operating System can also be viewed as a control program • control the various I/O devices and the users programs. • execution of the user programs to prevent errors and improper use of the computer resources. • The common functions of controlling and allocation of resources between different users and application programs is brought together into one piece of software called operating system.
  • 11. Goals of OS • The main goals of the Operating System are: – To make the computer system convenient to use, – To make the use of computer hardware in efficient way/ efficient operation of the computer system .
  • 12. Operating system objectives (Stallings) • Convenience • Efficiency • Ability to evolve
  • 14. Early Evolution • 1945: ENIAC, Moore School of Engineering, University of Pennsylvania. • 1949: EDSAC and EDVAC • 1949 BINAC - a successor to the ENIAC • 1951: UNIVAC by Remington • 1952: IBM 701 • 1956: The interrupt • 1954-1957: FORTRAN was developed
  • 15. Operating Systems by the late 1950s • By the late 1950s Operating systems were well improved and started supporting following usages : • It was able to Single stream batch processing • It could use Common, standardized, input/output routines for device access • Program transition capabilities to reduce the overhead of starting a new job was added • Error recovery to clean up after a job terminated abnormally was added. • Job control languages that allowed users to specify the job definition and resource requirements were made possible
  • 16. Operating Systems In 1960s • 1961: The dawn of minicomputers • 1962 Compatible Time-Sharing System (CTSS) from MIT • 1963 Burroughs Master Control Program (MCP) for the B5000 system • 1964: IBM System/360 • 1960s: Disks become mainstream • 1966: Minicomputers get cheaper, more powerful, and really useful • 1967-1968: The mouse • 1964 and onward: Multics • 1969: The UNIX Time-Sharing System from Bell Telephone Laboratories
  • 17. Supported OS Features by 1970s • Multi User and Multi tasking was introduced. • Dynamic address translation hardware and Virtual machines came into picture. • Modular architectures came into existence. • Personal, interactive systems came into existence.
  • 18. Accomplishments after 1970 • 1971: Intel announces the microprocessor • 1972: IBM comes out with VM: the Virtual Machine Operating System • 1973: UNIX 4th Edition is published • 1973: Ethernet • 1974 The Personal Computer Age begins • 1974: Gates and Allen wrote BASIC for the Altair • 1976: Apple II • August 12, 1981: IBM introduces the IBM PC • 1983 Microsoft begins work on MS-Windows • 1984 Apple Macintosh comes out • 1990 Microsoft Windows 3.0 comes out • 1991 GNU/Linux • 1992 The first Windows virus comes out • 1993 Windows NT • 2007: iOS • 2008: Android OS • External links to page 13
  • 19. Terms • Multicore processor – A multi-core processor is an integrated circuit to which two or more processors have been attached for enhanced performance, reduced power consumption, and more efficient simultaneous processing of multiple tasks. – A multi-core processor is a single computing component with two or more independent actual processing units (called "cores"), which are the units that read and execute program instructions.
  • 20. OS Services • The range and extent of services provided by an Operating System depends on a number of factors. – The target environment that the Operating System is intended to support. • It is largely determined by user- visible functions of an operating system.
  • 21. OS Services Cont.. • An Operating System provides services to both the users and to the programs: – Providing environment to the programs for their execution – Users can execute their programs in an efficient way • For eg: Program execution, I/O operations, File System manipulation, Communication, Error Detection, Resource Allocation, Protection
  • 23. System Call (Please refer to this link: http://faculty.salina.k-state.edu/tim/ossg/Introduction/sys_calls.html)
  • 24. System Call Cont.. • Application developers often do not have direct access to the system calls, but can access them through an application programming interface (API). • The functions that are included in the API invoke the actual system calls. • By using the API, certain benefits can be gained: – Portability: as long a system supports an API, any program using that API can compile and run. – Ease of Use: using the API can be significantly easier than using the actual system call. – (Please refer to this link: http://faculty.salina.k-state.edu/tim/ossg/Introduction/sys_calls.html)
  • 25. System Call Parameters (Please refer to this link: http://faculty.salina.k- state.edu/tim/ossg/Introduction/sys_calls.html)