OS UNIT 2

OS UNIT 2

University

5 Qs

quiz-placeholder

Similar activities

Basics of C

Basics of C

University

10 Qs

Team Foxtrot Bias AI quiz

Team Foxtrot Bias AI quiz

University

10 Qs

Java evolution

Java evolution

University

10 Qs

Ofimática básico e intermedio - Generación de computadores

Ofimática básico e intermedio - Generación de computadores

University

10 Qs

Parallel & Distributed Database

Parallel & Distributed Database

University

10 Qs

COS3721 Chapter 1 Quiz

COS3721 Chapter 1 Quiz

University

6 Qs

linux basics

linux basics

9th Grade - University

10 Qs

ITESA Roadmap Event 12-09-24

ITESA Roadmap Event 12-09-24

University

10 Qs

OS UNIT 2

OS UNIT 2

Assessment

Quiz

Computers

University

Hard

Created by

M Kanipriya

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the other parameter from the following on Scheduling Problem, which have k jobs (P1, P2, P3...Pk) ready to run and CPUs to run the jobs as

n > 1 CPUs

n ≥ 1 CPUs

n < 1 CPUs

n < 1 CPUs

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Produce / Give the Throughput value, where the processor run jobs in order that they arrive as “First-come first-served” (FCFS).

10 jobs/sec

0.01 jobs/sec

0.1 jobs/sec

1 jobs/sec

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

    A counting semaphore was initialized to 10. Then 6 P (wait) operations and 4 V (signal) operations were completed on this semaphore. The resulting value of the semaphore

0

8

10

12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  The following two functions P1 and P2 that share a variable B with an initial value of 2 execute concurrently.

P1( )

{

C=B-1;

B=2*C;

}

P2( )

{

D=2*B;

B=D-1;

}

The number of distinct values that B can possibly take after the execution is___________

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A solution to the Dining Philosophers Problem which avoids deadlock is

ensure that all philosophers pick up the left fork before the right fork

ensure that all philosophers pick up the right fork before the left fork

ensure that one particular philosopher picks up the left fork before the right fork, and that all other philosophers pick up the right fork before the left fork

None of the above