Menu

Question Discussion & Solution

MCQ
Q.

Consider the following set of processes with their arrival times and burst times:
| Process | Arrival Time | Burst Time |
|---|---|---|
| P1 | 0 | 8 |
| P2 | 1 | 4 |
| P3 | 2 | 9 |
| P4 | 3 | 5 |
The CPU scheduling algorithm used is Preemptive Shortest Remaining Time First (SRTF). A context switch incurs an overhead of 1 unit of time. Whenever the CPU switches from one process to another (due to preemption or completion), it takes 1 unit of time for the switch during which no process executes. If two processes have the same remaining time, the one that arrived earlier is scheduled. If they arrive at the same time and have the same remaining time, the process with the lower ID is scheduled. What is the average turnaround time for these processes?

forum Community Discussion

speaker_notes_off

No discussions yet. Be the first to start!

You must be logged in to participate in the discussion.

login Login to Discuss

auto_awesome Similar Questions

MCQ
1.
A process P1 has a period of 50 and a CPU burst of t1 = 25, P2 has a period of 80 and a CPU burst of 35. The total CPU utilization is____________
forum Discussion
MCQ
2.
If there are a total of T = 100 shares to be divided among three processes, A, B and C. A is assigned 50 shares, B is assigned 15 shares and C is assigned 20 shares.
B will have ______ percent of the total processor time.
forum Discussion
MCQ
3.
In multilevel feedback scheduling algorithm ____________
forum Discussion
MCQ
4.
A process P1 has a period of 50 and a CPU burst of t1 = 25, P2 has a period of 80 and a CPU burst of 35., the priorities of P1 and P2 are?
forum Discussion
MCQ
5.
What are the two steps of a process execution?
forum Discussion

category More Operating System Topics

article

Introduction to Operating System

format_list_bulleted 5 MCQs
article

Types

format_list_bulleted 16 MCQs
article

Services

format_list_bulleted 2 MCQs
article

Structures

format_list_bulleted 3 MCQs
article

Processes

format_list_bulleted 58 MCQs
article

Threads

format_list_bulleted 47 MCQs
article

CPU Scheduling

format_list_bulleted 79 MCQs
article

Process Synchronization

format_list_bulleted 117 MCQs
article

Memory Management

format_list_bulleted 179 MCQs
article

Storage Management

format_list_bulleted 283 MCQs
article

Input Output Systems

format_list_bulleted 55 MCQs
article

Networking

format_list_bulleted 36 MCQs
article

Distributed Operating System

format_list_bulleted 73 MCQs
article

Protection and Security

format_list_bulleted 123 MCQs
article

Unix

format_list_bulleted 145 MCQs
article

Linux

format_list_bulleted 160 MCQs
article

MS Windows

format_list_bulleted 1 MCQs
article

Mixed

format_list_bulleted 10 MCQs
article

Operating Systems Overview

format_list_bulleted 0 MCQs
article

Process Management

format_list_bulleted 0 MCQs
article

Finding and Processing Files

format_list_bulleted 0 MCQs
article

File Management

format_list_bulleted 0 MCQs