1 / 5
What library provides Python's native async support?
-
-
-
-
asyncio is the standard library for writing concurrent code using the async/await syntax and an event loop.
2 / 5
What does the await keyword do?
-
-
-
-
await suspends the current coroutine, yielding control back to the event loop until the awaited awaitable resolves.
3 / 5
What is a coroutine?
-
-
-
-
A coroutine is created by calling an async def function; it does not run until awaited or scheduled on the event loop.
4 / 5
What does asyncio.gather do?
-
-
-
-
asyncio.gather schedules several awaitables to run concurrently and returns their results as a list once all complete.
5 / 5
What runs and schedules coroutines in asyncio?
-
-
-
-
The event loop drives execution, resuming coroutines as their awaited operations become ready, enabling single-threaded concurrency.