logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1571050 total)

What is the average response time (rounded to two decimal places) under SJF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

0%
0%
0%
0%
Переглянути це питання

What is the average turnaround time (rounded to two decimal places) under SJF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

0%
0%
0%
0%
Переглянути це питання
Which of the following is a possible method to game a MLFQ scheduler and potentially monopolize the CPU?
0%
0%
0%
0%
Переглянути це питання

Direct execution of processes (without limits) has which of the following possible disadvantages? (Choose the best answer)

100%
0%
❌
0%
Переглянути це питання

Select the true statement about MLFQ schedulers from the options below: 

✅
❌
❌
❌
Переглянути це питання

We used a time-sharing method for virtualizing the CPU where only one process runs at a time (on a uniprocessor), so why don't we use a time-sharing model for virtualizing memory where only one process is in physical memory at a time?

0%
0%
0%
0%
Переглянути це питання

Assume that we are employing the cooperative approach to switch between processes running on the CPU (i.e., no timer interrupts). We have included a function yield() that allows the process to transfer control of the CPU to the operating system. Which of the following code segments can keep control of the CPU from the operating system indefinitely?

0%
0%
0%
0%
Переглянути це питання

What is the average response time (rounded to two decimal places) under STCF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

0%
0%
0%
0%
Переглянути це питання

What is the average turnaround time (rounded to two decimal places) under STCF of the following workload?:

  • Job A arrives at time 0s and needs to run on the CPU for 60s
  • Job B arrives at time 5s and needs to run on the CPU for 10s
  • Job C arrives at time 10s and needs to run on the CPU for 3s

Note: assume that switching between processes is instantaneous (i.e., takes no time). Also assume that if the scheduler is preemptive, then it can make the decision to switch between jobs at any given time (i.e., as soon as another process arrives)

❌
❌
✅
❌
Переглянути це питання

Підвищення радіочутливості біологічних об’єктів, викликане аґентами різної природи, які застосовують перед або під час опромінення – це:

0%
100%
0%
0%
0%
Переглянути це питання