Ans Key
Ans Key
File management
Status Information
File Modification
Programming language support
Program loading & execution
Communication
4.Write the difference between Batch systems and Time sharing
systems.
processing operating systems, and output would appear some later time
in the form of a program or as program error. To speed up processing
similar jobs are batched together.The major task of batch operating
systems is to transfer control automatically from one job to next. Here
the operating is always in the memory.
● Here the CPU is never idle. Time shared operating system allows many
● Throughput
● Turnaround time
● Waiting time
● Response time
8.What is process control block? List out the data field associated with PCB.
Process state
Process number
Program counter
CPU registers
Memory limits
List of open files
CPU scheduling information
Memory management
information
Accounting information
I/O status information
Under non preemptive scheduling once the CPU has been allocated to a
process, the process keeps the CPU until it releases the CPU either by
terminating or switching to the waiting state.
Preemptive scheduling can preempt a process which is utilizing the
CPU in between its execution and give the CPU to another process.
10.What is turnaround time?
Turnaround time is the interval from the time of submission to the time
of completion of a process. It is the sum of the periods spent waiting to get
into memory, waiting in the ready queue, executing on the CPU, and doing
I/O.
Part B&C
1.Explain the purpose of system calls and discuss the calls related to device
management and communications in brief.
2. Consider the following set of processes, with the length of the CPU – burst time given
in Milliseconds:
Process Burst Time Priority
P1 10 3
P2 1 1
P3 2 3
P4 1 4
P5 5 2
The processes are arrived in the order P1, P2, P3, P4, P5, all at time 0.
i)Draw 4 Gantt charts illustrating the execution of these processes using FCFS, SJF
Priority and RR (Time Slice = 1) scheduling
ii)What is the turnaround time of each process for each of the scheduling?
5.Describe about Process scheduling and state the differences among short
term,medium term and long term scheduling .