answersLogoWhite

0

What is multi-programing?

Updated: 9/17/2019
User Avatar

Wiki User

12y ago

Best Answer

multiprogramming lets you do more than one thing at a time

ans

multiprogramming is also called multi-threading here more than one operation in a program takes place..

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

multiprograming in terms of a computer system refers to the execcution of 1 or more programs by the system in the background(i.e. not in realtime), with the user having no interaction with the programs being executed. eg. THE CLOCK TIMER OF THE COMPUTER SYSTEM

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is multi-programing?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Should real time operating system be necessarily multiprogrammed?

MULTIPROGRAMING .................. The term multiprograming denotes an operating system that,in addtion to supporting multitasking. In multiprograming more than one jobs are active in memory.Within a very small period more than one jobs are executed simultaneously. MULTITASKING ............... In general multiprogramming implies multitasking,but multitasking does not imply multiprogramming. A multitasking operating system is distinguished by its ability to support concurrent execution of two or more active processes. as discussed actually both multitasking and multiprogramming are same no other answer mentioned are justifiable.....


Definition of scheduling in operating system?

the objective of multiprograming is to have some processs running at aal time,so as to maximizing cpu utillization .this process is called scheduling.


What is the difference between multiprogramming and time sharing in operating system?

Multiprograming system is that system in which multiple programs run at same time or simontaniously for example windows xp.in this system does not provide user interaction with the coputer system. But time sharing systemis that provide user interaction with system and user thinks that system is with him all the time.


what is the difference between multiprogramming system and time sharing system?

Multiprograming system is that system in which multiple programs run at same time or simontaniously for example windows xp.in this system does not provide user interaction with the coputer system. But time sharing systemis that provide user interaction with system and user thinks that system is with him all the time.


What is multiprogramming directed by?

Multiprograming is way to run multi programs simultanteously.It give you feel that all your programs running simultaneously.For example windows is a multiprogramming environment in which you could run many programs simultaneously.Deep_viewActually,operating system create threads for each program you initiate.And according to prescribed algorithms,all threads get a prescribed time slot for each thread to executive.As the time slot is in millisecond user cant get the idea that one program stoped and anotherstart running.Turn by turnt


What is the difference between multitasking and multiprograming?

Multiprogramming is a method of running several different programs in a computer apparently at the same time.Usually on a mainframe - the computer has a number of programs loaded into memory and the operating system switches quickly between them, processing a little bit of each one in turn. The high speed of the processor makes it seem like more than one program is being run at the same time.On a PC it is usually called multitasking.Answer-multitasking is the process which occur when more than one task(job) are executed by CPU at a time....-.Multitasking should not be confusing with multiple program where by in multiprogram more than one program(task) are in the mein memory but each one are executed by CPU at different time...It is impossible CPU to running more than one program at the same time


What is the difference between multiuser multitasking and multiprogramming?

Multiuser multitasking is what many mainframe computers were set up to do after about 1965, when it was realized that a computer was sitting idle for most of the time, waiting for the next input to arrive. By setting up a number of different terminals, each with its own address, and its own interrupt number, several different users could be working with a computer at the same time, running different programs, which required the computer to perform different tasks, such as creating data tables, calculating values based upon variables that were input, reading records and assigning each different record a value based upon a calculation which used variables included in the records, and so forth. Multiprograming is what an operating system such as Windows, or the Apple OS for Macintosh does, as well as many Linux operating systems. Several different programs are loaded into a desktop computer, such as a web browser, mail program, games, image editor, etcetera, and they are all opened up and running at the same time. Of course, most desktop computers were not powerful enough until recently to be able to actually manipulate an image while browsing the internet while running a game. However, the newest generation of processors, which are clocking over 2 gigaHertz, can easily perform all of these functions without appearing to hesitate at all.


What are the differences between multitasking and multiprogramming?

Task is defined as a system program which consumes very less system resources(memory, CPU time, HD etc..).A task should have periodic activity and event based activity.Assume a printer which takes 10msec to print each line and you have fired a job to the printer.So the CPU should send every line with a 10msec gap. But transmitting a line to the printer is an output operation, which means the CPU has to execute some instrucions in order to transmit a line to the printer.Assume that the CPU takes 2usec to execute this. So this 2us is nothing but a sysem resource. So this is called as task since it is making less usage of system resource and it is periodic(every 10msec it has to execute instructions) and it is also event based(it has to check whether the printer is ON/OFF)Dos: Mutlitasking (can do printing and scanning simultaneously) but not multi programming(it can execute only one c/c++/java etc program in memory)Unix: Multiprograming and hence multi tasking.AnswerMultitasking and Multiprogramming: In multiprogramming, more than one program lies in the memory i.e. in terms of operating system, the schedular selects the jobs to be placed in ready queue from a number of programs. The ready queue is placed in memory and the existence of more than one program in main memory is known as multiprogramming.Example of multiprogramming, we open word, excel, access and other applications together but while we type in word other applications such as excel and access are just present in main memory but they are not performing any task or work. Or we can say that are not being used at the same time.Whereas multitasking means performing multiple tasks in parallel. Usually, CPU processes only one task at a time but the switching of CPU between the processes (also known as Context Switching) is so fast that it looks like CPU(or processor) is executing multiple processes at a time.Example of multitasking, we listen to music and do internet browsing at the same time (they execute parallely).Also a task (or process) is a part of program under execution. In other words, task is an active entity where as program is passive entity.


Similarities and differences of multitasking and multithreading?

Both terms are used to describe a computer process known as multi-tasking, where a single CPU core switches between tasks periodically to reduce inefficiency and wasted time, and to allow the user to perform multiple tasks at the same time. The difference between the two are technical distinctions, rather than a difference in their intended effect.Multiprogramming was the first form of multi-tasking, and introduced in the the concept of yielding. When an instruction could not be completed immediately (such as when reading from a disk or other slowperipheral, the current task was set aside, and another task would run until the data from the paused task was ready.Some time later, time sharing was introduced to allow more fine-grained control over the yielding process. The first form was known as cooperative time sharing. In this model, a program would run for a while and then willingly relinquish control so that another process could have a chance. This was referred to as cooperative time sharing. This model had some drawbacks, as programs could be written incorrectly and fail to yield in a timely manner, causing the system to become slow and unresponsive. Additionally, programs cooperated in the same unprotected memory space, so a crash of one program meant that the entire system could be brought down by a single fault.Advances in hardware allowed for the processes to be interrupted by the operating system. This brought about the next generation of time sharing, known as preemptive time sharing. Along with this model came advances in virtual memory that allowed each program to run in its own virtual memory space. No longer would a single program cause a systemic crash, and a program could no longer fail to yield (in theory, at least).