Multiprogramming is a fundamental concept in Operating Systems (OS) that dramatically improves CPU efficiency and overall system performance.
Multiprogramming was introduced in the 1960s with IBM's OS/360. Before multiprogramming, computers could only run one program at a time (uni-programming), wasting CPU time during I/O.
Multiprogramming is the ability of an OS to load and execute multiple programs simultaneously in memory.
The OS keeps several programs in memory at the same time. When one program is waiting (e.g., for input/output), the CPU automatically switches to execute another program โ ensuring the CPU is never idle.
This way, the CPU is kept busy almost 100% of the time.
| Feature | Multiprogramming | Multitasking |
|---|---|---|
| Focus | CPU utilisation | User responsiveness |
| Switching | Switches when program waits | Switches rapidly (time slices) |
| User interaction | Batch processing | Interactive/real-time |
The degree of multiprogramming refers to the number of programs loaded in memory simultaneously. Higher degree = better CPU utilisation, but requires more RAM.
High Level Language and Hybrid Computer
Learn the definitions of High Level Language (like Python, Java) and Hybrid Computers. Basic concepts for computer science students.
How Many Rows and Columns are there in MS Excel?
Find out the exact maximum number of rows and columns in Microsoft Excel. Learn about the 1 million row limit and how the columns are named from A to XFD.
What is the Full Form of IIS in Computers?
Learn the full form of IIS in Computer Science. Understand how Microsoft's Internet Information Services works to host massive websites and web applications.
Impact Printer and Non-Impact Printer
Learn the difference between impact printers (like dot matrix) and non-impact printers (like inkjet and laser). Types, examples, and key differences explained.
What is India's First Supercomputer?
Learn about PARAM 8000, India's very first supercomputer. Discover the history of C-DAC, Vijay Bhatkar, and how India built its own supercomputer in 1991.
Turn this guide into revision flashcards, a practice exam, or an AI-generated podcast โ free, no signup required.