- This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by .
Multiprogramming refers to the practice of executing the same portion of code in multiple different non-trivial contexts. What makes a context "non-trivial" is not well defined, but it generally excludes executing the same portion of code in merely a different state (i.e. a different set of values in global variables.)
This term should not be confused with the non-esoteric meaning of the word, usually used in operating systems circles, where it means something closer to concurrent programming. A more precise definition is given on this page.