0% found this document useful (0 votes)
31 views

Operating System - Demo

An operating system is software that manages computer hardware resources and provides common services to computer programs. It performs functions like memory management, processor management, device management, file management, and security. Operating systems can be single-user/single-tasking, single-user/multitasking, or multi-user/multitasking. They provide services to users and programs like program execution, I/O operations, file manipulation, communication, and error detection. Key properties of operating systems include multitasking, multiprogramming, and multithreading.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Operating System - Demo

An operating system is software that manages computer hardware resources and provides common services to computer programs. It performs functions like memory management, processor management, device management, file management, and security. Operating systems can be single-user/single-tasking, single-user/multitasking, or multi-user/multitasking. They provide services to users and programs like program execution, I/O operations, file manipulation, communication, and error detection. Key properties of operating systems include multitasking, multiprogramming, and multithreading.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

OPERATING SYSTEM

By ,
Harshitha.H.S
Overview:

• What is operating system?

• Functions of an operating system

• Types of operating system

• Services

• Properties
Operating System

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.
Functions of an operating System
• Memory Management
• Processor Management
• Device Management
• File Management
• Security
• Control over system performance
• Coordination between other software and users
Types of Operating System

• Single user / single Tasking O.S


• Single user / Multitasking O.S
• Multi User / Multitasking O.S
• Real Time O.S
Operating System - Services

• An Operating System provides services to both


the users and to the programs.
• It provides programs an environment to
execute.
• It provides users the services to execute the
programs in a convenient manner.
Operating System – Services
(Continues)...
Following are a few common services provided by an
operating system

• Program execution
• I/O operations
• File System manipulation
• Communication
• Error Detection
• Resource Allocation
• Protection
Operating System - Properties

• Multitasking
Multitasking is when multiple jobs are
executed by the CPU simultaneously by
switching between them. Switches occur so
frequently that the users may interact with
each program while it is running.
Operating System – Properties
(Continues)...
Multiprogramming
Sharing the processor, when two or more programs reside in
memory at the same time, is referred as Multiprogramming.
Multiprogramming assumes a single shared processor.

Advantages:-
• High and efficient CPU utilization.
• User feels that many programs are allotted to CPU almost
simultaneously.

Disadvantages:-
• CPU scheduling is required.
• To accommodate many jobs in memory, memory management is
required
Operating System - Multithreading
Multithreading is the ability of a central processing unit
(CPU) to execute multiple processes or threads
concurrently, supported by the operating system.

What is Thread?
A thread is a flow of execution through the process
code, with its own program counter that keeps track of
which instruction to execute next, system registers
which hold its current working variables, and a stack
which contains the execution history.
Advantages of Thread
• Threads minimize the context switching time.
• Use of threads provides concurrency within a
process.
• Efficient communication.
• It is more economical to create and context
switch threads.
Types of Thread

Threads are implemented in following two ways


• User Level Threads − User managed threads.
• Kernel Level Threads − Operating System
managed threads acting on kernel, an operating
system core.
Thank You All

You might also like