multiprogramming in operating system.pptx

987 views 10 slides Dec 14, 2023
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

multiprogramming operating system


Slide Content

MULTI-PROGRAMMING NAME : KRISHNAVENI NAIK ROLL NO : 228R1A05D3 MARKS : SECTION : CSE-C

WHAT IS MUTLI PROGRAMMING ? Multiprogramming in an operating system as the name suggests multi means more than Multiprogramming in an operating system as the name suggests multi means more than one and programming means the execution of the program. when more than one program can execute in an operating system then this is termed a multiprogramming  operating system.

Types of multi- programming Multi-user operating system Multitasking operating system

What is multi user operating system In a multiuser operating system, multiple numbers of users can access different resources of a computer at the same time. The access is provided using a network that consists of various personal computers attached to a mainframe computer system. A multi-user operating system allows the permission of multiple users for accessing a single machine at a time. The various personal computers can send and receive information to the mainframe computer system. Thus, the mainframe computer acts as the server and other personal computers act as clients for that server

What is Multitasking operating system Multi tasking operating systems allow multiple users to perform multiple tasks at the same time. The allocation of system resources such as input/output devices, CPU and memory among processes can be easily managed by multi-tasking operating system. There are various states through which a processor passes to complete particular or multiple executions. Multitasking is the ability of an OS to execute more than one task simultaneously on  a  CPU machine

Types of Multitasking operating system Preemptive Scheduling algorithm:  In the preemptive scheduling algorithm if more than one process wants to enter into the critical section then it will be allowed and it can enter into the critical section without any interruption only if no other progress is in the critical section . Non-Preemptive scheduling algorithm:  If a process gets a critical section then it will not leave the critical section until or unless it works gets done.

Features of Multiprogramming Need Single CPU for implementation. Context switch between process. Switching happens when current process undergoes waiting state. CPU idle time is reduced. High resource utilization. High Performance.

Advantages of multiprogramming It provides less response time. It may help to run various jobs in a single application simultaneously. It helps to optimize the total job throughput of the computer. Various users may use the multiprogramming system at once. Short-time jobs are done quickly in comparison to long-time jobs

~ Thank you

Disadvantages of multiprogramming Prior knowledge of scheduling algorithms is required. If it has a large number of jobs, then long-term jobs will have to require a long wait. Memory management is needed in the operating system because all types of tasks are stored in the main memory. Using multiprogramming up to a larger extent can cause a heat-up issue