Lecture 1
Lecture 1
introducti
on
Lectur 1
اعدد االستاذ:
• Hire an operator
• User operator
• Add a card reader
• Reduce setup time by batching similar jobs
• Automatic job sequencing – automatically transfers control from
one job to another. First rudimentary operating system.
• Resident monitor
– initial control in monitor
– control transfers to job
– when job completes control transfers back to monitor
• Problems
1. How does the monitor know about the nature of the job
(e.g., Fortran versus Assembly) or which program to
execute?
2. How does the monitor distinguish
(a) job from job?
(b) data from program?
• Solution
– Introduce control cards
• Special cards that tell the resident monitor which programs to run
$JOB
$FTN
$RUN
$DATA
$END
• Special characters distinguish control cards from data or program
cards:
$ in column 1
// in column 1 and 2
709 in column1
– Reads next job from card reader into a storage area on the
disk (job queue).
– Outputs printout of previous job from disk to printer.
• Job pool – data structure that allows the OS to select which job to
run next in order to increase CPU utilization.
Several jobs are kept in main memory at the same time, and the
CPU is multiplexed among them.