Review (Quiz)
This lesson contains all of the recap quizzes from all of the lessons in this module. I have added headers to each group of quizzes so that you know which lesson to go back and study if you get stuck. Good luck!
What is an Observable?
Which of the following is NOT a reasonable description of the observer pattern?
Incorrect. This is an accurate description.
Incorrect. This is an accurate description.
Correct. This is NOT an accurate description of the observer pattern
What methods does an Observer implement?
Incorrect. Subscribe and Unsubscribe are methods of an Observable, not an Observer
Correct!
Incorrect
How do we pass an Observer to an Observable?
Correct!
Incorrect
Incorrect
Which of the following is NOT the role of an Observable?
Incorrect
Incorrect
Correct! Deciding what to do with the values produced by the Observable is the role of the Observer, not the Observable
What is one key difference between cold/unicast and hot/multicast observables?
Correct!
Incorrect. Both types of observables can emit one or more values over time
Incorrect
A (standard) Observable is a...
Correct!
Incorrect
A Subject is a...
Incorrect
Correct
How do we define the value production logic for a cold Observable?
Incorrect. This is what we would do with a hot Observable (e.g. a Subject)
Incorrect
Correct!
How do we define the value production logic for a hot Observable (e.g. a Subject)?
Correct
Incorrect
Incorrect
An Introduction to RxJS
What are the two types of operators RxJS provides?
Incorrect
Correct!
Incorrect
What does a creation operator do?
Correct!
Incorrect
Incorrect
What does a pipeable operator do?
Incorrect. This is close, but a pipeable operator does not modify the existing stream - it can use an existing stream as input, but it will return a new stream
Correct!