18 Async & Event Loop questions from the JavaScript bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Sign up free to see every answer with its explanation and ask the AI tutor.
A.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
B.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
C.syntax that pauses an async function until a promise settles and itself returns a promise
D.the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
Answer + AI explanation with a free account
2. Which term means: "the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats"?
Senior
A.Event loop
B.async/await
C.Macrotask vs microtask ordering
D.Promise.all vs Promise.race
Answer + AI explanation with a free account
3. Which statement is correct?
Senior
A.Event loop — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
B.Event loop — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
C.Event loop — syntax that pauses an async function until a promise settles and itself returns a promise
D.Event loop — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
Answer + AI explanation with a free account
4. What is Microtask queue?
Senior
A.syntax that pauses an async function until a promise settles and itself returns a promise
B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
C.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
D.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
Answer + AI explanation with a free account
5. Which term means: "the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering"?
Senior
A.Promise
B.Microtask queue
C.async/await
D.Event loop
Answer + AI explanation with a free account
6. Which statement is correct?
Senior
A.Microtask queue — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
B.Microtask queue — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
C.Microtask queue — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
D.Microtask queue — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
Answer + AI explanation with a free account
7. What is Promise?
Junior
A.the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
C.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
D.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
Answer + AI explanation with a free account
8. Which term means: "an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state"?
Junior
A.Microtask queue
B.Event loop
C.Promise
D.Promise.all vs Promise.race
Answer + AI explanation with a free account
9. Which statement is correct?
Junior
A.Promise — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
B.Promise — a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
C.Promise — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
D.Promise — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
Answer + AI explanation with a free account
10. What is async/await?
Mid
A.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
C.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
D.syntax that pauses an async function until a promise settles and itself returns a promise
Answer + AI explanation with a free account
11. Which term means: "syntax that pauses an async function until a promise settles and itself returns a promise"?
Mid
A.Promise
B.async/await
C.Microtask queue
D.Macrotask vs microtask ordering
Answer + AI explanation with a free account
12. Which statement is correct?
Mid
A.async/await — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
B.async/await — syntax that pauses an async function until a promise settles and itself returns a promise
C.async/await — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
D.async/await — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
Answer + AI explanation with a free account
13. What is Promise.all vs Promise.race?
Mid
A.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
C.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
D.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
Answer + AI explanation with a free account
14. Which term means: "all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle"?
Mid
A.Promise
B.async/await
C.Macrotask vs microtask ordering
D.Promise.all vs Promise.race
Answer + AI explanation with a free account
15. Which statement is correct?
Mid
A.Promise.all vs Promise.race — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
B.Promise.all vs Promise.race — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
C.Promise.all vs Promise.race — a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
D.Promise.all vs Promise.race — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
Answer + AI explanation with a free account
16. What is Macrotask vs microtask ordering?
Senior
A.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
B.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
C.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
D.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
Answer + AI explanation with a free account
17. Which term means: "a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)"?
Senior
A.Promise
B.Promise.all vs Promise.race
C.async/await
D.Macrotask vs microtask ordering
Answer + AI explanation with a free account
18. Which statement is correct?
Senior
A.Macrotask vs microtask ordering — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
B.Macrotask vs microtask ordering — a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
C.Macrotask vs microtask ordering — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
D.Macrotask vs microtask ordering — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
Answer + AI explanation with a free account
Free to start
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.