inter process premitives Quiz

inter process premitives Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

Quizizz M1-3 Round 1

Quizizz M1-3 Round 1

9th - 12th Grade

30 Qs

Operating System MCQs

Operating System MCQs

11th - 12th Grade

30 Qs

IBA Ch 2-6 (Practice)

IBA Ch 2-6 (Practice)

8th - 12th Grade

30 Qs

Writing TEst

Writing TEst

KG - University

20 Qs

Memory and Process Management Concepts

Memory and Process Management Concepts

12th Grade

20 Qs

Quiz Sandi dan Komunikasi

Quiz Sandi dan Komunikasi

9th - 12th Grade

28 Qs

CA 5-6 UNITS QUIZ

CA 5-6 UNITS QUIZ

12th Grade

20 Qs

inter process premitives Quiz

inter process premitives Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Nantika easwaran

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a critical section in an operating system?

A sequence of instructions that must be executed by a single thread

A region in code that accesses a shared resource

A segment of memory reserved for interrupts

An isolated function that does not require synchronization

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why must access to shared resources be atomic?

To enable faster execution

To ensure no two threads write simultaneously

To allow context switches during execution

To disable task switching

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a drawback of disabling interrupts?

It allows task switching

It degrades system performance

It ensures multiple threads access shared data simultaneously

It simplifies system design

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a multicore system, disabling interrupts affects:

Only the core where interrupts are disabled

All cores simultaneously

The entire system's execution

Only task switching

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a spin lock?

To allow multiple threads to access shared resources simultaneously

To prevent threads from entering a critical section while it is in use

To increase context switching efficiency

To replace mutexes and semaphores

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a major disadvantage of spin locks?

They block all threads

They involve high computational overhead

They disable interrupts permanently

They allow context switches unnecessarily

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a Mutex differ from a semaphore?

A Mutex is owned by a specific thread

A Mutex uses counting, while a semaphore does not

A Semaphore cannot be used for synchronization

A Mutex is less efficient than a semaphore

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?