SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
Unit 1 –part 1
Introduction
Course Administration
Text & Reference Books:
Operating System Concepts Eighth Edition Abraham Silberschatz, the Peter
Gaivin, Greg Gagne
Abraham Silberschatz, the Peter Gaivin, Greg Gagne, Applied Operating
System
Concepts (practical concept of the operating system)., John Wiley & Sons,
Inc.2000 (Beijing: Higher Education Press .2001,5)
Basic components of a computer
system: place of OS
• A computer system can be
divided into four components
• Hardware – provides basic
computing resources
• CPU, memory, I/O devices
• Operating system
• Controls and coordinates use of
hardware among various
applications and users
• Application programs –solve
the problems of the users: use
system resources
• Word processors, compilers,
web browsers, database
systems, video games
• Users
• People, machines, other
computers
•3
What is an Operating System
• A program that acts as an intermediary between a
users/applications and the computer hardware
• An operating system (OS) is a collection of software that
manages computer hardware resources and provides
common services for computer programs. The operating
system is a vital component of the system software in a
computer system.
• An Operating System (OS) is an interface between a computer
user and computer hardware. An operating system is a
software which performs all the basic tasks like file
management, memory management, process management,
handling input and output, and controlling peripheral devices
such as disk drives and printers.
• Some popular Operating Systems include Linux Operating
System, Windows Operating System, VMS, OS/400, AIX, z/OS,
etc.
History Of OS
• Operating systems were first developed in the late 1950s to
manage tape storage
• The General Motors Research Lab implemented the first OS
in the early 1950s for their IBM 701
• In the mid-1960s, operating systems started to use disks
• In the late 1960s, the first version of the Unix OS was
developed
• The first OS built by Microsoft was DOS. It was built in 1981
by purchasing the 86-DOS software from a Seattle company
• The present-day popular OS Windows first came to
existence in 1985 when a GUI was created and paired with
MS-DOS.
Functions of an operating System
Functions of an operating System
• Process management:- Process management helps OS to
create and delete processes. It also provides mechanisms for
synchronization and communication among processes.
• Memory management:- Memory management module
performs the task of allocation and de-allocation of memory
space to programs in need of this resources.
• File management:- It manages all the file-related activities
such as organization storage, retrieval, naming, sharing, and
protection of files.
• Device Management: Device management keeps tracks of all
devices. This module also responsible for this task is known
as the I/O controller. It also performs the task of allocation
and de-allocation of the devices.
• I/O System Management: One of the main objects of any OS
is to hide the peculiarities of that hardware devices from the
user.
• Secondary-Storage Management: Systems have several
levels of storage which includes primary storage,
secondary storage, and cache storage. Instructions and
data must be stored in primary storage or cache so that
a running program can reference it.
• Security:- Security module protects the data and
information of a computer system against malware
threat and authorized access.
• Command interpretation: This module is interpreting
commands given by and acting system resources to
process that commands.
• Networking: A distributed system is a group of
processors which do not share memory, hardware
devices, or a clock. The processors communicate with
one another through the network.
Functions of an operating System
Functions of an operating System
• Job accounting: Keeping track of time & resource
used by various job and users.
• Communication management: Coordination and
assignment of compilers, interpreters, and another
software resource of the various users of the
computer systems.
Types of Operating system
• Batch Operating System
• Multitasking/Time Sharing OS
• Multiprocessing OS
• Real Time OS
• Distributed OS
• Network OS
• Mobile OS
Types of Operating system
Batch Operating System
Some computer processes are very lengthy and time-consuming. To
speed the same process, a job with a similar type of needs are
batched together and run as a group.
The user of a batch operating system never directly interacts with
the computer. In this type of OS, every user prepares his or her job
on an offline device like a punch card and submit it to the computer
operator.
Multi-Tasking/Time-sharing Operating systems
Time-sharing operating system enables people located at a different
terminal(shell) to use a single computer system at the same time.
The processor time (CPU) which is shared among multiple users is
termed as time sharing.
Real time OS
A real time operating system time interval to process and respond
to inputs is very small. Examples: Military Software Systems, Space
Software Systems.
Types of Operating system
Distributed Operating System
Distributed systems use many processors located in different
machines to provide very fast computation to its users.
Network Operating System
Network Operating System runs on a server. It provides the
capability to serve to manage data, user, groups, security,
application, and other networking functions.
Mobile OS
Mobile operating systems are those OS which is especially
that are designed to power smartphones, tablets, and
wearables devices.
Some most famous mobile operating systems are Android and
iOS, but others include BlackBerry, Web, and watchOS.
Difference between Firmware and Operating System
Firmware Operating System
Firmware is one kind of
programming that is
embedded on a chip in the
device which controls that
specific device.
OS provides functionality over
and above that which is
provided by the firmware.
Firmware is programs that
been encoded by the
manufacture of the IC or
something and cannot be
changed.
OS is a program that can be
installed by the user and can
be changed.
It is stored on non-volatile
memory.
OS is stored on the hard
drive.
The advantage of using Operating System
• Allows you to hide details of hardware by creating an
abstraction
• Easy to use with a GUI
• Offers an environment in which a user may execute
programs/applications
• The operating system must make sure that the
computer system convenient to use
• Operating System acts as an intermediary among
applications and the hardware components
• It provides the computer system resources with easy to
use format
• Acts as an intermediator between all hardware's and
software's of the system
Disadvantages of using Operating System
• If any issue occurs in OS, you may lose all the
contents which have been stored in your system
• Operating system's software is quite expensive for
small size organization which adds burden on them.
Example Windows
• It is never entirely secure as a threat can occur at
any time
Goals of an Operating System
• Simplify the execution of user programs and make
solving user problem easier.
• Use Computer hardware efficiently
• Allow sharing of hardware and software resources.
• Make application software portable and versatile.
• Provide isolation, security and protection among
user problems.
• Improve overall system reliability
• Error confinement, fault tolerance, reconfiguration.
A Multi-user operating system
A Multi-user operating system is
a computer operating system which allows multiple
users to access the single system with one operating
system on it. It is generally used on
large mainframe computers.
Example: Linux, Unix, Windows 2000, Ubuntu, Mac
OS etc.,
In the multi-user operating system, different users
connected at different terminals and we can access,
these users through the network
Features of the Multi-user Operating System
Multi-tasking- Using multi-user operating system we
can perform multiple tasks at a time, i.e. we can run
more than one program at a time.
Example: we can edit a word document while
browsing the internet.
Resource sharing- we can share different peripherals
like printers, hard drives or we can share a file or data.
For this, each user is given a small time slice of CPU
time.
Background processing- It means that when
commands are not processed firstly, then they are
executed in the background while another programs
are interacting with the system in the real time.
Operating System Structure
An operating system is a construct that allows the
user application programs to interact with the system
hardware. Since the operating system is such a
complex structure, it should be created with utmost
care so it can be used and modified easily. An easy
way to do this is to create the operating system in
parts. Each of these parts should be well defined
with clear inputs, outputs and functions.
Simple Structure
There are many operating systems that have a rather
simple structure. These started as small systems and
rapidly expanded much further than their scope. A
common example of this is MS-DOS. It was designed
simply for a niche amount for people. There was no
indication that it would become so popular.
It is better that operating systems have a modular
structure, unlike MS-DOS. That would lead to greater
control over the computer system and its various
applications. The modular structure would also allow the
programmers to hide information as required and
implement internal routines as they see fit without
changing the outer specifications.
Simple Structure
Layered Structure
One way to achieve modularity in the operating
system is the layered approach. In this, the bottom
layer is the hardware and the topmost layer is the
user interface.
As seen from the image, each upper layer is built on
the bottom layer. All the layers hide some structures,
operations etc from their upper layers.
One problem with the layered structure is that each
layer needs to be carefully defined. This is necessary
because the upper layers can only use the
functionalities of the layers below them.
Layered Structure
The Operating System as a Resource Manager
• Internally an Operating System acts as a manager of
resources of the computer system such as
processor, memory, files, and I/O device.
• In this role, the operating system keeps track of the
status of each resource, and decides who gets a
resource, for how long and when.
• In system that supports concurrent execution of
program, the operating system resolves conflicting
requests for resources in manner that preserves
system integrity, and in doing so attempts to
optimize the resulting performance.
Operating System Definition
• OS is the one program running all times on the
computer.
• Kernel: running all the time; having most of the
functionality
• Everything else: either a system program or an
application program
25
system
programs
(Some
application
programs) OS CD
kernel
System programs: programs that are
associated with the operating system
+ you can install
other applications

Mais conteúdo relacionado

Mais procurados

Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating Systempriya_sinha02
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)Vaibhav Bajaj
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its ComponentsMahmuda Rahman
 
Operating System-Introduction
Operating System-IntroductionOperating System-Introduction
Operating System-IntroductionShipra Swati
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1abhinav baba
 
Computer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show PresentationComputer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show Presentationsluget
 
Operating Systems - Processor Management
Operating Systems - Processor ManagementOperating Systems - Processor Management
Operating Systems - Processor ManagementDamian T. Gordon
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & ApplicationsMaulen Bale
 
Function of Operating system
Function of Operating systemFunction of Operating system
Function of Operating systemAmit Mehla
 
Central Processing Unit
Central Processing Unit Central Processing Unit
Central Processing Unit Alaka Acharya
 
Kernel. Operating System
Kernel. Operating SystemKernel. Operating System
Kernel. Operating Systempratikkadam78
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating SystemLuka M G
 
Types of operating system unit 1 by Ram K Paliwal
Types of operating system  unit 1 by Ram K PaliwalTypes of operating system  unit 1 by Ram K Paliwal
Types of operating system unit 1 by Ram K PaliwalRam Paliwal
 

Mais procurados (20)

Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating system.ppt (1)
Operating system.ppt (1)Operating system.ppt (1)
Operating system.ppt (1)
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Boot process
Boot processBoot process
Boot process
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Operating System-Introduction
Operating System-IntroductionOperating System-Introduction
Operating System-Introduction
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1Operating System - Types Of Operating System Unit-1
Operating System - Types Of Operating System Unit-1
 
Computer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show PresentationComputer Basics 101 Slide Show Presentation
Computer Basics 101 Slide Show Presentation
 
Operating Systems - Processor Management
Operating Systems - Processor ManagementOperating Systems - Processor Management
Operating Systems - Processor Management
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & Applications
 
Function of Operating system
Function of Operating systemFunction of Operating system
Function of Operating system
 
computer storage
computer storagecomputer storage
computer storage
 
Central Processing Unit
Central Processing Unit Central Processing Unit
Central Processing Unit
 
Kernel. Operating System
Kernel. Operating SystemKernel. Operating System
Kernel. Operating System
 
Types Of Operating Systems
Types Of Operating SystemsTypes Of Operating Systems
Types Of Operating Systems
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating System
 
Chapter 2 operating systems
Chapter 2 operating systemsChapter 2 operating systems
Chapter 2 operating systems
 
Types of operating system unit 1 by Ram K Paliwal
Types of operating system  unit 1 by Ram K PaliwalTypes of operating system  unit 1 by Ram K Paliwal
Types of operating system unit 1 by Ram K Paliwal
 

Semelhante a lecture 1 (Introduction to Operating System.)

introduction to Operating system for computer science Program
introduction to Operating system for computer science Programintroduction to Operating system for computer science Program
introduction to Operating system for computer science ProgramKemalHussen
 
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...ApurvaLaddha
 
platform-technologies_compress.pdf
platform-technologies_compress.pdfplatform-technologies_compress.pdf
platform-technologies_compress.pdfAbCc3
 
operating systems 6
operating systems 6operating systems 6
operating systems 6chukey
 
operating systems
operating systemsoperating systems
operating systemschukey
 
Computer software and operating system.pptx
Computer software and operating system.pptxComputer software and operating system.pptx
Computer software and operating system.pptxAayushAryal2
 
OPERATING.pptx
OPERATING.pptxOPERATING.pptx
OPERATING.pptxEgoGamer
 
Chapter one_oS.ppt
Chapter one_oS.pptChapter one_oS.ppt
Chapter one_oS.pptmiki304759
 
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
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and typesPrakash Sir
 
Reformat PPT.pptx
Reformat PPT.pptxReformat PPT.pptx
Reformat PPT.pptxLINDYLGERAL
 
operating systems
operating systemsoperating systems
operating systemschukey
 

Semelhante a lecture 1 (Introduction to Operating System.) (20)

Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
introduction to Operating system for computer science Program
introduction to Operating system for computer science Programintroduction to Operating system for computer science Program
introduction to Operating system for computer science Program
 
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
OVERVIEW OF OPERATING SYSTEM -Basic concepts of operating system like functio...
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
 
os_1.pdf
os_1.pdfos_1.pdf
os_1.pdf
 
platform-technologies_compress.pdf
platform-technologies_compress.pdfplatform-technologies_compress.pdf
platform-technologies_compress.pdf
 
operating systems 6
operating systems 6operating systems 6
operating systems 6
 
operating systems
operating systemsoperating systems
operating systems
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
Computer software and operating system.pptx
Computer software and operating system.pptxComputer software and operating system.pptx
Computer software and operating system.pptx
 
OPERATING.pptx
OPERATING.pptxOPERATING.pptx
OPERATING.pptx
 
Chapter one_oS.ppt
Chapter one_oS.pptChapter one_oS.ppt
Chapter one_oS.ppt
 
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
 
Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Reformat PPT.pptx
Reformat PPT.pptxReformat PPT.pptx
Reformat PPT.pptx
 
Operating system
Operating systemOperating system
Operating system
 
operating systems
operating systemsoperating systems
operating systems
 

Mais de WajeehaBaig

Unit 3 part 2(DEADLOCK)
Unit 3 part 2(DEADLOCK)Unit 3 part 2(DEADLOCK)
Unit 3 part 2(DEADLOCK)WajeehaBaig
 
Unit 2 part 2(Process)
Unit 2 part 2(Process)Unit 2 part 2(Process)
Unit 2 part 2(Process)WajeehaBaig
 
Unit 2 part 1(Process)
Unit 2 part 1(Process)Unit 2 part 1(Process)
Unit 2 part 1(Process)WajeehaBaig
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categoriesWajeehaBaig
 
Unit 3 part 1(DEADLOCK)
Unit 3 part 1(DEADLOCK)Unit 3 part 1(DEADLOCK)
Unit 3 part 1(DEADLOCK)WajeehaBaig
 

Mais de WajeehaBaig (6)

File system
File systemFile system
File system
 
Unit 3 part 2(DEADLOCK)
Unit 3 part 2(DEADLOCK)Unit 3 part 2(DEADLOCK)
Unit 3 part 2(DEADLOCK)
 
Unit 2 part 2(Process)
Unit 2 part 2(Process)Unit 2 part 2(Process)
Unit 2 part 2(Process)
 
Unit 2 part 1(Process)
Unit 2 part 1(Process)Unit 2 part 1(Process)
Unit 2 part 1(Process)
 
lecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categorieslecture 1 (Part 2) kernal and its categories
lecture 1 (Part 2) kernal and its categories
 
Unit 3 part 1(DEADLOCK)
Unit 3 part 1(DEADLOCK)Unit 3 part 1(DEADLOCK)
Unit 3 part 1(DEADLOCK)
 

Último

Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
How To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROHow To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROmotivationalword821
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 

Último (20)

Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
How To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTROHow To Manage Restaurant Staff -BTRESTRO
How To Manage Restaurant Staff -BTRESTRO
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 

lecture 1 (Introduction to Operating System.)

  • 1. Unit 1 –part 1 Introduction
  • 2. Course Administration Text & Reference Books: Operating System Concepts Eighth Edition Abraham Silberschatz, the Peter Gaivin, Greg Gagne Abraham Silberschatz, the Peter Gaivin, Greg Gagne, Applied Operating System Concepts (practical concept of the operating system)., John Wiley & Sons, Inc.2000 (Beijing: Higher Education Press .2001,5)
  • 3. Basic components of a computer system: place of OS • A computer system can be divided into four components • Hardware – provides basic computing resources • CPU, memory, I/O devices • Operating system • Controls and coordinates use of hardware among various applications and users • Application programs –solve the problems of the users: use system resources • Word processors, compilers, web browsers, database systems, video games • Users • People, machines, other computers •3
  • 4. What is an Operating System • A program that acts as an intermediary between a users/applications and the computer hardware • An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is a vital component of the system software in a computer system. • An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers. • Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/OS, etc.
  • 5. History Of OS • Operating systems were first developed in the late 1950s to manage tape storage • The General Motors Research Lab implemented the first OS in the early 1950s for their IBM 701 • In the mid-1960s, operating systems started to use disks • In the late 1960s, the first version of the Unix OS was developed • The first OS built by Microsoft was DOS. It was built in 1981 by purchasing the 86-DOS software from a Seattle company • The present-day popular OS Windows first came to existence in 1985 when a GUI was created and paired with MS-DOS.
  • 6. Functions of an operating System
  • 7. Functions of an operating System • Process management:- Process management helps OS to create and delete processes. It also provides mechanisms for synchronization and communication among processes. • Memory management:- Memory management module performs the task of allocation and de-allocation of memory space to programs in need of this resources. • File management:- It manages all the file-related activities such as organization storage, retrieval, naming, sharing, and protection of files. • Device Management: Device management keeps tracks of all devices. This module also responsible for this task is known as the I/O controller. It also performs the task of allocation and de-allocation of the devices. • I/O System Management: One of the main objects of any OS is to hide the peculiarities of that hardware devices from the user.
  • 8. • Secondary-Storage Management: Systems have several levels of storage which includes primary storage, secondary storage, and cache storage. Instructions and data must be stored in primary storage or cache so that a running program can reference it. • Security:- Security module protects the data and information of a computer system against malware threat and authorized access. • Command interpretation: This module is interpreting commands given by and acting system resources to process that commands. • Networking: A distributed system is a group of processors which do not share memory, hardware devices, or a clock. The processors communicate with one another through the network. Functions of an operating System
  • 9. Functions of an operating System • Job accounting: Keeping track of time & resource used by various job and users. • Communication management: Coordination and assignment of compilers, interpreters, and another software resource of the various users of the computer systems.
  • 10. Types of Operating system • Batch Operating System • Multitasking/Time Sharing OS • Multiprocessing OS • Real Time OS • Distributed OS • Network OS • Mobile OS
  • 11. Types of Operating system Batch Operating System Some computer processes are very lengthy and time-consuming. To speed the same process, a job with a similar type of needs are batched together and run as a group. The user of a batch operating system never directly interacts with the computer. In this type of OS, every user prepares his or her job on an offline device like a punch card and submit it to the computer operator. Multi-Tasking/Time-sharing Operating systems Time-sharing operating system enables people located at a different terminal(shell) to use a single computer system at the same time. The processor time (CPU) which is shared among multiple users is termed as time sharing. Real time OS A real time operating system time interval to process and respond to inputs is very small. Examples: Military Software Systems, Space Software Systems.
  • 12. Types of Operating system Distributed Operating System Distributed systems use many processors located in different machines to provide very fast computation to its users. Network Operating System Network Operating System runs on a server. It provides the capability to serve to manage data, user, groups, security, application, and other networking functions. Mobile OS Mobile operating systems are those OS which is especially that are designed to power smartphones, tablets, and wearables devices. Some most famous mobile operating systems are Android and iOS, but others include BlackBerry, Web, and watchOS.
  • 13. Difference between Firmware and Operating System Firmware Operating System Firmware is one kind of programming that is embedded on a chip in the device which controls that specific device. OS provides functionality over and above that which is provided by the firmware. Firmware is programs that been encoded by the manufacture of the IC or something and cannot be changed. OS is a program that can be installed by the user and can be changed. It is stored on non-volatile memory. OS is stored on the hard drive.
  • 14. The advantage of using Operating System • Allows you to hide details of hardware by creating an abstraction • Easy to use with a GUI • Offers an environment in which a user may execute programs/applications • The operating system must make sure that the computer system convenient to use • Operating System acts as an intermediary among applications and the hardware components • It provides the computer system resources with easy to use format • Acts as an intermediator between all hardware's and software's of the system
  • 15. Disadvantages of using Operating System • If any issue occurs in OS, you may lose all the contents which have been stored in your system • Operating system's software is quite expensive for small size organization which adds burden on them. Example Windows • It is never entirely secure as a threat can occur at any time
  • 16. Goals of an Operating System • Simplify the execution of user programs and make solving user problem easier. • Use Computer hardware efficiently • Allow sharing of hardware and software resources. • Make application software portable and versatile. • Provide isolation, security and protection among user problems. • Improve overall system reliability • Error confinement, fault tolerance, reconfiguration.
  • 17. A Multi-user operating system A Multi-user operating system is a computer operating system which allows multiple users to access the single system with one operating system on it. It is generally used on large mainframe computers. Example: Linux, Unix, Windows 2000, Ubuntu, Mac OS etc., In the multi-user operating system, different users connected at different terminals and we can access, these users through the network
  • 18. Features of the Multi-user Operating System Multi-tasking- Using multi-user operating system we can perform multiple tasks at a time, i.e. we can run more than one program at a time. Example: we can edit a word document while browsing the internet. Resource sharing- we can share different peripherals like printers, hard drives or we can share a file or data. For this, each user is given a small time slice of CPU time. Background processing- It means that when commands are not processed firstly, then they are executed in the background while another programs are interacting with the system in the real time.
  • 19. Operating System Structure An operating system is a construct that allows the user application programs to interact with the system hardware. Since the operating system is such a complex structure, it should be created with utmost care so it can be used and modified easily. An easy way to do this is to create the operating system in parts. Each of these parts should be well defined with clear inputs, outputs and functions.
  • 20. Simple Structure There are many operating systems that have a rather simple structure. These started as small systems and rapidly expanded much further than their scope. A common example of this is MS-DOS. It was designed simply for a niche amount for people. There was no indication that it would become so popular. It is better that operating systems have a modular structure, unlike MS-DOS. That would lead to greater control over the computer system and its various applications. The modular structure would also allow the programmers to hide information as required and implement internal routines as they see fit without changing the outer specifications.
  • 22. Layered Structure One way to achieve modularity in the operating system is the layered approach. In this, the bottom layer is the hardware and the topmost layer is the user interface. As seen from the image, each upper layer is built on the bottom layer. All the layers hide some structures, operations etc from their upper layers. One problem with the layered structure is that each layer needs to be carefully defined. This is necessary because the upper layers can only use the functionalities of the layers below them.
  • 24. The Operating System as a Resource Manager • Internally an Operating System acts as a manager of resources of the computer system such as processor, memory, files, and I/O device. • In this role, the operating system keeps track of the status of each resource, and decides who gets a resource, for how long and when. • In system that supports concurrent execution of program, the operating system resolves conflicting requests for resources in manner that preserves system integrity, and in doing so attempts to optimize the resulting performance.
  • 25. Operating System Definition • OS is the one program running all times on the computer. • Kernel: running all the time; having most of the functionality • Everything else: either a system program or an application program 25 system programs (Some application programs) OS CD kernel System programs: programs that are associated with the operating system + you can install other applications