
Synchronization Tools
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
Hiền Phan
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Câu 1: Race Condition xảy ra khi nào?
Khi một tiến trình độc quyền truy cập biến chia sẻ
Khi nhiều tiến trình cùng truy cập và thay đổi biến chia sẻ mà không có cơ chế đồng bộ
Khi hệ thống ngừng hoạt động
Khi CPU bị quá tải
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Yêu cầu nào KHÔNG thuộc giải pháp cho Critical-Section Problem?
Mutual Exclusion
Progress
Bounded Waiting
Deadlock Prevention
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Giải pháp Peterson sử dụng những biến chia sẻ nào?
turn và flag[2]
Chỉ turn
Chỉ flag[2]
mutex và semaphore
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Tại sao Peterson’s Solution có thể không hoạt động trên kiến trúc hiện đại?
Do xung đột phần cứng
Do trình biên dịch/hệ thống reorder các instruction độc lập
Do bộ nhớ cache bị đầy
Do lỗi hệ điều hành
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Hardware instruction nào sau đây dùng để đảm bảo atomicity?
fork()
test_and_set()
malloc()
printf()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Mutex lock khác với Semaphore ở điểm nào?
Mutex chỉ có giá trị Lock và Unlock, Semaphore có thể là số nguyên dương
Mutex dùng cho đa CPU, Semaphore cho đơn CPU
Mutex không cần busy waiting
Semaphore không hỗ trợ atomic operation
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Monitor là gì?
Một công cụ phần cứng để đồng bộ hóa
Một abstract data type đảm bảo chỉ một tiến trình được hoạt động bên trong tại một thời điểm
Một loại semaphore đặc biệt
Một cơ chế để gỡ lỗi race condition
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
12 questions
TƯ TƯỞNG HỒ CHÍ MINH
Quiz
•
University
15 questions
Mini game
Quiz
•
University
12 questions
Nhóm 3
Quiz
•
University
10 questions
TTHCM
Quiz
•
University
10 questions
Thể dục 6
Quiz
•
KG - University
15 questions
Kiểm tra số 1 - PL
Quiz
•
University
15 questions
Trắc nghiệm ôn tập Chương 2 - NLKT
Quiz
•
University
15 questions
[MG] Câu hỏi training SprinGen
Quiz
•
12th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
