Brisk
Quiz
Practice. Learn. Score.
Home
🔍
🌙
🏆
Leaderboard
Login
IT
›
Angular
⏱
00:00
0/7 answered
Score: 0
🔀 Click here to get new question set
Sign up
to save this score to the leaderboard.
Question 1
How do you navigate programmatically to a different route from within a component method?
Use a structural directive in the template
Call the undocumented ActivatedRoute.go() method
Set window.location.href to the new path directly
Inject Router and call its navigate method
Question 2
What module must be imported to use [(ngModel)] two-way binding in a component?
FormsModule
HttpClientModule
CommonModule
RouterModule
Question 3
What does Angular's HttpClient.get() method return?
A synchronous response value
An Observable of the response
The raw XMLHttpRequest object
A Promise of the response
Question 4
What does 'debounceTime' do in an RxJS pipeline, commonly applied to a search input?
Waits for a pause, then emits the value
Delays only the very first emitted value
Emits every incoming value immediately
Removes any duplicate consecutive values
Question 5
What method do you call on an Observable to start receiving its emitted values?
.then()
.emit()
.subscribe()
.resolve()
Question 6
How do you typically handle an error from an HttpClient call using RxJS?
Attach a global window.onerror handler for it
Use the catchError operator in the pipeline
Wrap the .subscribe() call in a try-catch block
Rely on the async pipe to swallow it automatically
Question 7
What is 'zone.js' traditionally responsible for in Angular's change detection?
Handling transitions between different routes
Compiling component templates ahead of time
Patches async APIs so Angular knows to check
Managing retries for failed HTTP requests
🔀 Click here to get new question set
Sign up
to save this score to the leaderboard.
Share this quiz
𝕏
💬
f
in
🔗
📚 All Quizzes
Browse every category and see the full list of quizzes on BriskQuiz
→
🏠
Home
📚
Categories
🏆
Leaderboard
👤
Profile