Metadata
Technology & Computer Science Undergraduate Analyze Medium-
Subject
Technology & Computer Science
-
Education level
Undergraduate
-
Cognitive goals
Analyze
-
Difficulty estimate
Medium
-
Tags
[concurrency, multithreading, race conditions, deadlocks, synchronization, lock-free]
-
Number of questions
5
-
Created on
-
Generation source
-
License
CC0 Public domain
-
Prompt
[Assess students' ability to identify and analyze race conditions and deadlocks in short multithreaded code snippets, diagnose root causes, and design correct fixes using locks (mutexes, lock ordering), atomic operations (CAS, atomic loads/stores, memory ordering), and lock-free techniques; require explanation of correctness, performance trade-offs, and potential pitfalls (deadlock, livelock, ABA, priority inversion) and concrete code-level suggestions.]
Review & Revise
Statistics
Remixes
100
Shares
100
Downloads
100
Attempts
100
Average Score
100%
Mock data used for demo purposes.