
OPERATING_SYSYTEMS2

Quiz
•
Computers
•
Professional Development
•
Hard
Nithya shree
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Introduction to AI and Cyber security

Quiz
•
University - Professi...
15 questions
ITF - Quiz 8.1 - System Memory and RAM

Quiz
•
Professional Development
12 questions
Understanding of RAM

Quiz
•
Professional Development
8 questions
GO4! Quiz Zeriuz Day 13

Quiz
•
Professional Development
15 questions
Reentrant lock

Quiz
•
Professional Development
10 questions
DECI - Week 2 - round

Quiz
•
Professional Development
15 questions
Systems Architecture GCSE

Quiz
•
Professional Development
10 questions
BASIC OF COMPUTER

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade