Search Header Logo

Operating System Concepts Quiz

Authored by Juliet Rozario

Other

University

Operating System Concepts Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the classical problem used to test newly-proposed synchronization schemes?

Dining-Philosophers Problem

Readers and Writers Problem

Cache Coherence Problem

Bounded-Buffer Problem

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Bounded-Buffer Problem, what is the initial value of the semaphore 'full'?

1

0

n

Unspecified

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do readers do in the Readers-Writers Problem?

Block other processes

Perform updates on the data set

Both read and write the data set

Only read the data set

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Dining-Philosophers Problem, how many philosophers sit at the round table?

4

5

6

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the structure of the producer process in the Bounded-Buffer Problem?

wait(mutex); wait(full); signal(empty); signal(mutex);

wait(empty); wait(mutex); signal(mutex); signal(full);

wait(full); wait(mutex); signal(mutex); signal(empty);

wait(mutex); wait(empty); signal(full); signal(mutex);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the problem with the Dining-Philosophers Problem algorithm?

Infinite Loop

Deadlock

Race Condition

Starvation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the shared data in the Readers-Writers Problem?

Semaphore chopstick [5] initialized to 1

Semaphore rw_mutex initialized to 1

Integer read_count initialized to 0

Data set

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?