Angular Quiz

Angular Quiz

Professional Development

35 Qs

quiz-placeholder

Similar activities

B18ziz05 Pauline Cullen's free IELTS book - Hoàng Mai

B18ziz05 Pauline Cullen's free IELTS book - Hoàng Mai

KG - Professional Development

30 Qs

Irregular verbs L-W

Irregular verbs L-W

5th Grade - Professional Development

31 Qs

NOUN 1-HOMEWORK

NOUN 1-HOMEWORK

Professional Development

34 Qs

Dotnet with Angular Final Quiz

Dotnet with Angular Final Quiz

Professional Development

30 Qs

London Vacation Travel Guide Vocabulary

London Vacation Travel Guide Vocabulary

Professional Development

30 Qs

B1: Technology Quiz

B1: Technology Quiz

Professional Development

30 Qs

Tropical Rainforests_Blank

Tropical Rainforests_Blank

1st Grade - Professional Development

31 Qs

Cam12 - Test 2 - L3 R2

Cam12 - Test 2 - L3 R2

Professional Development

34 Qs

Angular Quiz

Angular Quiz

Assessment

Quiz

English

Professional Development

Medium

Created by

Dotnet Quiz

Used 2+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of `ngZone` in Angular?
To manage routing
To detect changes outside Angular's context
To handle HTTP requests
To manage component lifecycle

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about `ChangeDetectionStrategy.OnPush`?
It checks for changes in all components
It only checks for changes when an event occurs
It checks for changes only when input properties change
It disables change detection

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `async` pipe do in Angular templates?
Converts observables to promises
Subscribes to an observable and returns the latest value
Creates a new observable
Unsubscribes from all observables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of `Injector` in Angular?
To create new components
To manage routing
To resolve dependencies
To handle HTTP requests

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between `Subject` and `BehaviorSubject` in RxJS?
`Subject` stores the last value, `BehaviorSubject` does not
`BehaviorSubject` requires an initial value and emits the last value to new subscribers
`Subject` is synchronous, `BehaviorSubject` is asynchronous
There is no difference

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of `ng-content` in Angular?
To define a new component
To project content into a component
To bind data
To handle events

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which lifecycle hook is called after the component’s view has been fully initialized?
`ngOnInit()`
`ngAfterViewInit()`
`ngAfterContentInit()`
`ngDoCheck()`

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?