Search Header Logo

Module1: OS

Authored by SUBHASH AGRAWAL

Computers

University

Used 4+ times

Module1: OS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Throughput is

Total number of instructions executed at any point of time

Number of instructions executed in unit of time

Number of instructions executed in 10 unit of time

None of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is responsible for CPU scheduling?

Long term scheduler

Mid term scheduler

Short term scheduler

None of the above

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

CPU Scheduling is applied in

Running state

Waiting state

Ready state

New state

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

To increase the priority of the processes to avoid the problem of starvation which of the following is used.

Aging

Paging

Segmentation

Fragmentation

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Consider five processes P1, P2, P3, P4, and P5 with their respective arrival time 0, 1, 2, 3, 4 and burst time 4, 3, 1, 2, 5. The average TAT for FCFS algorithm is

5.6

3.4

3.8

6.8

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.

4

3

2

1

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times (in milliseconds):

Process Arrival Time Burst Time

P1 0 12

P2 2 4

P3 3 6

P4 8 5

The average waiting time (in milliseconds) of the processes is _________.

4.5

5.5

6.8

7.5

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?