1.13- Difference Between Multiprogramming And Multitasking Operating System In Hindi | UGC NET GATE
Difference Between Multiprogramming And Multitasking Operating System In Hindi | UGC NET GATE MULTITASKING OS • Multitasking has the same meaning of multiprogramming but in a more general sense, as it refers to having multiple (programs, processes, tasks, threads) running at the same time. • This term is used in modern operating systems when multiple tasks share a common processing resource (e.g., CPU and Memory). • At any time the CPU is executing one task only while other tasks waiting their turn. • The illusion of parallelism is achieved when the CPU is reassigned to another task (i.e. process or thread context switching). Multiprogramming Operating System • In a multiprogramming system there are one or more programs loaded in main memory which are ready to execute. Only one program at a time is able to get the CPU for executing its instructions (i.e., there is at most one process running on the system) while all the others are waiting their turn. • The main idea of multiprogramming is to maximize the use of CPU time. • Indeed, suppose the currently running process is performing an I/O task (which, by definition, does not need the CPU to be accomplished). • Then, the OS may interrupt that process and give the control to one of the other in-main-memory programs that are ready to execute (i.e. process context switching). • In this way, no CPU time is wasted by the system waiting for the I/O task to be completed, and a running process keeps executing until either it voluntarily releases the CPU or when it blocks for an I/O operation. • Therefore, the ultimate goal of multiprogramming is to keep the CPU busy as long as there are processes ready to execute. • Note that in order for such a system to function properly, the OS must be able to load multiple programs into separate areas of the main memory and provide the required protection to avoid the chance of one process being modified by another one. • Other problems that need to be addressed when having multiple programs in memory is fragmentation as programs enter or leave the main memory. • Another issue that needs to be handled as well is that large programs may not fit at once in memory which can be solved by using pagination and virtual memory. Please, refer to this article for more details on that. • Finally, note that if there are N ready processes and all of those are highly CPU-bound (i.e., they mostly execute CPU tasks and none or very few I/O operations), in the very worst case one program might wait all the other N-1 ones to complete before executing. #GateComputerScience #UGCNETComputerScience #NetComputerScience #GATEOperatingSystem #NETOperatingSystem #OperatingSystemVideos #OperatingSystemVideosInHindi #OperatingSystemTutorials #OperatingSystemTutorialsInHindi #OperatingSystemLectures #OperatingSystemLectureInHindi #OperatingSystemInHindi UGC NET computer Science operating system | UGC NET Operating System Lectures | GATE computer Science operating system | GATE Operating System Lectures multiprogramming operating system in hindi | multiprogramming operating system in urdu | multitasking operating system | multitasking operating system in hindi | multitasking os | multitasking os in hindi Notes Download: Batch Operating System, Difference-Between-Preemptive-and-Nonpreemptive-Scheduling-in-OS Memory Management - Definition- Functions- Goals Multiprogramming OS, Multitasking OS Preemptive And Non Preemptive Scheduling In Operating System Priority Scheduling In OS, Round Robin Scheduling In OS SRTF CPU Sceduling, Terminologies Used In CPU Algorithms http://www.tutorialsspace.com/Operating-System/Download-Operating-system-PDF-Notes.aspx Playlist: UGC NET- Computer Graphics: https://www.youtube.com/playlist?list=PLL8qj6F8dGlQ_WDJGjKvGHxvs-Hpn0AcN UGC NET- Operating System Lectures: https://www.youtube.com/playlist?list=PLL8qj6F8dGlS4jZxioXYH-sZxdMQdMxYy Operating System For BTech- BE- BSc-Msc- BCA-MCA...Students https://www.youtube.com/playlist?list=PLL8qj6F8dGlSR4SolVHM2W_XtXCQOmu1v Foundation Of Computer Science- IPU https://www.youtube.com/playlist?list=PLL8qj6F8dGlR1u2x_LRGZVpXtJj8A1Z6K Full Discrete Mathematics Syllabus https://www.youtube.com/playlist?list=PLL8qj6F8dGlTX359q-PBBUFw3BrBvAxq3
Download
0 formatsNo download links available.