Quiz on Operating  System -UNIT-II

Quiz on Operating System -UNIT-II

University

25 Qs

quiz-placeholder

Similar activities

Data Structure & Algo - Prelim Long Quiz

Data Structure & Algo - Prelim Long Quiz

University

21 Qs

fun codeing

fun codeing

11th Grade - Professional Development

20 Qs

OS -2

OS -2

University

30 Qs

เทคโนโลยี ม.4 (กลางภาค)

เทคโนโลยี ม.4 (กลางภาค)

University

20 Qs

Computer Science

Computer Science

University

20 Qs

ICT

ICT

University

20 Qs

Introduction to Machine Learning

Introduction to Machine Learning

University - Professional Development

20 Qs

Techincal Quiz

Techincal Quiz

University

30 Qs

Quiz on Operating  System -UNIT-II

Quiz on Operating System -UNIT-II

Assessment

Quiz

Computers

University

Hard

Created by

BASKAR M

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the critical section in concurrent programming?

Improve CPU utilization

Protect shared resources from concurrent access

Speed up execution time

Increase parallelism

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a requirement for solving the critical section problem?

Mutual Exclusion

Progress

Deadlock

Bounded Waiting

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is mutual exclusion?

Allowing multiple threads to access the same resource

Preventing concurrent access to shared resources

A type of scheduling algorithm

A form of recursion

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Peterson's Algorithm, which data structure ensures turn-based access to critical section?

Stack

Queue

Array

Turn variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Peterson’s algorithm works for how many processes?

Any number

2 only

3 only

4 only

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is a software solution to mutual exclusion?

Peterson’s Algorithm

Mutex lock

Semaphore

Monitor

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Lamport's Bakery Algorithm, each process gets a:

Random number

Unique token

Ticket number

Priority queue

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?