L-1.3: Multiprogramming and Multitasking Operating System in Hindi with real life examples

L-1.3: Multiprogramming and Multitasking Operating System in Hindi with real life examples

Introduction to Types of Operating Systems

In this section, the speaker introduces the two types of operating systems - multi-programmed and multi-tasking. They address the confusion between these two types and explain the differences.

Multi-Programmed Operating System

  • The concept of a multi-programmed operating system focuses on bringing as many processes as possible into the RAM.
  • This means that multiple processes are brought into the limited size RAM simultaneously.
  • Execution of these processes takes place in a non-preemptive manner, where each process is executed completely before moving on to the next one.
  • If a process requires an input-output operation, another process is given CPU time while waiting for that operation to complete.

Multi-Tasking Operating System

  • Multi-tasking operating systems are pre-emptive or time-sharing in nature.
  • Processes are scheduled in advance for a specific time interval, and if they do not complete within that interval, they are rescheduled for future execution.
  • The advantage of multi-tasking is that there is minimal idle time for the CPU since there are always processes available to execute.
  • Another advantage is improved response time due to efficient scheduling.

...

Title for Subtopic

  • Bullet point 1
  • Sub-bullet point 1
  • Sub-bullet point 2
  • Sub-sub-bullet point 1
  • Sub-sub-bullet point 2
  • Sub-bullet point 3
  • Bullet point 2
  • Bullet point 3

Repeat the above structure as necessary, using subheadings and bullet points to organize your notes.

New Section

This section discusses the concept of time sharing and its advantages in a multi-tasking environment.

Time Sharing and Response Time

  • In time sharing, each student is given a turn to ask questions.
  • The 10th student's turn will come later, but the response time is faster for each student.
  • The teacher solves two questions for the first student, even if there are more questions.
  • Then two questions are solved for each subsequent student until reaching the 10th student.
  • This approach allows for faster response times and creates a sense of fairness among students.

Responsiveness and Idle Time

  • Time sharing emphasizes responsiveness by allowing quick switching between tasks.
  • The CPU executes processes one after another, preempting them after some time.
  • This ensures that the CPU is not idle and maximizes its utilization.

Difference Between Multi-programmed OS and Multi-tasking/Time Sharing

  • Real-time systems typically use multi-tasking or time-sharing approaches.
  • Laptops and personal computers use multi-tasking or time-sharing operating systems.
  • Algorithms like round-robin scheduling are used to execute different processes efficiently.

New Section

This section highlights the difference between multi-programming and multi-tasking in operating systems.

Multi-programming vs. Multi-tasking

  • Multi-programming refers to running multiple programs simultaneously on a computer system.
  • Multi-tasking, also known as time sharing, involves executing multiple tasks or processes concurrently on a single CPU.

Execution of Processes

  • The video mentions that there are different ways to execute processes in an operating system.
  • However, this video focuses on understanding the difference between multi-programming and multi-tasking rather than discussing specific execution methods.

Conclusion

The transcript provides an overview of time sharing in a multi-tasking environment, emphasizing the advantages of faster response times and reduced idle time. It also highlights the difference between multi-programming and multi-tasking in operating systems.

Video description

👉Subscribe to our new channel:https://www.youtube.com/@varunainashots In this video there is discussion on What is multiprogramming and multitasking in operating system because students find this very difficult to understand difference between multiprogramming and multitasking so .This video will give you clear idea of these two terms with real life examples. 0:00 - Intro 0:21 - Multiprogramming Operating System 3:20 - Multitasking Operating System ►Operating System (Complete Playlist): https://www.youtube.com/playlist?list=PLxCzCOWd7aiGz9donHRrE9I3Mwn6XdP8p Other subject-wise playlist Links: -------------------------------------------------------------------------------------------------------------------------------------- ►Design and Analysis of algorithms (DAA): https://www.youtube.com/playlist?list=PLxCzCOWd7aiHcmS4i14bI0VrMbZTUvlTa ►Database Management System: https://www.youtube.com/playlist?list=PLxCzCOWd7aiFAN6I8CuViBuCdJgiOkT2Y ► Theory of Computation https://www.youtube.com/playlist?list=PLxCzCOWd7aiFM9Lj5G9G_76adtyb4ef7i ►Artificial Intelligence: https://www.youtube.com/playlist?list=PLxCzCOWd7aiHGhOHV-nwb0HR5US5GFKFI ►Computer Networks (Complete Playlist): https://www.youtube.com/playlist?list=PLxCzCOWd7aiGFBD2-2joCpWOLUrDLvVV_ ►Computer Architecture (Complete Playlist): https://www.youtube.com/playlist?list=PLxCzCOWd7aiHMonh3G6QNKq53C6oNXGrX ►Structured Query Language (SQL): https://www.youtube.com/playlist?list=PLxCzCOWd7aiHqU4HKL7-SITyuSIcD93id ►Discrete Mathematics: https://www.youtube.com/playlist?list=PLxCzCOWd7aiH2wwES9vPWsEL6ipTaUSl3 ►Compiler Design: https://www.youtube.com/playlist?list=PLxCzCOWd7aiEKtKSIHYusizkESC42diyc ►Number System: https://www.youtube.com/playlist?list=PLxCzCOWd7aiFOet6KEEqDff1aXEGLdUzn ►Cloud Computing & BIG Data: https://www.youtube.com/playlist?list=PLxCzCOWd7aiHRHVUtR-O52MsrdUSrzuy4 ►Software Engineering: https://www.youtube.com/playlist?list=PLxCzCOWd7aiEed7SKZBnC6ypFDWYLRvB2 ►Data Structure: https://www.youtube.com/playlist?list=PLxCzCOWd7aiEwaANNt3OqJPVIxwp2ebiT ►Graph Theory: https://www.youtube.com/playlist?list=PLxCzCOWd7aiG0M5FqjyoqB20Edk0tyzVt ►Programming in C: https://www.youtube.com/playlist?list=PLxCzCOWd7aiGmiGl_DOuRMJYG8tOVuapB ►Digital Logic: https://www.youtube.com/playlist?list=PLxCzCOWd7aiGmXg4NoX6R31AsC5LeCPHe --------------------------------------------------------------------------------------------------------------------------------------- Our social media Links: ► Subscribe to us on YouTube: https://www.youtube.com/gatesmashers ►Subscribe to our new channel: https://www.youtube.com/@varunainashots ► Like our page on Facebook: https://www.facebook.com/gatesmashers ► Follow us on Instagram: https://www.instagram.com/gate.smashers ► Follow us on Instagram: https://www.instagram.com/varunainashots ► Follow us on Telegram: https://t.me/gatesmashersofficial ► Follow us on Threads: https://www.threads.net/@gate.smashers -------------------------------------------------------------------------------------------------------------------------------------- ►For Any Query, Suggestion or notes contribution: Email us at: gatesmashers2018@gmail.com #multiprogramming#multitasking#Operatingsystem