SlideShare a Scribd company logo
1 of 12
WHAT IS MULTITASKING? - is a method by which multiple tasks, also known as processes, share common processing resources such as a CPU. In the case of a computer with a single CPU, only one task is said to be running at any point in time, meaning that the CPU is actively executing instructions for that task 	-solves problems by scheduling which task may be the one running at any given time, and when another waiting task gets a turn. The act of reassigning a CPU from one task to another one is called a context switch. iPhone multitasking
Operating systems may adopt one of many different scheduling strategies, which generally fall into the following categories: ,[object Object]
In time-sharing systems, the running task is required to relinquish the CPU, either voluntarily or by an external event such as a hardware interrupt. Time sharing systems are designed to allow several programs to execute apparently simultaneously. The expression 'time sharing' was usually used to designate computers shared by interactive users at terminals, such as IBM's TSO, and VM/CMS
In real-time systems, some waiting tasks are guaranteed to be given the CPU when an external event occurs. Real time systems are designed to control mechanical devices such as industrial robots, which require timely processing.,[object Object]
Cooperative multitasking/time-sharing ,[object Object]
 A cooperatively multitasked system relies on each process regularly giving up time to other processes on the system, one poorly designed program can consume all of the CPU time for itself or cause the whole system to hang. In a server environment, this is a hazard that makes the network brittle and fragile. All software must be evaluated and cleared for use in a test environment before being installed on the main server, or the entire network either slows down or comes to a halt when a program on the server misbehaves. Despite the difficulty of designing and implementing cooperatively multitasked systems, time-constrained, real-time embedded systems (such as spacecraft) are often implemented using this paradigm. This allows highly reliable, deterministic control of complex real time sequences, for instance, the firing thrusters for deep space course corrections.,[object Object]
The earliest preemptive multitasking OS available to home users was Sinclair QDOS on the Sinclair QL, released in 1984. The Commodore Amiga 1000 released in 1985 (demonstrated by Debbie Harry and Andy Warhol at its unveiling) made use of a preemptive multitasking kernel that performed the circus act without a net (MMU) while managing a coprocessor that could process 80 instructions per scan line — no other computer on the market could touch it at the time, which was the sole reason the NewTek Video Toaster was developed to make use of its features.	 Microsoft made preemptive multitasking a core feature of their flagship operating system when developing Windows NT 3.1 and Windows 95. It was later adopted on the Apple Macintosh by Mac OS 9.x  as an additional API, i.e. the application could be programmed to use the preemptive or cooperative model, and all legacy applications were multitasked cooperatively within a single process. Mac OS X, being a Unix-like system, uses preemptive multitasking for all native applications, although Classic applications are multitasked cooperatively in a Mac OS 9 environment that itself is running as an OS X process (and is subject to preemption like any other OS X process).
Real time       Another reason for multitasking was in the design of real-time computing systems, where there are a number of possibly unrelated external activities needed to be controlled by a single processor system. In such systems a hierarchical interrupt system was coupled with process prioritization to ensure that key activities were given a greater share of available process time.
Example of Multitasking MultiFinder In computer science, is a version of the Apple Macintosh that provides support for multitasking. It allows multiple application to be simultaneously resident in memory. A single mouse click switches between applications, and information from one application can be copied to another.
Advantages of Multitasking -To the user, the advantage of multitasking is the ability to have several applications open and working at the same time. For example, a user can edit a file with one application while another application is recalculating a spreadsheet. 		-To the application developer, the advantage of multitasking is the ability to create applications that use more than one process and to create processes that use more than one thread of execution. For example, a process can have a user interface thread that manages interactions with the user (keyboard and mouse input), and worker threads that perform other tasks while the user interface thread waits for user input. If you give the user interface thread a higher priority, the application will be more responsive to the user, while the worker threads use the processor efficiently during the times when there is no user input.  
Disadvantages of Multitasking ,[object Object]
Due to several programs that the computer needs to process, there is a high tendency that computer performance would be affected. It might encounter buffering and processing speed may slow down.,[object Object]

More Related Content

What's hot (20)

Random Access Memory ppt
Random Access Memory pptRandom Access Memory ppt
Random Access Memory ppt
 
Computer architecture
Computer architecture Computer architecture
Computer architecture
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 
Linux scheduling and input and output
Linux scheduling and input and outputLinux scheduling and input and output
Linux scheduling and input and output
 
Operating system
Operating systemOperating system
Operating system
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentation
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentals
 
Operating system presentation
Operating system presentationOperating system presentation
Operating system presentation
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Operating system basics
Operating system basicsOperating system basics
Operating system basics
 
Hardware multithreading
Hardware multithreadingHardware multithreading
Hardware multithreading
 
Kernel. Operating System
Kernel. Operating SystemKernel. Operating System
Kernel. Operating System
 
Operating System
Operating SystemOperating System
Operating System
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating System
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Os ppt
Os pptOs ppt
Os ppt
 
Types Of Operating Systems
Types Of Operating SystemsTypes Of Operating Systems
Types Of Operating Systems
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 

Viewers also liked

Basic Computer Operation
Basic Computer OperationBasic Computer Operation
Basic Computer Operationcristy nazareno
 
Introducing SAMSUNG GALAXY Note 10.1
Introducing SAMSUNG GALAXY Note 10.1Introducing SAMSUNG GALAXY Note 10.1
Introducing SAMSUNG GALAXY Note 10.1JJ Wu
 
Does multi-tasking increase productivity?
Does multi-tasking increase productivity?Does multi-tasking increase productivity?
Does multi-tasking increase productivity?wfoneil
 
Introduction to windows
Introduction to windowsIntroduction to windows
Introduction to windowsMukund Trivedi
 
Ch 9 types of computer operations
Ch 9 types of computer operationsCh 9 types of computer operations
Ch 9 types of computer operationsKhan Yousafzai
 
09.1 types of computer operation
09.1   types of computer operation09.1   types of computer operation
09.1 types of computer operationKhan Yousafzai
 

Viewers also liked (7)

Basic Computer Operation
Basic Computer OperationBasic Computer Operation
Basic Computer Operation
 
Introducing SAMSUNG GALAXY Note 10.1
Introducing SAMSUNG GALAXY Note 10.1Introducing SAMSUNG GALAXY Note 10.1
Introducing SAMSUNG GALAXY Note 10.1
 
Does multi-tasking increase productivity?
Does multi-tasking increase productivity?Does multi-tasking increase productivity?
Does multi-tasking increase productivity?
 
Multitasking
MultitaskingMultitasking
Multitasking
 
Introduction to windows
Introduction to windowsIntroduction to windows
Introduction to windows
 
Ch 9 types of computer operations
Ch 9 types of computer operationsCh 9 types of computer operations
Ch 9 types of computer operations
 
09.1 types of computer operation
09.1   types of computer operation09.1   types of computer operation
09.1 types of computer operation
 

Similar to Multitasking

MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxArjayBalberan1
 
chapter 1 intoduction to operating system
chapter 1 intoduction to operating systemchapter 1 intoduction to operating system
chapter 1 intoduction to operating systemSiddhi Viradiya
 
computer notes - Introduction to operating system
computer notes - Introduction to operating systemcomputer notes - Introduction to operating system
computer notes - Introduction to operating systemecomputernotes
 
Operating system 2
Operating system 2Operating system 2
Operating system 2matsapit
 
Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdfOmid695066
 
Operating systems
Operating systemsOperating systems
Operating systemsoswaldm80
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsachal02
 
Types or evolution of operating system
Types or evolution of operating systemTypes or evolution of operating system
Types or evolution of operating systemEkta Bafna
 
ITT project ON types of operating system
ITT project ON types of operating systemITT project ON types of operating system
ITT project ON types of operating systemJiohj Etzs
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxUttara University
 
Fundamentals of operating system
Fundamentals of operating systemFundamentals of operating system
Fundamentals of operating systemJayesh Chauhan
 
Operating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - EngineeringOperating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - EngineeringYogesh Santhan
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture NotesFellowBuddy.com
 

Similar to Multitasking (20)

os ass.pptx
os ass.pptxos ass.pptx
os ass.pptx
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
chapter 1 intoduction to operating system
chapter 1 intoduction to operating systemchapter 1 intoduction to operating system
chapter 1 intoduction to operating system
 
computer notes - Introduction to operating system
computer notes - Introduction to operating systemcomputer notes - Introduction to operating system
computer notes - Introduction to operating system
 
Operating system
Operating systemOperating system
Operating system
 
Os unit 1
Os unit 1Os unit 1
Os unit 1
 
Operating system 2
Operating system 2Operating system 2
Operating system 2
 
intro to OS
intro to OSintro to OS
intro to OS
 
Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdf
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Unit v
Unit vUnit v
Unit v
 
Types or evolution of operating system
Types or evolution of operating systemTypes or evolution of operating system
Types or evolution of operating system
 
ITT project ON types of operating system
ITT project ON types of operating systemITT project ON types of operating system
ITT project ON types of operating system
 
Os by nishant raghav
Os by nishant raghavOs by nishant raghav
Os by nishant raghav
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
Fundamentals of operating system
Fundamentals of operating systemFundamentals of operating system
Fundamentals of operating system
 
Operating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - EngineeringOperating Systems Unit One - Fourth Semester - Engineering
Operating Systems Unit One - Fourth Semester - Engineering
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Os notes
Os notesOs notes
Os notes
 

Multitasking

  • 1. WHAT IS MULTITASKING? - is a method by which multiple tasks, also known as processes, share common processing resources such as a CPU. In the case of a computer with a single CPU, only one task is said to be running at any point in time, meaning that the CPU is actively executing instructions for that task -solves problems by scheduling which task may be the one running at any given time, and when another waiting task gets a turn. The act of reassigning a CPU from one task to another one is called a context switch. iPhone multitasking
  • 2.
  • 3. In time-sharing systems, the running task is required to relinquish the CPU, either voluntarily or by an external event such as a hardware interrupt. Time sharing systems are designed to allow several programs to execute apparently simultaneously. The expression 'time sharing' was usually used to designate computers shared by interactive users at terminals, such as IBM's TSO, and VM/CMS
  • 4.
  • 5.
  • 6.
  • 7. The earliest preemptive multitasking OS available to home users was Sinclair QDOS on the Sinclair QL, released in 1984. The Commodore Amiga 1000 released in 1985 (demonstrated by Debbie Harry and Andy Warhol at its unveiling) made use of a preemptive multitasking kernel that performed the circus act without a net (MMU) while managing a coprocessor that could process 80 instructions per scan line — no other computer on the market could touch it at the time, which was the sole reason the NewTek Video Toaster was developed to make use of its features.  Microsoft made preemptive multitasking a core feature of their flagship operating system when developing Windows NT 3.1 and Windows 95. It was later adopted on the Apple Macintosh by Mac OS 9.x  as an additional API, i.e. the application could be programmed to use the preemptive or cooperative model, and all legacy applications were multitasked cooperatively within a single process. Mac OS X, being a Unix-like system, uses preemptive multitasking for all native applications, although Classic applications are multitasked cooperatively in a Mac OS 9 environment that itself is running as an OS X process (and is subject to preemption like any other OS X process).
  • 8. Real time Another reason for multitasking was in the design of real-time computing systems, where there are a number of possibly unrelated external activities needed to be controlled by a single processor system. In such systems a hierarchical interrupt system was coupled with process prioritization to ensure that key activities were given a greater share of available process time.
  • 9. Example of Multitasking MultiFinder In computer science, is a version of the Apple Macintosh that provides support for multitasking. It allows multiple application to be simultaneously resident in memory. A single mouse click switches between applications, and information from one application can be copied to another.
  • 10. Advantages of Multitasking -To the user, the advantage of multitasking is the ability to have several applications open and working at the same time. For example, a user can edit a file with one application while another application is recalculating a spreadsheet. -To the application developer, the advantage of multitasking is the ability to create applications that use more than one process and to create processes that use more than one thread of execution. For example, a process can have a user interface thread that manages interactions with the user (keyboard and mouse input), and worker threads that perform other tasks while the user interface thread waits for user input. If you give the user interface thread a higher priority, the application will be more responsive to the user, while the worker threads use the processor efficiently during the times when there is no user input.  
  • 11.
  • 12.
  • 13. Project in TLE Prepared by: LiezlAlo Bret John Darato Of III-Dalton