Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
Exercises
HTML
JavaScript
Git
CSS
PHP
Courses
Quizzes
Snippets
Tools
General Tools
Password Generator
HTML Editor
HTML Encoder
Base 64
Code Diff
JSON Beautifier
CSS Beautifier
Markdown Convertor
Find the Closest Tailwind CSS Color
Phrase encrypt / decrypt
Browser Feature Detection
Number convertor
CSS Maker
CSS Maker
CSS Maker text shadow
CSS Maker Text Rotation
CSS Maker Out Line
CSS Maker RGB Shadow
CSS Maker Transform
CSS Maker Font Face
Color Tools
Color Picker
Colors CMYK
Colors HWB
Colors HSL
Color Hex
Color mixer
Color Converter
Colors RGB
Color Contrast Analyzer
Color Gradient
String Tools
String Length Calculator
MD5 Hash Generator
Sha256 Hash Generator
String Reverse
URL Encoder
URL Decoder
Base 64 Encoder
Base 64 Decoder
Extra Spaces Remover
String to Lowercase
String to Uppercase
Word Count Calculator
Empty Lines Remover
HTML Tags Remover
Binary to Hex
Hex to Binary
Rot13 Transform on a String
String to Binary
Duplicate Lines Remover
Change theme
Dark
Light
System
Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
How To
How To NodeJs
How To Linux
How To AngularJs
How To PHP
How To HTML
How To CSS
How To Symfony
How To Git
How To Apache
How To JavaScript
How To Java
How To Vue.js
How To Python
Angular Basics
1/25
In Angular, you can pass data from the parent component to the child component by using:
@Output()
@Input()
Input
Output
Next >
2/25
Custom pipe can modify actual value of variable apart from different presention in HTML.
True
False
Next >
3/25
Router service needs to be explicitly provided in angular module to use it in another component via DI.
True
False
Next >
4/25
You can chain multiple pipe in a single expression along with “async” pipe.
True
False
Next >
5/25
Which wild card is used to define the page not found route?
*
**
404
^
Next >
6/25
There can be more than one <router-outlet> element in Angular application.
True
False
Next >
7/25
Which service can be used to extract route parameters inside component?
Router
Route
ActivatedRoute
CurrentRoute
Next >
8/25
How can you access a parent component's property from a child component in Angular?
Using @ViewChild decorator
Using @Input() decorator
Using @Output() decorator
Using @Injectable decorator
Next >
9/25
What is the purpose of 'resolve' guard in Angular routing?
To prevent navigation to a route
To preload data for a component
To authorize user access to a route
To lazy load a module
Next >
10/25
Which TypeScript feature is commonly used in Angular for type-checking and future JavaScript features?
Classes and Interfaces
Arrow functions
Promises
Modules
Next >
11/25
What Angular decorator is used to inject a dependency into a class?
@Inject
@Input
@Output
@Directive
Next >
12/25
How does Angular handle form validation for reactive forms?
Using directives
Using validators in form control instances
Using HTML5 attributes
Using CSS classes
Next >
13/25
How can you create a custom structural directive in Angular?
Using the @Directive decorator
Using the @Component decorator
Using the @NgModule decorator
Using the @Pipe decorator
Next >
14/25
What is the primary use of 'Subject' in RxJS as used in Angular?
To create an observable
To create a promise
To perform HTTP requests
To manage state
Next >
15/25
In Angular, how can you pass multiple parameters in a route?
Using the @Param decorator
Using route snapshot
Using query parameters
Using route guards
Next >
16/25
What is the use of the 'ngFor' directive in Angular?
To create a custom event
To repeat a template for each item in a list
To hide or show an element
To bind data to a property
Next >
17/25
Which Angular lifecycle hook is called after Angular fully initializes a component's view?
ngOnInit
ngAfterViewInit
ngOnChanges
ngOnDestroy
Next >
18/25
How can you optimize the performance of an Angular application using Change Detection Strategy?
By setting the strategy to Default
By setting the strategy to OnPush
By manually invoking change detection
By disabling change detection
Next >
19/25
In Angular, what is the purpose of the 'providers' array in '@NgModule'?
To declare components
To import other modules
To provide services available to the module
To export components and directives
Next >
20/25
What is the main benefit of using Angular's Reactive Forms over Template-Driven Forms?
Easier syntax
More control and flexibility in handling form logic
Automatic data binding
Built-in validators
Next >
21/25
In Angular, which decorator is used to create a new HTTP interceptor?
@HttpInterceptor
@Injectable
@Interceptor
@NgModule
Next >
22/25
What is the benefit of using Angular Universal?
Improved mobile app performance
Server-side rendering for faster initial load
Automated testing capabilities
Enhanced form validation
Next >
23/25
Which Angular CLI command is used to run end-to-end tests?
ng e2e
True
False
Next >
24/25
In Angular, how are directives applied to HTML elements?
Using HTML attributes
By directly manipulating the DOM
Using JavaScript functions
Through Angular components
Next >
25/25
In Angular, what is the purpose of the 'ng-template' directive?
To define templates that can be used with structural directives
To inject external HTML content
To create reusable components
To handle form submissions
Next >
To get the result of the quiz, please provide your email address (optional)..
Get Certificate
It seems you haven't answered any questions yet. Please provide your answers to proceed.