
synchronization
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Medium
Tuan Minh
Used 58+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In the reader/writer synchronization scheme, when some processes are reading
a new writer can write
a new writer cannot write
a new reader can read
a new reader cannot read
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In the reader/writer synchronization scheme, when a process is writing
a new writer can write
a new writer cannot write
a new reader can read
a new reader cannot read
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
With Posix monitors, when you call pthread_cond_signal(&condition);
the next thread which calls pthread_cond_wait() on the condition will not block
one thread which is blocked on the condition is resumed
if no thread is blocked on the condition, nothing happens and the signal is lost
all the threads which are blocked on the condition are resumed
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
With semaphores, the P() function
suspends the calling process if the counter is positive
suspends the calling process if the counter is negative
increments the counter
decrements the counter
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In a Posix monitor, what happens if we don't use the mutex lock ?
the executing thread can block
the shared data may become unconsistent
we can have a deadlock
all the threads can access the shared data at the same time
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In the prodcons labwork with the products and freeslots conditions
possibly no threads are blocked on any of the two conditions
possibly threads are blocked on both conditions
if threads are blocked, they are all blocked on the same condition
a thread can block at the same time on both conditions
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In the prodcons labwork, the buffer will be most of the time
empty if we create more producer threads
full if we create more producer threads
empty if we create more consumer threads
full if we create more consumer threads
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
10 questions
Knowledge Check - 2
Quiz
•
Professional Development
10 questions
[March] Download (+) Assessment
Quiz
•
Professional Development
10 questions
Front-End Development Beginner Knowledge Test
Quiz
•
Professional Development
10 questions
WORKSHOP: HEALTHCARE DATA LAKEHOUSE IN ACTION
Quiz
•
Professional Development
10 questions
Apple
Quiz
•
Professional Development
10 questions
Project Management Bespoke Lesson 2
Quiz
•
Professional Development
10 questions
How Cyber Safe Are You? Part 4
Quiz
•
Professional Development
10 questions
Online Communication and Media Literacy Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
