SlideShare une entreprise Scribd logo
1  sur  23
TITLE: MULTI-PROGRAMMING/MULTI-TASKING
DONE BY:
KAVINAYA.J
HARIHARAN.M
SATHYANARAYAN
Table of content
1. Introduction to multi-programming and multi-
tasking
10. Working process of multi-tasking
2. What is multi-programming 11. Activities related to multi-tasking
3. Working process of multi-programming 12. Types of multi-tasking
4. Components of multi-programming 13. Characteristics of a Multi-Tasking
5. Examples of multi-programming 14. Examples of multitasking
6. Advantages of multi-programming 15. Advantages of multi-tasking
7. Disadvantages of multi-programming 16. Disadvantages of multi-tasking
8. What is multi-tasking 17. Comparison between multi-tasking and multi-
programming
9. Then vs Now 18. Reference
MULTI-PROGRAMMING:
Multiprogramming means executing more than one program. When one program
is waiting for I/O transfer, another program is executed on the CPU. In this way, the
computer is able to handle multiple tasks or programs simultaneously. Hence,
multiprogramming is also known as multi-tasking.
MULTITASKING:
Multitasking Operating System provides the interface for executing the multiple
program tasks by single user at a same time on one computer system. The term
multitasking, when paired with an operating system, refers to the users being allowed to
accomplish more than one computative task, for instance: allowing the user to perform
more than one task on an application program at a given time.
 To overcome the problem of under utilization of cpu and main memory that why
multi-programming introduced.
 Multi-programming operating system that execute more than one jobs using
single processor computer.
 Only one program at a time is able to execute at the cpu for execution.
 If program has to wait for an input & output transfer, then other jobs utilize the
cpu.
 The primary components of multi-programming are processor, file system,
input & output control system and transient area.
• In this picture Job A ,Job B and
Job c present in the main memory
the os take one job and executing
it.
• Job a requires input & output
operation, then os simply switch
over to job B
• If job B requires input & output
then it again it switch to job C.
• If there is no jobs after job C the
cpu will pass it control back to
previous job.
Working process
 processor
 File system
 Input & output control system
 Transient area
 User can use ms-word, download apps, transfer data form one point to another
point and more at a same time.
 Windows operating system.
 Unix operating system.
Multi-tasking
A multitasking operating system
is capable of executing several
programs simultaneously.
Multi-user
A multi-user operating enables several
users to share processing time on one
powerful central computer throung
different terminals.
 To increases cpu utilization and it never gets idel.
 Resources are utilized smartly.
 Less response time.
 Shorts time jobs are done fastest compare to long time jobs.
 It hep to run various jobs in a single application simultaneously.
 Various users may use the multi-programming system at once.
 It helps to optimize the total job throughput of the computer.
 Cpu scheduling is needed.
 Memory management is required because all type of jobs are stored in the main
memory.
 It contain massive load of jobs then its long time jobs have to need long
waiting time.
 It is highly complex.
 It is highly sophisticated.
 Multi-tasking term used in a modern computer system.
 It is also known as time sharing operating system.
 It is logical extension of a multiprogramming system that execution of multiple
program simultaneously.
 It allow a user to perform more than one computer task simultaneously.
 For example, any editing task can be performed while other program are
executing.
 User can open gmail and power point at same time.
 Multiple tasks are also known as processes that share similar processing
resources like a cpu.
Then
 Multitasking of Microsoft Windows 1.01
released in 1985, here shown running the MS-
DOS Executive and Calculator programs
Now
 Modern desktop operating systems are
capable of handling large numbers of different
processes at the same time. This screenshot
shows Linux Mint running simultaneously Xfce
desktop environment, Firefox, a calculator
program, the built-in calendar, Vim, GIMP, and
VLC media player.
Ms word music chrome
Operating system
Cpu
 Processes are assigned specific
quantum of time
 Example lets assign time quantum is 4
nano seconds so cpu can execute first
process for 4 nano seconds
 Then move to next process which also
will be execute 4 nano second.
 Time quantum is the period of time for
which a process is allowed to run.
 Multi-tasking operating system
switching so fast like all process are
running parallel.
 So user can able to work on multiple
program
 Initially the user will give instructions to the operating system or to a
program/application directly, and they will receive an immediate response.
 To display this quick response, the operating system handles multitasking by
“slicing” some of the processors operating capability to that program.
Preemptive
 Preemptive multitasking is special
task that is assigned to computer.
 It take decision that how much time
spent by one task before assigning
other task
 Operating system has control for
completing this entire process so it is
known as preemptive
cooperative multitasking
 Cooperative multitasking Is known
as non-preemptive multitasking.
 Main goal of cooperative
multitasking is to run task and to
release the cpu to allow another task
run.
 This task is performed by calling
taskyield().
 Context switch is executed when this
function is called.
 Context Switch
 Hardware Interruption
 Time-Sharing
 Real-time
 Multithreading
 Multiprocessing
 Memory swap & Multitask operating systems utilise the use of memory swapping
 Memory Protection
 Windows Xp
 Windows 7
 Windows 8
 Windows 10
 Windows 2000
 Ibm os/390
 Linux
 unix
 Time shareable:
 All tasks are allocate specific piece of time so they do not need for waiting time.
 Manage several users : this operating system is more comfort for handling the multiple
users concurrently and several programs can run smoothly.
 Secured memory: Multitasking operating system has well defined memory management
because this operating system does not provide any type of permission of unwanted
programs to wasting the memory.
 Multitasking operating system create the better environment to execute the background
 Every user can operate single or multiple programs with smoothly.
 User can operate multiple programs such as internet, powerpoint, ms excel,games and
other concurrently.
 Reliability problems.
 One must have to take care of security and integrity of user programs and data.
 Data communication problem.
 Multiple processors become buier at a time for executing any task in multitasking
nature so cpu produces more heat.
 It response time can increase while handling multiple programs.need better
processing power to overcome this problem.
Features Multiprogramming Multitasking
Basic It allows multiple programs to utilize the CPU
simultaneously.
A supplementary of the
multiprogramming system also
allows for user interaction.
Mechanism Based on the context switching mechanism. Based on the time-sharing
mechanism.
Objective It is useful for reducing/decreasing CPU idle time and
increasing throughput as much as possible.
It is useful for running multiple
processes at the same time,
effectively increasing CPU and
system throughput.
Execution When one job or process completes its execution or
switches to an I/O task in a multi-programmed system, the
system momentarily suspends that process. It selects
another process from the process scheduling pool (waiting
queue) to run.
In a multiprocessing system,
multiple processes can operate
simultaneously by allocating the
CPU for a fixed amount of time.
CPU Switching In a multiuser environment, the CPU switches between
programs/processes quickly.
In a single-user environment, the
CPU switches between the
processes of various programs.
Timing It takes maximum time to execute the process. It takes minimum time to execute
the process.
COMPARISON BETWEEN MUTITASKING AND MUTIPROGRAMMING:
REFERNCE LINKS:
https://digitalthinkerhelp.com/what-is-multitasking-operating-system-with-
their-examples-types/
https://digitalthinkerhelp.com/what-is-multitasking-operating-system-with-
their-examples-types/
https://www.tutorialspoint.com/what-is-a-multiprogramming-operating-
system#:~:text=Multiprogramming%20OS%20is%20an%20ability,at%20one%2
0point%20of%20time
https://www.javatpoint.com/multiprogramming-vs-multitasking
VEDIO LINKS:
https://youtu.be/fhhc_bjgiuA

Contenu connexe

Similaire à os ass.pptx

Fundamentals of operating system
Fundamentals of operating systemFundamentals of operating system
Fundamentals of operating systemJayesh Chauhan
 
Operating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating systemOperating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating systemVaibhav Khanna
 
types of operating system
types of operating systemtypes of operating system
types of operating systemMahira Rashdi
 
1 types of operating system
1 types of operating system1 types of operating system
1 types of operating systemMrsNunn
 
1 types of operating system
1 types of operating system1 types of operating system
1 types of operating systemMrsNunn
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating SystemTHEFPS
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Ismail Mukiibi
 
operating system for computer engineering ch3.ppt
operating system for computer engineering ch3.pptoperating system for computer engineering ch3.ppt
operating system for computer engineering ch3.pptgezaegebre1
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture NotesFellowBuddy.com
 
3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdfrohitbaweja26
 
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
 
Operatingsystems lecture2
Operatingsystems lecture2Operatingsystems lecture2
Operatingsystems lecture2Gaurav Meena
 
Operating Systems and Memory Management
Operating Systems and Memory ManagementOperating Systems and Memory Management
Operating Systems and Memory Managementguest1415ae65
 

Similaire à os ass.pptx (20)

Fundamentals of operating system
Fundamentals of operating systemFundamentals of operating system
Fundamentals of operating system
 
Unit v
Unit vUnit v
Unit v
 
Operating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating systemOperating system 08 time sharing and multitasking operating system
Operating system 08 time sharing and multitasking operating system
 
types of operating system
types of operating systemtypes of operating system
types of operating system
 
Software concepts
Software concepts Software concepts
Software concepts
 
Mainframe systems
Mainframe systemsMainframe systems
Mainframe systems
 
Operating System.pptx
Operating System.pptxOperating System.pptx
Operating System.pptx
 
1 types of operating system
1 types of operating system1 types of operating system
1 types of operating system
 
1 types of operating system
1 types of operating system1 types of operating system
1 types of operating system
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
Untitled presentation.pdf
Untitled presentation.pdfUntitled presentation.pdf
Untitled presentation.pdf
 
Os unit 1
Os unit 1Os unit 1
Os unit 1
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
 
operating system for computer engineering ch3.ppt
operating system for computer engineering ch3.pptoperating system for computer engineering ch3.ppt
operating system for computer engineering ch3.ppt
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf
 
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
 
Operatingsystems lecture2
Operatingsystems lecture2Operatingsystems lecture2
Operatingsystems lecture2
 
Operating Systems and Memory Management
Operating Systems and Memory ManagementOperating Systems and Memory Management
Operating Systems and Memory Management
 

Dernier

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 

Dernier (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

os ass.pptx

  • 2. Table of content 1. Introduction to multi-programming and multi- tasking 10. Working process of multi-tasking 2. What is multi-programming 11. Activities related to multi-tasking 3. Working process of multi-programming 12. Types of multi-tasking 4. Components of multi-programming 13. Characteristics of a Multi-Tasking 5. Examples of multi-programming 14. Examples of multitasking 6. Advantages of multi-programming 15. Advantages of multi-tasking 7. Disadvantages of multi-programming 16. Disadvantages of multi-tasking 8. What is multi-tasking 17. Comparison between multi-tasking and multi- programming 9. Then vs Now 18. Reference
  • 3. MULTI-PROGRAMMING: Multiprogramming means executing more than one program. When one program is waiting for I/O transfer, another program is executed on the CPU. In this way, the computer is able to handle multiple tasks or programs simultaneously. Hence, multiprogramming is also known as multi-tasking. MULTITASKING: Multitasking Operating System provides the interface for executing the multiple program tasks by single user at a same time on one computer system. The term multitasking, when paired with an operating system, refers to the users being allowed to accomplish more than one computative task, for instance: allowing the user to perform more than one task on an application program at a given time.
  • 4.
  • 5.  To overcome the problem of under utilization of cpu and main memory that why multi-programming introduced.  Multi-programming operating system that execute more than one jobs using single processor computer.  Only one program at a time is able to execute at the cpu for execution.  If program has to wait for an input & output transfer, then other jobs utilize the cpu.  The primary components of multi-programming are processor, file system, input & output control system and transient area.
  • 6. • In this picture Job A ,Job B and Job c present in the main memory the os take one job and executing it. • Job a requires input & output operation, then os simply switch over to job B • If job B requires input & output then it again it switch to job C. • If there is no jobs after job C the cpu will pass it control back to previous job. Working process
  • 7.  processor  File system  Input & output control system  Transient area
  • 8.  User can use ms-word, download apps, transfer data form one point to another point and more at a same time.  Windows operating system.  Unix operating system.
  • 9. Multi-tasking A multitasking operating system is capable of executing several programs simultaneously. Multi-user A multi-user operating enables several users to share processing time on one powerful central computer throung different terminals.
  • 10.  To increases cpu utilization and it never gets idel.  Resources are utilized smartly.  Less response time.  Shorts time jobs are done fastest compare to long time jobs.  It hep to run various jobs in a single application simultaneously.  Various users may use the multi-programming system at once.  It helps to optimize the total job throughput of the computer.
  • 11.  Cpu scheduling is needed.  Memory management is required because all type of jobs are stored in the main memory.  It contain massive load of jobs then its long time jobs have to need long waiting time.  It is highly complex.  It is highly sophisticated.
  • 12.
  • 13.  Multi-tasking term used in a modern computer system.  It is also known as time sharing operating system.  It is logical extension of a multiprogramming system that execution of multiple program simultaneously.  It allow a user to perform more than one computer task simultaneously.  For example, any editing task can be performed while other program are executing.  User can open gmail and power point at same time.  Multiple tasks are also known as processes that share similar processing resources like a cpu.
  • 14. Then  Multitasking of Microsoft Windows 1.01 released in 1985, here shown running the MS- DOS Executive and Calculator programs Now  Modern desktop operating systems are capable of handling large numbers of different processes at the same time. This screenshot shows Linux Mint running simultaneously Xfce desktop environment, Firefox, a calculator program, the built-in calendar, Vim, GIMP, and VLC media player.
  • 15. Ms word music chrome Operating system Cpu  Processes are assigned specific quantum of time  Example lets assign time quantum is 4 nano seconds so cpu can execute first process for 4 nano seconds  Then move to next process which also will be execute 4 nano second.  Time quantum is the period of time for which a process is allowed to run.  Multi-tasking operating system switching so fast like all process are running parallel.  So user can able to work on multiple program
  • 16.  Initially the user will give instructions to the operating system or to a program/application directly, and they will receive an immediate response.  To display this quick response, the operating system handles multitasking by “slicing” some of the processors operating capability to that program.
  • 17. Preemptive  Preemptive multitasking is special task that is assigned to computer.  It take decision that how much time spent by one task before assigning other task  Operating system has control for completing this entire process so it is known as preemptive cooperative multitasking  Cooperative multitasking Is known as non-preemptive multitasking.  Main goal of cooperative multitasking is to run task and to release the cpu to allow another task run.  This task is performed by calling taskyield().  Context switch is executed when this function is called.
  • 18.  Context Switch  Hardware Interruption  Time-Sharing  Real-time  Multithreading  Multiprocessing  Memory swap & Multitask operating systems utilise the use of memory swapping  Memory Protection
  • 19.  Windows Xp  Windows 7  Windows 8  Windows 10  Windows 2000  Ibm os/390  Linux  unix
  • 20.  Time shareable:  All tasks are allocate specific piece of time so they do not need for waiting time.  Manage several users : this operating system is more comfort for handling the multiple users concurrently and several programs can run smoothly.  Secured memory: Multitasking operating system has well defined memory management because this operating system does not provide any type of permission of unwanted programs to wasting the memory.  Multitasking operating system create the better environment to execute the background  Every user can operate single or multiple programs with smoothly.  User can operate multiple programs such as internet, powerpoint, ms excel,games and other concurrently.
  • 21.  Reliability problems.  One must have to take care of security and integrity of user programs and data.  Data communication problem.  Multiple processors become buier at a time for executing any task in multitasking nature so cpu produces more heat.  It response time can increase while handling multiple programs.need better processing power to overcome this problem.
  • 22. Features Multiprogramming Multitasking Basic It allows multiple programs to utilize the CPU simultaneously. A supplementary of the multiprogramming system also allows for user interaction. Mechanism Based on the context switching mechanism. Based on the time-sharing mechanism. Objective It is useful for reducing/decreasing CPU idle time and increasing throughput as much as possible. It is useful for running multiple processes at the same time, effectively increasing CPU and system throughput. Execution When one job or process completes its execution or switches to an I/O task in a multi-programmed system, the system momentarily suspends that process. It selects another process from the process scheduling pool (waiting queue) to run. In a multiprocessing system, multiple processes can operate simultaneously by allocating the CPU for a fixed amount of time. CPU Switching In a multiuser environment, the CPU switches between programs/processes quickly. In a single-user environment, the CPU switches between the processes of various programs. Timing It takes maximum time to execute the process. It takes minimum time to execute the process. COMPARISON BETWEEN MUTITASKING AND MUTIPROGRAMMING: