Self Studies

Operating Syste...

TIME LEFT -
  • Question 1
    1 / -0

    Shortest job first scheduling algorithm uses _______ data structure and has ________ time complexity.

  • Question 2
    1 / -0

    The length of seventh CPU burst is 8 ms and its corresponding predicted CPU burst is 6 ms. The smoothening factor is 0.7. What is the predicted value of the eighth CPU burst in milliseconds? (answer up to 1 decimal places)

  • Question 3
    1 / -0

    Which of the following is/are about the Round robin Scheduling Algorithm?

  • Question 4
    1 / -0

    Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is pre-emptive shortest remaining-time first. 

    Process

    Arrival Time

    Burst Time

    P1

    0

    11

    P2

    3

    6

    P3

    7

    1

    P4

    8

    3

     

    The absolute difference between the average turnaround time and the waiting time and of these processes is_______ milliseconds.

  • Question 5
    1 / -0

    Consider the following set of processes, with the arrival time and the CPU burst time given in milliseconds.

    Process Id

    Arrival time

    Burst time

    1

    3

    2

    2

    6

    1

    3

    0

    3

    4

    5

    X

     

    If the average waiting time is 0.75 millisecond for these processes with the shortest job first algorithm then what is the value of X? 

  • Question 6
    1 / -0

    An operating system uses SRTF process scheduling algorithm. Consider the following table for arrival time and execution time.

    Process

    Arrival Time

    CPU burst time

    P1

    0

    8

    P2

    2

    5

    P3

    3

    12

    P4

    3

    10

     

    How many context switches are needed excluding the context switches at time zero and at the end?

  • Question 7
    1 / -0

    Let S = {P1, P2  P3, P} be the set of processes arriving at time 0 and the length of CPU burst time given in milliseconds

    Process

    CPU Burst time (ms)

    P1

    5

    P2

    7

    P3

    6

    P4

    4

     

    Assume that processes being scheduled with Round-Robin Scheduling Algorithm with Time Quantum 4ms and P1 is having the highest priority while P4 is having lowest priority. Then the average waiting time is _________ ms. (Answer up to two decimal places)

  • Question 8
    1 / -0

    Consider the following five processes with the length of the CPU burst time given in milliseconds together with their arrival time and priority.

    ProcessArrival TimeBurst timePriority
    P10104
    P2031
    P3382
    P44163
    P5725

    In priority preemptive scheduling the average waiting time will be (Assume lowest number schedule has highest priority)

Submit Test
Self Studies
User
Question Analysis
  • Answered - 0

  • Unanswered - 8

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
Submit Test
Selfstudy
Selfstudy
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now