Escolar Documentos
Profissional Documentos
Cultura Documentos
Write down the program in correct way with proper alignment and spacing
Write Aim, Algorithm, Program and Output for the question have given to you
If program doesn’t successfully execute, write down only sample output for the program
Save your program with your SETNO_ROLLNO.c or java, Ex: 3_R161666.c
You must upload the program after completion of the exam
Set-1
In Round Robin process scheduling algorithm, the efficiency of the system depends on
the time quantam. Is the statement true or false ? Write a program to implement the
Round algorithm with variable time quantum like 2,4,6 time units and analyse the
performance of the system by seeing the values of waiting times and turn around
times.
Input : number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
and time quantum
Output : gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) of each process response time (rs_ti) and schedule length, and maintain
queue to represents the next process gets scheduled and also find out the
throughput??
Set-2
Input : number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output : gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??
Set-3
Input: number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output: gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??
Set-4
Input: number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output: gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??
Set-5
Input: number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output: gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??
Set-6
Write a program to implement the Non-preemptive Longest Job First (LJF) process
scheduling algorithm ??
Input: number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output: gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??
Set-7
Input: number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output: gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??
Set-8
Input: number of processes(n), process ids (pi), arrival times(a_ti), burst times(b_ti)
Output: gang chart, completion times (c_ti), waiting times (w_ti) and turn around
times(ta_ti) and response time of each process and schedule length and also find out
the throughput??