15 Concurrency questions from the Swift bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
B.a unit of asynchronous work that runs concurrently and can be awaited or cancelled
C.a reference type that serializes access to its mutable state to prevent data races
D.keywords letting a function suspend and resume so asynchronous code reads sequentially
Answer + AI explanation with Pro
2. Which term means: "keywords letting a function suspend and resume so asynchronous code reads sequentially"?
Mid
A.Sendable
B.Task
C.async/await
D.DispatchQueue
Answer + AI explanation with Pro
3. Which statement is correct?
Mid
A.async/await — an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
B.async/await — a reference type that serializes access to its mutable state to prevent data races
C.async/await — a unit of asynchronous work that runs concurrently and can be awaited or cancelled
D.async/await — keywords letting a function suspend and resume so asynchronous code reads sequentially
Answer + AI explanation with Pro
4. What is Actor?
Senior
A.a reference type that serializes access to its mutable state to prevent data races
B.a marker indicating a type is safe to pass across concurrency boundaries without races
C.an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
D.keywords letting a function suspend and resume so asynchronous code reads sequentially
Answer + AI explanation with Pro
5. Which term means: "a reference type that serializes access to its mutable state to prevent data races"?
Senior
A.Actor
B.Task
C.async/await
D.Sendable
Answer + AI explanation with Pro
6. Which statement is correct?
Senior
A.Actor — a reference type that serializes access to its mutable state to prevent data races
B.Actor — keywords letting a function suspend and resume so asynchronous code reads sequentially
C.Actor — a unit of asynchronous work that runs concurrently and can be awaited or cancelled
D.Actor — a marker indicating a type is safe to pass across concurrency boundaries without races
Answer + AI explanation with Pro
7. What is Task?
Mid
A.a reference type that serializes access to its mutable state to prevent data races
B.keywords letting a function suspend and resume so asynchronous code reads sequentially
C.a unit of asynchronous work that runs concurrently and can be awaited or cancelled
D.a marker indicating a type is safe to pass across concurrency boundaries without races
Answer + AI explanation with Pro
8. Which term means: "a unit of asynchronous work that runs concurrently and can be awaited or cancelled"?
Mid
A.DispatchQueue
B.Task
C.Actor
D.async/await
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Task — a unit of asynchronous work that runs concurrently and can be awaited or cancelled
B.Task — a marker indicating a type is safe to pass across concurrency boundaries without races
C.Task — an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
D.Task — keywords letting a function suspend and resume so asynchronous code reads sequentially
Answer + AI explanation with Pro
10. What is Sendable?
Senior
A.keywords letting a function suspend and resume so asynchronous code reads sequentially
B.a unit of asynchronous work that runs concurrently and can be awaited or cancelled
C.an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
D.a marker indicating a type is safe to pass across concurrency boundaries without races
Answer + AI explanation with Pro
11. Which term means: "a marker indicating a type is safe to pass across concurrency boundaries without races"?
Senior
A.Sendable
B.DispatchQueue
C.Task
D.async/await
Answer + AI explanation with Pro
12. Which statement is correct?
Senior
A.Sendable — a unit of asynchronous work that runs concurrently and can be awaited or cancelled
B.Sendable — an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
C.Sendable — a reference type that serializes access to its mutable state to prevent data races
D.Sendable — a marker indicating a type is safe to pass across concurrency boundaries without races
Answer + AI explanation with Pro
13. What is DispatchQueue?
Junior
A.a reference type that serializes access to its mutable state to prevent data races
B.an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
C.keywords letting a function suspend and resume so asynchronous code reads sequentially
D.a unit of asynchronous work that runs concurrently and can be awaited or cancelled
Answer + AI explanation with Pro
14. Which term means: "an object from Grand Central Dispatch that schedules blocks of work serially or in parallel"?
Junior
A.Actor
B.Sendable
C.async/await
D.DispatchQueue
Answer + AI explanation with Pro
15. Which statement is correct?
Junior
A.DispatchQueue — a unit of asynchronous work that runs concurrently and can be awaited or cancelled
B.DispatchQueue — a reference type that serializes access to its mutable state to prevent data races
C.DispatchQueue — a marker indicating a type is safe to pass across concurrency boundaries without races
D.DispatchQueue — an object from Grand Central Dispatch that schedules blocks of work serially or in parallel
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Concurrency question come with Pro.