
OPERATING_SYSYTEMS2
Authored by Nithya shree
Computers
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The two types of semaphores are-
Counting and decimal semaphore
Counting and binary semaphore
Counting and mutex
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The main purpose of thread synchronization is to:
Ensure that only one thread can access the resource at any given time
Make sure that threads run at the same speed
Prevent threads from executing
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the Dining Philosophers Problem, deadlock can be avoided by:
Allowing only four philosophers to sit at the table at any time
Requiring philosophers to pick up both forks at the same time
Philosophers must request the waiter's permission to pick up forks
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Banker's algorithm is used for:
Detecting deadlocks
Preventing deadlocks
Memory allocation
Process scheduling
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A critical section is:
A section of code that can be executed by multiple threads simultaneously
A section of code that requires mutual exclusion in access
A section of memory allocated to the OS
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In POSIX threads (pthreads), which function is used to initialize a mutex?
pthread_mutex_init
pthread_create
pthread_mutex_lock
pthread_join
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a Memory Management Unit (MMU) in a computer system?
To enhance the CPU speed
To manage disk storage
To translate virtual addresses to physical addresses
To monitor system performance
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Wealth Showcases - VII
Quiz
•
Professional Development
10 questions
CyberAnalysis - Язык баз данных
Quiz
•
Professional Development
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
10 questions
all star
Quiz
•
Professional Development
10 questions
Handling sensitve information on conference calls
Quiz
•
Professional Development
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
10 questions
Big Data Analytics - Week 2 (Data storage)
Quiz
•
University - Professi...
13 questions
Guess the Video Game Pets 1
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L5_22-23
Lesson
•
KG - Professional Dev...
10 questions
March Quiz
Quiz
•
Professional Development
5 questions
Copy of G5_U6_L8_22-23
Lesson
•
KG - Professional Dev...
10 questions
suffixes FUL OR LESS
Quiz
•
Professional Development