下列哪一個是OS提供的同步工具?(複選)
Ch06-Synchronization Tools_part2

Quiz
•
Computers
•
University
•
Hard
徐leo 徐leo
Used 3+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
memory barrier
mutex lock
semaphore
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
mutex lock 使用哪2個atomic function處理boolean variable?(複選)
wait ( )
acquire ( )
release ( )
signal ( )
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
以下對於busy waiting描述何者有誤?
process未能進入CS,只能不斷呼叫acquire( )或wait(),等待進入CS
搶不到CPU資源
執行過程是在浪費CPU資源
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
以下哪一個同步方法可以解決Busy waiting 問題?
memory barrier
semaphore
peterson's solution
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
以下哪一個對spinlock描述有誤?
是一種mutex lock
不須做context switch
沒有 busy waiting 問題
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
semaphore使用哪2個atomic function處理boolean variable?(複選)
wait ( )
acquire ( )
release ( )
signal ( )
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
以下哪一個是semaphore的正確使用方法?
wait (s);
critical section
signal (s);
wait (s);
critical section
wait (s);
signal (s);
critical section
wait (s);
signal (s);
critical section
signal (s);
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
OS在Uniprocessor system中,可以如何實踐semaphore,做到呼叫wait ( ) and signal ( ) 不會發生race condition?
disable interrupt
use test_and_set ( )
use compare_and_swap ( )
9.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
OS在multicore system中,可以如何實踐semaphore,做到呼叫wait ( ) and signal ( ) 不會發生race condition?
disable interrupt
使用硬體解決方案,test and set( ) or compare and swap( )
Similar Resources on Quizizz
9 questions
Ch06-Synchronization Tools_part3

Quiz
•
University
6 questions
operating system

Quiz
•
University
10 questions
資料視覺化|前測

Quiz
•
University
10 questions
3-1資料處理

Quiz
•
7th Grade - University
11 questions
計概 1-3

Quiz
•
University
10 questions
Operating-System Operations

Quiz
•
University
7 questions
ESBrotherX_Medical AI_Lecture

Quiz
•
University
10 questions
PROSES DAN SINKRONISASI

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade