1. What is yield ? Junior A. a keyword that pauses a function and emits a value, resuming from the same point on the next request B. a function containing yield that returns a lazy producer of values instead of computing them all at once C. the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread D. a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop Reveal the answer + AI explanation — free account
2. Which term means: "a keyword that pauses a function and emits a value, resuming from the same point on the next request"? Junior A. coroutine B. event loop C. await D. yield Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. yield — the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread B. yield — a keyword that pauses a function and emits a value, resuming from the same point on the next request C. yield — a function declared with async def whose execution can be suspended and resumed at await points D. yield — a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop Reveal the answer + AI explanation — free account
4. What is generator function ? Mid A. a function declared with async def whose execution can be suspended and resumed at await points B. a keyword that pauses a function and emits a value, resuming from the same point on the next request C. a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop D. a function containing yield that returns a lazy producer of values instead of computing them all at once Reveal the answer + AI explanation — free account
5. Which term means: "a function containing yield that returns a lazy producer of values instead of computing them all at once"? Mid A. event loop B. generator function C. coroutine D. yield Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. generator function — a function containing yield that returns a lazy producer of values instead of computing them all at once B. generator function — a function declared with async def whose execution can be suspended and resumed at await points C. generator function — a keyword that pauses a function and emits a value, resuming from the same point on the next request D. generator function — a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop Reveal the answer + AI explanation — free account
7. What is coroutine ? Mid A. a function containing yield that returns a lazy producer of values instead of computing them all at once B. a function declared with async def whose execution can be suspended and resumed at await points C. a keyword that pauses a function and emits a value, resuming from the same point on the next request D. a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop Reveal the answer + AI explanation — free account
8. Which term means: "a function declared with async def whose execution can be suspended and resumed at await points"? Mid A. generator function B. coroutine C. yield D. event loop Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. coroutine — a keyword that pauses a function and emits a value, resuming from the same point on the next request B. coroutine — a function containing yield that returns a lazy producer of values instead of computing them all at once C. coroutine — the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread D. coroutine — a function declared with async def whose execution can be suspended and resumed at await points Reveal the answer + AI explanation — free account
10. What is await ? Mid A. a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop B. a function containing yield that returns a lazy producer of values instead of computing them all at once C. a function declared with async def whose execution can be suspended and resumed at await points D. a keyword that pauses a function and emits a value, resuming from the same point on the next request Reveal the answer + AI explanation — free account
11. Which term means: "a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop"? Mid A. yield B. coroutine C. generator function D. await Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. await — a function declared with async def whose execution can be suspended and resumed at await points B. await — a function containing yield that returns a lazy producer of values instead of computing them all at once C. await — a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop D. await — the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread Reveal the answer + AI explanation — free account
13. What is event loop ? Senior A. the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread B. a function containing yield that returns a lazy producer of values instead of computing them all at once C. a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop D. a keyword that pauses a function and emits a value, resuming from the same point on the next request Reveal the answer + AI explanation — free account
14. Which term means: "the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread"? Senior A. generator function B. event loop C. await D. coroutine Reveal the answer + AI explanation — free account
15. Which statement is correct? Senior A. event loop — a keyword that suspends a coroutine until the operand it precedes completes, yielding control to the event loop B. event loop — the asyncio scheduler that runs coroutines, manages I/O readiness, and drives concurrency on a single thread C. event loop — a function containing yield that returns a lazy producer of values instead of computing them all at once D. event loop — a function declared with async def whose execution can be suspended and resumed at await points Reveal the answer + AI explanation — free account