
inter process premitives Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
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
Similar Resources on Wayground
20 questions
Processor and Fetch Execute Cycle

Quiz
•
12th Grade
20 questions
OS C-21 (UNITS 3 & 4)

Quiz
•
12th Grade
21 questions
Week 5

Quiz
•
12th Grade
20 questions
7.2.1 Understand the features and use of operating systems

Quiz
•
12th Grade
25 questions
cs15_mt_w3_quiz1_2025-2026

Quiz
•
12th Grade
30 questions
Social Media Quiz

Quiz
•
12th Grade
30 questions
General Knowledge in Computer Science

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade