Async & Event Loop interview questions

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.

Practice Async & Event Loop free

1. What is Event loop?

Senior
  1. A.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  2. B.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
  3. C.syntax that pauses an async function until a promise settles and itself returns a promise
  4. 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
  1. A.Event loop
  2. B.async/await
  3. C.Macrotask vs microtask ordering
  4. D.Promise.all vs Promise.race

Answer + AI explanation with a free account

3. Which statement is correct?

Senior
  1. A.Event loop — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  2. B.Event loop — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
  3. C.Event loop — syntax that pauses an async function until a promise settles and itself returns a promise
  4. 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
  1. A.syntax that pauses an async function until a promise settles and itself returns a promise
  2. B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  3. C.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
  4. 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
  1. A.Promise
  2. B.Microtask queue
  3. C.async/await
  4. D.Event loop

Answer + AI explanation with a free account

6. Which statement is correct?

Senior
  1. A.Microtask queue — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
  2. B.Microtask queue — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  3. C.Microtask queue — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  4. 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
  1. A.the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
  2. B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  3. C.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  4. 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
  1. A.Microtask queue
  2. B.Event loop
  3. C.Promise
  4. D.Promise.all vs Promise.race

Answer + AI explanation with a free account

9. Which statement is correct?

Junior
  1. A.Promise — all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
  2. B.Promise — a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
  3. C.Promise — an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  4. 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
  1. A.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  2. B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  3. C.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
  4. 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
  1. A.Promise
  2. B.async/await
  3. C.Microtask queue
  4. D.Macrotask vs microtask ordering

Answer + AI explanation with a free account

12. Which statement is correct?

Mid
  1. A.async/await — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  2. B.async/await — syntax that pauses an async function until a promise settles and itself returns a promise
  3. C.async/await — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
  4. 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
  1. A.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
  2. B.an object representing the eventual result of an async operation, in a pending, fulfilled, or rejected state
  3. C.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
  4. 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
  1. A.Promise
  2. B.async/await
  3. C.Macrotask vs microtask ordering
  4. D.Promise.all vs Promise.race

Answer + AI explanation with a free account

15. Which statement is correct?

Mid
  1. 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
  2. B.Promise.all vs Promise.race — the runtime loop that empties the call stack, drains all microtasks, then runs one macrotask, and repeats
  3. C.Promise.all vs Promise.race — a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
  4. 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
  1. A.all resolves when every promise resolves and rejects on the first rejection; race settles with the first promise to settle
  2. B.the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  3. C.a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
  4. 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
  1. A.Promise
  2. B.Promise.all vs Promise.race
  3. C.async/await
  4. D.Macrotask vs microtask ordering

Answer + AI explanation with a free account

18. Which statement is correct?

Senior
  1. A.Macrotask vs microtask ordering — the queue of promise callbacks and queueMicrotask jobs, drained fully after each task and before rendering
  2. B.Macrotask vs microtask ordering — a resolved promise's .then (microtask) runs before a setTimeout(0) callback (macrotask)
  3. 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
  4. 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.

Practice Async & Event Loop free
24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers