DIZNR INTERNATIONAL

Day 01Part 21- Type of Operating system for gate computer science – Multi Tasking Operating system.

Day 01Part 21- Type of Operating system for gate computer science – Multi Tasking Operating system.

https://www.gyanodhan.com/video/7B7.%20GATE%20CSEIT/Operating%20System/440.%20Day%2001Part%2021-%20Type%20of%20Operating%20system%20for%20gate%20computer%20science%20-%20Multi%20Tasking%20Operating%20system.mp4

 Multi-Tasking Operating System – GATE Computer Science

A Multi-tasking Operating System is an OS that allows multiple processes (tasks) to run simultaneously by efficiently managing CPU time and system resources. It enables a computer to execute more than one program at the same time.

 What is a Multi-Tasking Operating System?

 A multi-tasking OS allows a user to run multiple applications at the same time. It achieves this by using CPU scheduling and context switching.

Example: Running a web browser, a media player, and a text editor simultaneously on a computer.

 Types of Multi-Tasking Operating Systems

1. Preemptive Multi-Tasking OS

Example: If a user is watching a video and an email arrives, the OS temporarily suspends the video to process the email notification.

2. Cooperative Multi-Tasking OS

Example: In an old Windows system, if one program crashes, it could affect the entire system because tasks do not preempt each other.

 How Multi-Tasking Works?

Key Concepts Used in Multi-Tasking OS:

Context Switching – Saves the state of a running process and switches to another.
CPU Scheduling – Determines which process gets CPU time.
Process Synchronization – Manages multiple processes accessing shared resources.
Interrupt Handling – Manages system events efficiently.

 Advantages of Multi-Tasking OS

Efficient Resource Utilization – CPU and memory usage is optimized.
Better User Experience – Users can run multiple applications without waiting.
Faster Execution – Reduces idle CPU time.
Parallel Processing – Useful in real-time applications.

 Disadvantages of Multi-Tasking OS

High CPU Usage – Can slow down performance if too many tasks are running.
Complex Process Management – Requires advanced scheduling algorithms.
Security Issues – Multiple processes running together can cause vulnerabilities.

 Examples of Multi-Tasking Operating Systems

Windows – Supports preemptive multi-tasking.
Linux – Uses process scheduling for multi-tasking.
macOS – Uses UNIX-based multi-tasking.
Android & iOS – Mobile operating systems with multi-tasking features.

 Difference Between Multi-Tasking, Multi-Processing & Multi-Threading

Feature Multi-Tasking Multi-Processing Multi-Threading
Definition Runs multiple tasks (processes) at the same time Uses multiple CPUs to run processes Runs multiple threads within a process
CPU Requirement One CPU is enough Requires multiple CPUs Single CPU can handle multiple threads
Example Windows, Linux Server systems, Supercomputers Java applications, Web browsers

 Summary

 Multi-tasking OS allows running multiple applications simultaneously.
 It improves efficiency and user experience.
 Uses context switching, CPU scheduling, and interrupts to manage tasks.
 Found in Windows, Linux, macOS, Android, iOS.

Would you like GATE-level questions or more in-depth explanations?

Day 01Part 21- Type of Operating system for gate computer science – Multi Tasking Operating system.

Chapter 1 MULTI-TASKING SYSTEMS – I: RYMOS

OPERATING SYSTEMS – MIS

HANDOUT

Certainly! Let’s delve into Multitasking Operating Systems, a key topic in the GATE Computer Science syllabus.


What is a Multitasking Operating System?

A Multitasking Operating System allows multiple tasks (processes) to run concurrently on a single CPU. The operating system manages the CPU’s time by allocating a specific time slice (quantum) to each task, switching between them rapidly to give the illusion of simultaneous execution. (GeeksforGeeks)


Types of Multitasking

  1. Preemptive Multitasking:
    • The operating system has control over the CPU and can interrupt a running task to assign CPU time to another task.
    • This ensures that all tasks receive attention and that no single task can monopolize the CPU.
    • Modern operating systems like Unix, Linux, and Windows NT/95 implement preemptive multitasking. (Testbook)
  2. Cooperative Multitasking:
    • Each task voluntarily yields control of the CPU to allow other tasks to run.
    • If a task does not yield control, it can prevent other tasks from executing, potentially leading to system unresponsiveness.
    • Early versions of Windows and Mac OS used cooperative multitasking. (Wikipedia, Scribd)

Advantages of Multitasking Operating Systems


Disadvantages of Multitasking Operating Systems


GATE Exam Relevance

Understanding multitasking is crucial for GATE aspirants, especially in topics related to:(Testbook)


Feel free to ask if you need further clarification or examples on this topic!

Day 01Part 21- Type of Operating system for gate computer science – Multi Tasking Operating system.