試卷名稱:112年 - 112 學士後醫學系招生考試試題:計算機概論與程式設計#137106
年份:112年
科目:【阿摩】未分類題庫
8. Which of the followings is an example of a race condition in a multi-threaded program?
(A) A thread waiting indefinitely for a resource.
(B) A deadlock caused by two threads trying to acquire each other's locks.
(C) Two threads executing concurrently and attempting to access shared data without synchronization.
(D) A thread executing multiple times when it should only execute once.
(E) None of the above.