Quiz1
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Jonathan Perry
Used 1+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
20 sec • 2 pts
If a lock uses a boolean for implementation, what does a semaphore use?
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Multiple threads could return from a sem_wait() without having had any sem_post() called
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
When referring to semaphores, V() is equivalent to sem_wait()
True
False
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What should the initial value of a semaphore be to implement waiting on a thread (i.e. join)?
-1
0
1
2
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Any semaphore initialized to 1 could be directly replaced by a lock
True
False
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
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
7 questions
Data mining-Clustering-1
Quiz
•
University
10 questions
Google Digital Citizenship - Class 1 - True and False
Quiz
•
5th Grade - University
10 questions
DISEÑO E INNOVACIÓN DEL PROCESO
Quiz
•
University
10 questions
Programación Movil II - Parte 6
Quiz
•
University
10 questions
DIDACITCA/P-2
Quiz
•
University
10 questions
Cuestionario sobre Robótica
Quiz
•
5th Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
