SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Chapter 1: Introduction
What is an Operating System?
• A program that acts as an intermediary
between a user of a computer and the
computer hardware
• Operating system goals:
▫ Execute user programs and make solving
user problems easier
▫ Make the computer system convenient to
use
▫ Use the computer hardware in an efficient
manner
Computer System Structure
• 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 – define the ways in which
the system resources are used to solve the
computing problems of the users
 Word processors, compilers, web browsers, database
systems, video games
▫ Users
 People, machines, other computers
Abstract View of Components of Computer
Advantages of OS
• Users want convenience, ease of use and good
performance
▫ Don’t care about resource utilization
▫ Operating system is a resource allocator and control
program making efficient use of HW and managing
execution of user programs
• Offers an environment in which a user may execute
programs/applications
• Mobile devices like smartphones and tables are
resource poor, optimized for usability and battery life
▫ Mobile user interfaces such as touch screens, voice
recognition
▫ Easy to use with a GUI
• 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'
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.
Operating System Definition
• “The one program running at all times on the
computer” is the kernel, part of the operating system
• Everything else is either
▫ A system program (ships with the operating system, but
not part of the kernel) , or
▫ An application program, all programs not associated
with the operating system
• Today’s OSes for general purpose and mobile
computing also include middleware – a set of software
frameworks that provide additional services to
application developers such as databases, multimedia,
graphics
Features of OS
• Protected and supervisor mode
• Allows disk access and file systems Device drivers
Networking Security
• Program Execution
• Memory management Virtual Memory Multitasking
• Handling I/O operations
• Manipulation of the file system
• Error Detection and handling
• Resource allocation
• Information and Resource Protection
Types of The Operating Systems
Simple Batch system
• Single user cannot always keep CPU and I/O devices busy
• Multiprogramming organizes jobs (code and data) so CPU
always has one to execute
• A subset of total jobs in system is kept in memory
• no direct interaction between user and the computer
• One job selected and run via job scheduling
• When job has to wait (for I/O for example), OS switches to
another job
• Advantages of Batch Operating System:
• Processors of the batch systems knows how long the job would
be when it is in queue.
• Multiple users can share the batch systems.
• The idle time batch system is very less.
• It is easy to manage large work repeatedly in batch systems
• The overall time taken by the system to execute all the
programs will be reduced.
• Disadvantages of Batch Operating System:
• The computer operators should be well known with batch
systems.
• Batch systems are hard to debug.
• The other jobs will have to wait for an unknown time if any
job fails
• Lack of interaction between user and the job
• Examples of Batch based Operating System: Payroll
System, Bank Statements
Spooling and Buffering
• In order to process tasks most efficiently, computer systems use
various methods.
• There are two ways by which Input/output subsystems can improve
the performance
• Spooling and buffering are the two ways by which I/O subsystems
improve the performance and efficiency of the computer by using a
storage space in main memory or on the disk.
• Spooling stands for Simultaneous peripheral operation online. A
spool is similar to buffer as it holds the jobs for a device until the
device is ready to accept the job.
• Buffering is an act of storing data temporarily in the buffer. It
helps in matching the speed of the data stream between the sender
and the receiver.
• The basic difference between Spooling and Buffering is that
Spooling overlaps the input/output of one job with the execution of
another job while the buffering overlaps the input/output of one job
with the execution of the same job.
Multi-programmed Systems
• In this the operating system picks up and begins to
execute one of the jobs from memory.
• Once this job needs an I/O operation operating system
switches to another job (CPU and OS always busy).
• Jobs in the memory are always less than the number of
jobs on disk (Job Pool).
• If several jobs are ready to run at the same time, then the
system chooses which one to run through the process
of CPU Scheduling.
• In Non-multiprogrammed system, there are moments
when CPU sits idle and does not do any work.
• In Multiprogramming system, CPU will never be idle and
keeps on processing.
• In multiprogramming system the CPU
utilization is more and CPU is not idle
Multitasking or Timesharing
• A logical extension of Batch systems– the CPU switches jobs so
frequently that users can interact with each job while it is
running, creating interactive computing
• more than one processes are being executed at a particular time
with the help of the time-sharing concept.
▫ Response time should be < 1 second
▫ Each user has at least one program executing in memory 
process
▫ If several jobs ready to run at the same time  CPU
scheduling
▫ If processes don’t fit in memory, swapping moves them in and
out to run
▫ Virtual memory allows execution of processes not completely
in memory
• Advantages:
• Since equal time quantum is given to each
process, so each process gets equal opportunity
to execute.
• The CPU will be busy.
• Disadvantages:
• Process having higher priority will not get the
chance to be executed first because the equal
opportunity is given to each process.
Personal computer system
• Personal computer operating system provides a good
interface to a single user.
• Personal computer operating systems are widely used for
word processing, spreadsheets and Internet access.
• Personal computer operating system are made only for
personal.
• laptops, computer systems, tablets etc. are your personal
computers and the operating system such as windows 7,
windows 10, android, etc. are your personal computer
operating system.
• Aim is to maximize user convenience and responsiveness
Distributed systems
• systems have their own CPU, main memory, secondary memory, and
resources, These are referred to as loosely coupled systems
• These systems are connected to each other using a shared communication
network.
• Each system can perform its task individually.
• Distributed Operating System has remote access i.e. one user can access the
data of the other system and can work accordingly.
• There are mainly two types of distributed systems
• 1. Client/Server Systems
• The client requests the server for a resource. On the other hand, the server
provides this resource to the client.
• One client contacts only a single server at a time. Whereas a single server
can deal with multiple clients simultaneously.
• The clients and servers connect through a computer network in the system.
• 2. Peer to Peer Systems
• In this system, the nodes play an important role.
• All the work equally divides among the nodes. Furthermore, these nodes
can share data or resources as per the requirement, they require a network
to connect.
• Nodes in peer to peer networks act as both clients and servers
• The nodes in peer to peer networks both use resources and provide
resources.
• Advantages:
• Since the systems are connected with each other so, the failure
of one system can't stop the execution of processes because
other systems can do the execution.
• Resources are shared between each other.
• The load on the host computer gets distributed and this, in
turn, increases the efficiency.
• Since resources are being shared, computation is highly fast
and durable
• Load on host computer reduces
• Disadvantages:
• Since the data is shared among all the computers, so to make
the data secure and accessible to few computers, you need to
put some extra efforts.
• If there is a problem in the communication network then the
whole communication will be broken.
Real time systems
• These types of OSs serve real-time systems. The time interval
required to process and respond to inputs is very small. This time
interval is called response time.
• Real-time systems are used when there are time requirements
that are very strict like missile systems, air traffic control systems,
robots, etc.
• Two types of Real-Time Operating System which are as
follows:
• Hard Real-Time Systems:
These OSs are meant for applications where time constraints are
very strict and even the shortest possible delay is not acceptable.
These systems are built for saving life like automatic parachutes or
airbags which are required to be readily available in case of any
accident. Virtual memory is rarely found in these systems.
• Soft Real-Time Systems:
These OSs are for applications where for time-constraint is less
strict.
The advantages of real-time operating systems are as follows-
• Maximum consumption – Maximum utilization of devices and systems.
Thus more output from all the resources.
• Task Shifting – Time assigned for shifting tasks in these systems is very
less.
• Focus On Application – Focus on running applications and less
importance to applications that are in the queue.
• Error Free – These types of systems are error-free.
• Memory Allocation – Memory allocation is best managed in these types
of systems.
The disadvantages of real-time operating systems are as follows-
• Limited Tasks – Very few tasks run simultaneously
• Use Heavy System Resources – Sometimes the system resources are
not so good and they are expensive as well.
• Complex Algorithms – The algorithms are very complex and difficult for
the designer to write on.
Operating system structure
• Simple structure:
• The interfaces and levels of functionality are not well separated. MS-DOS is
an example of such operating system
• In MS-DOS application programs are able to access the basic I/O routines.
• These types of operating system cause the entire system to crash if one of
the user programs fails.
• Easy for kernel developers to develop such an operating system.
• The structure is very complicated as no clear boundaries exists between
modules.
• It does not enforce data hiding
in the operating
• Layered structure:
• structure the OS is broken into number of layers (levels).
• The bottom layer (layer 0) is the hardware and the topmost layer (layer N)
is the user interface.
• These layers are so designed that each layer uses the functions of the lower
level layers only.
• This simplifies the debugging process
• The main disadvantage of this
structure is that at each layer, the
data needs to be modified and passed on
which adds overhead to the system.
• It requires careful planning for designing the
layers as higher layers use the functionalities of only
the lower layers.
• UNIX is an example of this structure.
Microkernels
• This structures the operating system by removing all nonessential portions of
the kernel and implementing them as system and user level programs.
• Generally they provide minimal process and memory management, and a
communications facility.
• Communication between components of the OS is provided by message
passing.
• The microkernel also provides more security and reliability.
• Main disadvantage is poor performance due to increased system overhead
from message passing.
Operating system services
• User Interfaces - Means by which users can issue commands to the system.
Depending on the system these may be a command-line interface ( e.g. sh, csh, ksh,
tcsh, etc. ), a GUI interface ( e.g. Windows, X-Windows, KDE, Gnome, etc. ), or a
batch command systems
• Program Execution - The OS must be able to load a program into RAM, run the
program, and terminate the program, either normally or abnormally.
• I/O Operations - The OS is responsible for transferring data to and from I/O
devices, including keyboards, terminals, printers, and storage devices.
• File-System Manipulation - In addition to raw data storage, the OS is also
responsible for maintaining directory and subdirectory structures
• Communications - Inter-process communications, IPC, either between processes
running on the same processor, or between processes running on separate processors
or separate machines.
• Error Detection - Both hardware and software errors must be detected and
handled appropriately, with a minimum of harmful repercussions.
• Resource Allocation - E.g. CPU cycles, main memory, storage space, and
peripheral devices.
• Accounting - Keeping track of system activity and resource usage.
• Protection and Security - Preventing harm to the system and to resources, either
through wayward internal processes or malicious outsiders.
System call
• The interface between a process and an operating system is
provided by system calls.
• System calls are usually made when a process in user mode requires
access to a resource. Then it requests the kernel to provide the
resource via a system call.
• The processes execute normally in the user mode until a
system call interrupts this. Then the system call is executed on
a priority basis in the kernel mode. After the execution of the
system call, the control returns to the user mode and
execution of user processes can be resumed.
• In general, system calls are required in the following
situations −
• If a file system requires the creation or deletion of files.
Reading and writing from files also require a system call.
• Creation and management of new processes.
• Network connections also require system calls. This includes
sending and receiving packets.
• Access to a hardware devices such as a printer, scanner etc.
requires a system call.
Types of System Calls
• Process Control
• These system calls deal with processes such as process creation,
process termination etc.
• File Management
• These system calls are responsible for file manipulation such as
creating a file, reading a file, writing into a file etc.
• Device Management
• These system calls are responsible for device manipulation such as
reading from device buffers, writing into device buffers etc.
• Information Maintenance
• These system calls handle information and its transfer between the
operating system and the user program.
• Communication
• These system calls are useful for interprocess communication. They
also deal with creating and deleting a communication connection.
System Programs
• System programs provide OS functionality
through separate applications, which are not part
of the kernel or command interpreters
• File Management: File management is defined as the process of
manipulating files in the computer system, its management includes the
process of creating, modifying and deleting files.
• Status Information –
Information like date, time amount of available memory, or disk space .
Terminal or other output devices or files or a window of GUI is used for
showing the output of programs.
• File Modification –
For modifying the contents of files
• Programming-Language support –
For common programming languages, we use Compilers, Assemblers,
Debuggers, and interpreters which are already provided to users.
• Program Loading and Execution –
When the program is ready after Assembling and compilation, it must be
loaded into memory for execution. A loader is part of an operating system
that is responsible for loading programs and libraries.
• Communications –
Virtual connections among processes, users, and computer systems are
provided by programs. Users can send messages to another user on their
screen, User can send e-mail, browsing on web pages

Weitere ähnliche Inhalte

Was ist angesagt?

Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of compgaurav jain
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - IntroductionCĂŠsar de Souza
 
Unit 1 Computer organization and Instructions
Unit 1 Computer organization and InstructionsUnit 1 Computer organization and Instructions
Unit 1 Computer organization and InstructionsBalaji Vignesh
 
Computer organisation -morris mano
Computer organisation  -morris manoComputer organisation  -morris mano
Computer organisation -morris manovishnu murthy
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersappasami
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer ArchitectureVolodymyr Ushenko
 
Overview of Computer Architecture and Organization
Overview of Computer Architecture and OrganizationOverview of Computer Architecture and Organization
Overview of Computer Architecture and OrganizationVinit Raut
 
hierarchical bus system
 hierarchical bus system hierarchical bus system
hierarchical bus systemElvis Jonyo
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computerSHIKHA GAUTAM
 
Computer organuzaton & architecture
Computer organuzaton & architectureComputer organuzaton & architecture
Computer organuzaton & architectureSubhankar Bisoyi
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slidesiarthur
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecturektosri
 
Coa module1
Coa module1Coa module1
Coa module1cs19club
 

Was ist angesagt? (20)

Cao u1
Cao u1Cao u1
Cao u1
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of comp
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - Introduction
 
Unit 1 Computer organization and Instructions
Unit 1 Computer organization and InstructionsUnit 1 Computer organization and Instructions
Unit 1 Computer organization and Instructions
 
Ch8
Ch8Ch8
Ch8
 
Computer organisation -morris mano
Computer organisation  -morris manoComputer organisation  -morris mano
Computer organisation -morris mano
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
 
Lecture1 - Computer Architecture
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer Architecture
 
Overview of Computer Architecture and Organization
Overview of Computer Architecture and OrganizationOverview of Computer Architecture and Organization
Overview of Computer Architecture and Organization
 
hierarchical bus system
 hierarchical bus system hierarchical bus system
hierarchical bus system
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Basic computer system
Basic computer systemBasic computer system
Basic computer system
 
Basic computer architecture
Basic computer architectureBasic computer architecture
Basic computer architecture
 
Computer organuzaton & architecture
Computer organuzaton & architectureComputer organuzaton & architecture
Computer organuzaton & architecture
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slides
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
 
Coa module1
Coa module1Coa module1
Coa module1
 

Ähnlich wie Os ch1

Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and typesPrakash Sir
 
Unit I OS.pdf
Unit I OS.pdfUnit I OS.pdf
Unit I OS.pdfUmaYadav45
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsssuser6aef00
 
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptxUNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptxLeahRachael
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system conceptsArnav Chowdhury
 
OperatingSystemFeature.pptx
OperatingSystemFeature.pptxOperatingSystemFeature.pptx
OperatingSystemFeature.pptxCharuJain396881
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxakhilagajjala
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and WindowsYasirKhan357
 
Evolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxEvolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxssuser000e54
 
1 Introduction to OS.ppt
1 Introduction to OS.ppt1 Introduction to OS.ppt
1 Introduction to OS.pptKumarVaibhav100
 
Operating system
Operating systemOperating system
Operating systemSonika koul
 
Operating System
Operating SystemOperating System
Operating SystemEsraa Muhammad
 
Operating System-Types-Examples-Advantages & disadvantages
Operating System-Types-Examples-Advantages & disadvantagesOperating System-Types-Examples-Advantages & disadvantages
Operating System-Types-Examples-Advantages & disadvantagesOPTOM Nimra Murtaza
 

Ähnlich wie Os ch1 (20)

Introduction of os and types
Introduction of os and typesIntroduction of os and types
Introduction of os and types
 
Unit I OS.pdf
Unit I OS.pdfUnit I OS.pdf
Unit I OS.pdf
 
os unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systemsos unit 1 (2).pptx. introduction to operating systems
os unit 1 (2).pptx. introduction to operating systems
 
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptxUNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
UNIT 1 - UNDERSTANDINGTHE PRINCIPLES OF OPERATING SYSTEM.pptx
 
1. Introduction to OS.ppt
1. Introduction to OS.ppt1. Introduction to OS.ppt
1. Introduction to OS.ppt
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system concepts
 
OperatingSystemFeature.pptx
OperatingSystemFeature.pptxOperatingSystemFeature.pptx
OperatingSystemFeature.pptx
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Operating System
Operating SystemOperating System
Operating System
 
Operating System
Operating SystemOperating System
Operating System
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
 
Evolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptxEvolution, Strutcture and Operations.pptx
Evolution, Strutcture and Operations.pptx
 
1 Introduction to OS.ppt
1 Introduction to OS.ppt1 Introduction to OS.ppt
1 Introduction to OS.ppt
 
Operating system
Operating systemOperating system
Operating system
 
Operating System
Operating SystemOperating System
Operating System
 
Os notes 1_5
Os notes 1_5Os notes 1_5
Os notes 1_5
 
Os concepts
Os conceptsOs concepts
Os concepts
 
ch1.ppt
ch1.pptch1.ppt
ch1.ppt
 
Operating System-Types-Examples-Advantages & disadvantages
Operating System-Types-Examples-Advantages & disadvantagesOperating System-Types-Examples-Advantages & disadvantages
Operating System-Types-Examples-Advantages & disadvantages
 

Mehr von DevaKumari Vijay

Unit 2 monte carlo simulation
Unit 2 monte carlo simulationUnit 2 monte carlo simulation
Unit 2 monte carlo simulationDevaKumari Vijay
 
Decisiontree&amp;game theory
Decisiontree&amp;game theoryDecisiontree&amp;game theory
Decisiontree&amp;game theoryDevaKumari Vijay
 
Unit2 network optimization
Unit2 network optimizationUnit2 network optimization
Unit2 network optimizationDevaKumari Vijay
 
Unit 4 simulation and queing theory(m/m/1)
Unit 4  simulation and queing theory(m/m/1)Unit 4  simulation and queing theory(m/m/1)
Unit 4 simulation and queing theory(m/m/1)DevaKumari Vijay
 
Unit4 systemdynamics
Unit4 systemdynamicsUnit4 systemdynamics
Unit4 systemdynamicsDevaKumari Vijay
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulationDevaKumari Vijay
 
Unit2 montecarlosimulation
Unit2 montecarlosimulationUnit2 montecarlosimulation
Unit2 montecarlosimulationDevaKumari Vijay
 
Unit 3-Greedy Method
Unit 3-Greedy MethodUnit 3-Greedy Method
Unit 3-Greedy MethodDevaKumari Vijay
 
Unit 4 exceptions and threads
Unit 4 exceptions and threadsUnit 4 exceptions and threads
Unit 4 exceptions and threadsDevaKumari Vijay
 
Unit3 part3-packages and interfaces
Unit3 part3-packages and interfacesUnit3 part3-packages and interfaces
Unit3 part3-packages and interfacesDevaKumari Vijay
 
Unit3 part2-inheritance
Unit3 part2-inheritanceUnit3 part2-inheritance
Unit3 part2-inheritanceDevaKumari Vijay
 
Unit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arraysUnit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arraysDevaKumari Vijay
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to JavaDevaKumari Vijay
 
Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithmIntroduction to design and analysis of algorithm
Introduction to design and analysis of algorithmDevaKumari Vijay
 
Operations research lpp
Operations research lppOperations research lpp
Operations research lppDevaKumari Vijay
 

Mehr von DevaKumari Vijay (20)

Unit2
Unit2Unit2
Unit2
 
Unit 1
Unit 1Unit 1
Unit 1
 
Unit 2 monte carlo simulation
Unit 2 monte carlo simulationUnit 2 monte carlo simulation
Unit 2 monte carlo simulation
 
Decisiontree&amp;game theory
Decisiontree&amp;game theoryDecisiontree&amp;game theory
Decisiontree&amp;game theory
 
Unit2 network optimization
Unit2 network optimizationUnit2 network optimization
Unit2 network optimization
 
Unit 4 simulation and queing theory(m/m/1)
Unit 4  simulation and queing theory(m/m/1)Unit 4  simulation and queing theory(m/m/1)
Unit 4 simulation and queing theory(m/m/1)
 
Unit4 systemdynamics
Unit4 systemdynamicsUnit4 systemdynamics
Unit4 systemdynamics
 
Unit 3 des
Unit 3 desUnit 3 des
Unit 3 des
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulation
 
Unit2 montecarlosimulation
Unit2 montecarlosimulationUnit2 montecarlosimulation
Unit2 montecarlosimulation
 
Unit 3-Greedy Method
Unit 3-Greedy MethodUnit 3-Greedy Method
Unit 3-Greedy Method
 
Unit 5 java-awt (1)
Unit 5 java-awt (1)Unit 5 java-awt (1)
Unit 5 java-awt (1)
 
Unit 4 exceptions and threads
Unit 4 exceptions and threadsUnit 4 exceptions and threads
Unit 4 exceptions and threads
 
Unit3 part3-packages and interfaces
Unit3 part3-packages and interfacesUnit3 part3-packages and interfaces
Unit3 part3-packages and interfaces
 
Unit3 part2-inheritance
Unit3 part2-inheritanceUnit3 part2-inheritance
Unit3 part2-inheritance
 
Unit3 part1-class
Unit3 part1-classUnit3 part1-class
Unit3 part1-class
 
Unit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arraysUnit 2-data types,Variables,Operators,Conitionals,loops and arrays
Unit 2-data types,Variables,Operators,Conitionals,loops and arrays
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
 
Introduction to design and analysis of algorithm
Introduction to design and analysis of algorithmIntroduction to design and analysis of algorithm
Introduction to design and analysis of algorithm
 
Operations research lpp
Operations research lppOperations research lpp
Operations research lpp
 

KĂźrzlich hochgeladen

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 

KĂźrzlich hochgeladen (20)

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPSÂŽ Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

Os ch1

  • 2. What is an Operating System? • A program that acts as an intermediary between a user of a computer and the computer hardware • Operating system goals: ▫ Execute user programs and make solving user problems easier ▫ Make the computer system convenient to use ▫ Use the computer hardware in an efficient manner
  • 3. Computer System Structure • 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 – define the ways in which the system resources are used to solve the computing problems of the users  Word processors, compilers, web browsers, database systems, video games ▫ Users  People, machines, other computers
  • 4. Abstract View of Components of Computer
  • 5. Advantages of OS • Users want convenience, ease of use and good performance ▫ Don’t care about resource utilization ▫ Operating system is a resource allocator and control program making efficient use of HW and managing execution of user programs • Offers an environment in which a user may execute programs/applications • Mobile devices like smartphones and tables are resource poor, optimized for usability and battery life ▫ Mobile user interfaces such as touch screens, voice recognition ▫ Easy to use with a GUI • 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'
  • 6. 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.
  • 7. Operating System Definition • “The one program running at all times on the computer” is the kernel, part of the operating system • Everything else is either ▫ A system program (ships with the operating system, but not part of the kernel) , or ▫ An application program, all programs not associated with the operating system • Today’s OSes for general purpose and mobile computing also include middleware – a set of software frameworks that provide additional services to application developers such as databases, multimedia, graphics
  • 8. Features of OS • Protected and supervisor mode • Allows disk access and file systems Device drivers Networking Security • Program Execution • Memory management Virtual Memory Multitasking • Handling I/O operations • Manipulation of the file system • Error Detection and handling • Resource allocation • Information and Resource Protection
  • 9. Types of The Operating Systems
  • 10. Simple Batch system • Single user cannot always keep CPU and I/O devices busy • Multiprogramming organizes jobs (code and data) so CPU always has one to execute • A subset of total jobs in system is kept in memory • no direct interaction between user and the computer • One job selected and run via job scheduling • When job has to wait (for I/O for example), OS switches to another job
  • 11. • Advantages of Batch Operating System: • Processors of the batch systems knows how long the job would be when it is in queue. • Multiple users can share the batch systems. • The idle time batch system is very less. • It is easy to manage large work repeatedly in batch systems • The overall time taken by the system to execute all the programs will be reduced. • Disadvantages of Batch Operating System: • The computer operators should be well known with batch systems. • Batch systems are hard to debug. • The other jobs will have to wait for an unknown time if any job fails • Lack of interaction between user and the job • Examples of Batch based Operating System: Payroll System, Bank Statements
  • 12. Spooling and Buffering • In order to process tasks most efficiently, computer systems use various methods. • There are two ways by which Input/output subsystems can improve the performance • Spooling and buffering are the two ways by which I/O subsystems improve the performance and efficiency of the computer by using a storage space in main memory or on the disk. • Spooling stands for Simultaneous peripheral operation online. A spool is similar to buffer as it holds the jobs for a device until the device is ready to accept the job. • Buffering is an act of storing data temporarily in the buffer. It helps in matching the speed of the data stream between the sender and the receiver. • The basic difference between Spooling and Buffering is that Spooling overlaps the input/output of one job with the execution of another job while the buffering overlaps the input/output of one job with the execution of the same job.
  • 13. Multi-programmed Systems • In this the operating system picks up and begins to execute one of the jobs from memory. • Once this job needs an I/O operation operating system switches to another job (CPU and OS always busy). • Jobs in the memory are always less than the number of jobs on disk (Job Pool). • If several jobs are ready to run at the same time, then the system chooses which one to run through the process of CPU Scheduling. • In Non-multiprogrammed system, there are moments when CPU sits idle and does not do any work. • In Multiprogramming system, CPU will never be idle and keeps on processing. • In multiprogramming system the CPU utilization is more and CPU is not idle
  • 14. Multitasking or Timesharing • A logical extension of Batch systems– the CPU switches jobs so frequently that users can interact with each job while it is running, creating interactive computing • more than one processes are being executed at a particular time with the help of the time-sharing concept. ▫ Response time should be < 1 second ▫ Each user has at least one program executing in memory  process ▫ If several jobs ready to run at the same time  CPU scheduling ▫ If processes don’t fit in memory, swapping moves them in and out to run ▫ Virtual memory allows execution of processes not completely in memory
  • 15. • Advantages: • Since equal time quantum is given to each process, so each process gets equal opportunity to execute. • The CPU will be busy. • Disadvantages: • Process having higher priority will not get the chance to be executed first because the equal opportunity is given to each process.
  • 16. Personal computer system • Personal computer operating system provides a good interface to a single user. • Personal computer operating systems are widely used for word processing, spreadsheets and Internet access. • Personal computer operating system are made only for personal. • laptops, computer systems, tablets etc. are your personal computers and the operating system such as windows 7, windows 10, android, etc. are your personal computer operating system. • Aim is to maximize user convenience and responsiveness
  • 17. Distributed systems • systems have their own CPU, main memory, secondary memory, and resources, These are referred to as loosely coupled systems • These systems are connected to each other using a shared communication network. • Each system can perform its task individually. • Distributed Operating System has remote access i.e. one user can access the data of the other system and can work accordingly.
  • 18. • There are mainly two types of distributed systems • 1. Client/Server Systems • The client requests the server for a resource. On the other hand, the server provides this resource to the client. • One client contacts only a single server at a time. Whereas a single server can deal with multiple clients simultaneously. • The clients and servers connect through a computer network in the system. • 2. Peer to Peer Systems • In this system, the nodes play an important role. • All the work equally divides among the nodes. Furthermore, these nodes can share data or resources as per the requirement, they require a network to connect. • Nodes in peer to peer networks act as both clients and servers • The nodes in peer to peer networks both use resources and provide resources.
  • 19. • Advantages: • Since the systems are connected with each other so, the failure of one system can't stop the execution of processes because other systems can do the execution. • Resources are shared between each other. • The load on the host computer gets distributed and this, in turn, increases the efficiency. • Since resources are being shared, computation is highly fast and durable • Load on host computer reduces • Disadvantages: • Since the data is shared among all the computers, so to make the data secure and accessible to few computers, you need to put some extra efforts. • If there is a problem in the communication network then the whole communication will be broken.
  • 20. Real time systems • These types of OSs serve real-time systems. The time interval required to process and respond to inputs is very small. This time interval is called response time. • Real-time systems are used when there are time requirements that are very strict like missile systems, air traffic control systems, robots, etc. • Two types of Real-Time Operating System which are as follows: • Hard Real-Time Systems: These OSs are meant for applications where time constraints are very strict and even the shortest possible delay is not acceptable. These systems are built for saving life like automatic parachutes or airbags which are required to be readily available in case of any accident. Virtual memory is rarely found in these systems. • Soft Real-Time Systems: These OSs are for applications where for time-constraint is less strict.
  • 21. The advantages of real-time operating systems are as follows- • Maximum consumption – Maximum utilization of devices and systems. Thus more output from all the resources. • Task Shifting – Time assigned for shifting tasks in these systems is very less. • Focus On Application – Focus on running applications and less importance to applications that are in the queue. • Error Free – These types of systems are error-free. • Memory Allocation – Memory allocation is best managed in these types of systems. The disadvantages of real-time operating systems are as follows- • Limited Tasks – Very few tasks run simultaneously • Use Heavy System Resources – Sometimes the system resources are not so good and they are expensive as well. • Complex Algorithms – The algorithms are very complex and difficult for the designer to write on.
  • 22. Operating system structure • Simple structure: • The interfaces and levels of functionality are not well separated. MS-DOS is an example of such operating system • In MS-DOS application programs are able to access the basic I/O routines. • These types of operating system cause the entire system to crash if one of the user programs fails. • Easy for kernel developers to develop such an operating system. • The structure is very complicated as no clear boundaries exists between modules. • It does not enforce data hiding in the operating
  • 23. • Layered structure: • structure the OS is broken into number of layers (levels). • The bottom layer (layer 0) is the hardware and the topmost layer (layer N) is the user interface. • These layers are so designed that each layer uses the functions of the lower level layers only. • This simplifies the debugging process • The main disadvantage of this structure is that at each layer, the data needs to be modified and passed on which adds overhead to the system. • It requires careful planning for designing the layers as higher layers use the functionalities of only the lower layers. • UNIX is an example of this structure.
  • 24. Microkernels • This structures the operating system by removing all nonessential portions of the kernel and implementing them as system and user level programs. • Generally they provide minimal process and memory management, and a communications facility. • Communication between components of the OS is provided by message passing. • The microkernel also provides more security and reliability. • Main disadvantage is poor performance due to increased system overhead from message passing.
  • 26. • User Interfaces - Means by which users can issue commands to the system. Depending on the system these may be a command-line interface ( e.g. sh, csh, ksh, tcsh, etc. ), a GUI interface ( e.g. Windows, X-Windows, KDE, Gnome, etc. ), or a batch command systems • Program Execution - The OS must be able to load a program into RAM, run the program, and terminate the program, either normally or abnormally. • I/O Operations - The OS is responsible for transferring data to and from I/O devices, including keyboards, terminals, printers, and storage devices. • File-System Manipulation - In addition to raw data storage, the OS is also responsible for maintaining directory and subdirectory structures • Communications - Inter-process communications, IPC, either between processes running on the same processor, or between processes running on separate processors or separate machines. • Error Detection - Both hardware and software errors must be detected and handled appropriately, with a minimum of harmful repercussions. • Resource Allocation - E.g. CPU cycles, main memory, storage space, and peripheral devices. • Accounting - Keeping track of system activity and resource usage. • Protection and Security - Preventing harm to the system and to resources, either through wayward internal processes or malicious outsiders.
  • 27. System call • The interface between a process and an operating system is provided by system calls. • System calls are usually made when a process in user mode requires access to a resource. Then it requests the kernel to provide the resource via a system call.
  • 28. • The processes execute normally in the user mode until a system call interrupts this. Then the system call is executed on a priority basis in the kernel mode. After the execution of the system call, the control returns to the user mode and execution of user processes can be resumed. • In general, system calls are required in the following situations − • If a file system requires the creation or deletion of files. Reading and writing from files also require a system call. • Creation and management of new processes. • Network connections also require system calls. This includes sending and receiving packets. • Access to a hardware devices such as a printer, scanner etc. requires a system call.
  • 29. Types of System Calls • Process Control • These system calls deal with processes such as process creation, process termination etc. • File Management • These system calls are responsible for file manipulation such as creating a file, reading a file, writing into a file etc. • Device Management • These system calls are responsible for device manipulation such as reading from device buffers, writing into device buffers etc. • Information Maintenance • These system calls handle information and its transfer between the operating system and the user program. • Communication • These system calls are useful for interprocess communication. They also deal with creating and deleting a communication connection.
  • 30. System Programs • System programs provide OS functionality through separate applications, which are not part of the kernel or command interpreters
  • 31. • File Management: File management is defined as the process of manipulating files in the computer system, its management includes the process of creating, modifying and deleting files. • Status Information – Information like date, time amount of available memory, or disk space . Terminal or other output devices or files or a window of GUI is used for showing the output of programs. • File Modification – For modifying the contents of files • Programming-Language support – For common programming languages, we use Compilers, Assemblers, Debuggers, and interpreters which are already provided to users. • Program Loading and Execution – When the program is ready after Assembling and compilation, it must be loaded into memory for execution. A loader is part of an operating system that is responsible for loading programs and libraries. • Communications – Virtual connections among processes, users, and computer systems are provided by programs. Users can send messages to another user on their screen, User can send e-mail, browsing on web pages