All challenges
Multiple ChoiceIntermediate 30s

Lock Purpose

Choose the best answer for: threading.Lock
Options
  1. 1Lock is a primitive used to coordinate coroutines
  2. 2Lock prevents race conditions on shared data
  3. 3Lock creates new threads to spread work across the CPU
  4. 4Lock speeds up threads by parallelizing their execution

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle