answersLogoWhite

0

What is multi programing?

Updated: 12/11/2022
User Avatar

Wiki User

14y ago

Best Answer

A batch system is one in which jobs are bundled together with the instructions necessary to allow them to be processed without intervention.

Often jobs of a similar nature can be bundled together to further increase economy

The basic physical layout of the memory of a batch job computer is shown below:

--------------------------------------

| |

| Monitor (permanently resident) |

| |

--------------------------------------

| |

| User Space |

| (compilers, programs, data, etc.) |

| |

--------------------------------------

The monitor is system software that is responsible for interpreting and carrying out the instructions in the batch jobs. When the monitor started a job, it handed over control of the entire computer to the job, which then controlled the computer until it finished.

A sample of several batch jobs might look like:

$JOB user_spec; identify the user for accounting purposes

$FORTRAN; load the FORTRAN compiler

source program cards

$LOAD; load the compiled program

$RUN; run the program

data cards

$EOJ; end of job

$JOB user_spec; identify a new user

$LOAD application

$RUN

data

$EOJ

Often magnetic tapes and drums were used to store intermediate data and compiled programs.

Advantages of batch systems

move much of the work of the operator to the computer

increased performance since it was possible for job to start as soon as the previous job finished

Disadvantages

turn-around time can be large from user standpoint

more difficult to debug program

due to lack of protection scheme, one batch job can affect pending jobs (read too many cards, etc)

a job could corrupt the monitor, thus affecting pending jobs

a job could enter an infinite loop

As mentioned above, one of the major shortcomings of early batch systems was that there was no protection scheme to prevent one job from adversely affecting other jobs.

The solution to this was a simple protection scheme, where certain memory (e.g. where the monitor resides) were made off-limits to user programs. This prevented user programs from corrupting the monitor.

To keep user programs from reading too many (or not enough) cards, the hardware was changed to allow the computer to operate in one of two modes: one for the monitor and one for the user programs. IO could only be performed in monitor mode, so that IO requests from the user programs were passed to the monitor. In this way, the monitor could keep a job from reading past it's on $EOJ card.

To prevent an infinite loop, a timer was added to the system and the $JOB card was modified so that a maximum execution time for the job was passed to the monitor. The computer would interrupt the job and return control to the monitor when this time was exceeded.

User Avatar

Marvin Schuster

Lvl 10
2y ago
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

What is microprossors?

Microprossors is a multi purpose programing electrinoc device with except only benary input


Is c programing a procedure oriented programing?

yes


What are some jobs or careers that involve the use of computers?

programing ---- programing ----


What is difference java and visual basic programming?

java is a server side programing where as visual basic is a client side programing(This programing Language is different from oops)


How do you write a c program for electricity billing system?

It would most likely contain multi-class object oriented programing at a relatively advanced and complex level using a Higher Level programming language.


Why you need C programming?

C- Programing is basically a programing language of a computer. It helps to create software programing language which is usefull in creating softwares & data base programes. C programing language is the first & basic programing language. Other programing languages are:- C, C++ & C# (latest).


Short note on structural programming and procedural programming?

There is no difference between procedural programing language & structure programing language.


What is the advantage of using MSW LOGO?

MSW logo is a simple programing language. It gives an idea for programing as it very simple


How do robots do a task?

By following their programing.


3 programing languages?

dork


How do robot do a task?

By following their programing.


What the two major of computer programs?

In computer programs majorly two programs are there. 1.System programing 2.Application Programing