Chapter 4_IPC_Synchronization
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
afizan azman
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of process synchronization?
To execute all processes at the same time
To avoid deadlock in the system
To coordinate processes accessing shared resources
To speed up CPU execution
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a race condition?
When two processes compete for CPU time
When multiple processes access shared data and the final result depends on which finishes last
When processes execute one after another
When a process runs faster than expected
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the critical-section problem?
A problem caused by too many threads
A situation where processes need to access shared data one at a time
An issue caused by faulty synchronization hardware
A memory management problem
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a requirement for solving the critical-section problem?
Mutual exclusion
Progress
Infinite waiting
Bounded waiting
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a process do when it enters a critical section using a lock?
It acquires exclusive access to a shared variable
It releases all resources
It pauses until the next process arrives
It waits for user input
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the TestAndSet mechanism, what happens if the lock is already set (locked)?
The process continues into the critical section
The process must wait until the lock is released
The process deletes the lock variable
The process resets the system
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between preemptive and non-preemptive kernels?
Preemptive kernels allow interruption during kernel mode; non-preemptive do not
Non-preemptive kernels are faster
Both allow multiple processes in kernel mode simultaneously
Non-preemptive kernels have race conditions
Create a free account and access millions of resources
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
15 questions
IT 209
Quiz
•
University
10 questions
Living in the IT Era
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
11 questions
Video Watermaking
Quiz
•
University
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
