Question Bank

3705 approved questions from the community

Protractor is an end-to-end testing framework for Angular applications.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed

Multiple interceptors are supported in Angular and execute in the order they are provided.

MEDIUM
TRUE FALSE
30s
Angular
by Mohamed

Angular provides the DomSanitizer service to bypass security and trust specific values.

MEDIUM
TRUE FALSE
30s
Angular
by Mohamed

Angular treats all values as untrusted by default to prevent XSS attacks.

HARD
TRUE FALSE
30s
Angular
by Mohamed

What are the three phases of AOT compilation?

HARD
SINGLE CHOICE
40s
Angular
by Mohamed

NgUpgrade allows mixing AngularJS and Angular components in the same application.

MEDIUM
TRUE FALSE
30s
Angular
by Mohamed

Angular 8 and later support dynamic imports for lazy loading with the import() statement.

MEDIUM
TRUE FALSE
30s
Angular
by Mohamed

You can detect route changes in Angular by subscribing to router events.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed

Custom elements bootstrap automatically when added to the DOM.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed

Angular elements are Angular components packaged as custom elements.

EASY
TRUE FALSE
25s
Angular
by Mohamed

Angular has two injector hierarchies: ModuleInjector and ElementInjector.

MEDIUM
TRUE FALSE
30s
Angular
by Mohamed

What is the main difference between Promise and Observable?

MEDIUM
SINGLE CHOICE
35s
Angular
by Mohamed

What is RxJS?

EASY
SINGLE CHOICE
30s
Angular
by Mohamed

Which service would you use to make HTTP requests in Angular?

MEDIUM
SINGLE CHOICE
30s
Angular
by Mohamed

Arrow functions can be used in AOT compilation without any restrictions.

HARD
TRUE FALSE
30s
Angular
by Mohamed

Lazy-loading modules can improve application performance by loading code only when needed.

MEDIUM
TRUE FALSE
30s
Angular
by Mohamed

RouterLink is used to navigate to routes in Angular templates.

EASY
TRUE FALSE
25s
Angular
by Mohamed

Angular Router enables building Single Page Applications with multiple views.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed

The async pipe automatically unsubscribes from observables when the component is destroyed.

HARD
TRUE FALSE
30s
Angular
by Mohamed

An Observable only begins publishing values when someone subscribes to it.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed
PreviousPage 166 of 186Next