RxJS MCQs with answers Page - 4

Here, you will find a collection of MCQ questions on RxJS. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

F

Fox Root • 195 Points
Mover

Q. What does throttleTime() do?

  • (A) Delays all emissions
  • (B) Limits emission rate by ignoring values for a period
  • (C) Repeats emissions
  • (D) Cancels subscription

F

Fox Root • 195 Points
Mover

Q. Which operator converts a Promise into an Observable?

  • (A) from()
  • (B) of()
  • (C) defer()
  • (D) timer()

F

Fox Root • 195 Points
Mover

Q. Which operator ensures only one inner Observable runs at a time and ignores new ones?

  • (A) switchMap()
  • (B) mergeMap()
  • (C) concatMap()
  • (D) exhaustMap()

F

Fox Root • 195 Points
Mover

Q. Which operator runs inner Observables sequentially?

  • (A) mergeMap()
  • (B) concatMap()
  • (C) switchMap()
  • (D) exhaustMap()

F

Fox Root • 195 Points
Mover

Q. Which operator emits only when the value changes?

  • (A) distinctUntilChanged()
  • (B) filter()
  • (C) scan()
  • (D) every()

F

Fox Root • 195 Points
Mover

Q. What is a cold Observable?

  • (A) An Observable shared among all subscribers
  • (B) An Observable that starts execution on subscription
  • (C) An Observable stored in memory
  • (D) An Observable that never completes

F

Fox Root • 195 Points
Mover

Q. What is a hot Observable?

  • (A) Starts emitting before subscription
  • (B) Always throws errors
  • (C) Runs only once
  • (D) Only works with HTTP

F

Fox Root • 195 Points
Mover

Q. Which operator groups emitted values by a key?

  • (A) groupBy()
  • (B) partition()
  • (C) filter()
  • (D) map()

F

Fox Root • 195 Points
Mover

Q. Which operator delays emissions for a specific time?

  • (A) delay()
  • (B) pause()
  • (C) wait()
  • (D) sleep()

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ