1. What is async/await ? Mid 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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account