Quizzes
Search
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
Midterm - Quiz 2
12 Questions
|
By Carlo B. | Updated: Mar 14, 2022
| Attempts: 52
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 12
0 %
0/100
Score
0/100
1.
For thread scynchronization outside the kernel, Windows provides _____ . Using it, threads synchronize according to several different mechanisms, including mutex locks, semaphores, events, and timers. The system protects shared data by requiring a thread to gain ownership of a mutex to access the data and to release ownership when it is finished.
Submit
Start Quiz
About This Quiz
2.
What's your name?
We’ll put your name on your report, certificate, and leaderboard.
2.
A spinlock is a type of mutex lock because the process loops while waiting for the lock to become available.
True
False
Submit
3.
What is the term for describing the situation where shared data may be manipulated concurrently and the outcome of the execution depends upon the order of access? _____
Submit
4.
How many writers may concurrently open the database with the readers-writers problem? _____ (answer in numeric form)
Submit
5.
There are no guarantees Peterson's solution works correctly on modern computer architectures.
True
False
Submit
6.
A counting semaphore is functionally equivalent to a mutex lock because it provides a 0 or a 1 value to indicate mutual exclusion.
True
False
Submit
7.
A nonpreemptive kernel is essentially free from race conditions.
True
False
Submit
8.
What is the term used to describe the segment of code where shared data is accessed and possibly manipulated? _____
Submit
9.
Linux uses spinlocks for both single and multiple processor systems.
True
False
Submit
10.
The only operations that can be invoked on a condition variable are _____ and _____. (answer in correct order of operation)
Submit
11.
Many modern computer systems therefore provide special hardware instructions that provides the solution to synchronization problem. The _____ operates on a single variable while the _____ on three variables.
Submit
12.
What are the two functions used when mutex locks? _____ and _____ (answer in according to the order of execution.)
Submit
View My Results
Related Quizzes
Software Engineering Midterm 2
Software Engineering Midterm 2
Microbiology Midterm Review Quiz
Microbiology Midterm Review Quiz
Research Midterm Quiz V
Research Midterm Quiz V
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (12)
Unanswered (
)
Answered (
)
For thread scynchronization outside the kernel, Windows...
A spinlock is a type of mutex lock because the process loops while...
What is the term for describing the situation where shared data may be...
How many writers may concurrently open the database with the...
There are no guarantees Peterson's solution works correctly on...
A counting semaphore is functionally equivalent to a mutex lock...
A nonpreemptive kernel is essentially free from race conditions.
What is the term used to describe the segment of code where shared...
Linux uses spinlocks for both single and multiple processor systems.
The only operations that can be invoked on a condition variable are...
Many modern computer systems therefore provide special hardware...
What are the two functions used when mutex...
X
OK
X
OK
Cancel
X
OK
Cancel
Back to top
Back to top
Advertisement