Operating System Concepts Quiz

Operating System Concepts Quiz

University

15 Qs

quiz-placeholder

Similar activities

Revision Exercise

Revision Exercise

University

20 Qs

BASICS OF MECHATRONICS

BASICS OF MECHATRONICS

University

10 Qs

NERVOUS SYSTEM

NERVOUS SYSTEM

University

15 Qs

Fisika Matematika II

Fisika Matematika II

University

10 Qs

MODUL 1 ENG

MODUL 1 ENG

University

10 Qs

DE - UNIT 1 - 03.08.2020

DE - UNIT 1 - 03.08.2020

University

12 Qs

Operating System Concepts Quiz

Operating System Concepts Quiz

Assessment

Quiz

Other

University

Hard

Created by

Juliet Rozario

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?