freetimelearn@gmail.com
Facebook
Twitter
Linkedin
Google
HOME
TUTORIALS
BASICS OF COMPUTER SCIENCE
HTML
HTML5
CSS
CSS3
BOOTSTRAP
BOOTSTRAP 4
MATERIALIZE CSS
JAVASCRIPT
JQUERY
AJAX
ANGULARJS
C - LANGUAGE
JAVA
PHP
PYTHON
REFERENCES
PRACTICE TEMPLATES
Bootstrap Templates
PHP PROJECTS
Bootstrap 3 Plugins
Bootstrap 4 Plugins
PLUGINS
Static Menus
Responsive Menus
Dropdown
Tabs & Pills
Modal Boxes (Dialog box)
Gallery Plugins
Sliders
Buttons
Dynamic Forms
Forms
Image Effects
Examples
HTML
HTML5
CSS
CSS3
BOOTSTRAP3
JAVASCRIPT
JQUERY
ANGULARJS
INTERVIEW QUESTIONS
New
QUIZ
New
MORE
Online HTML Editor
New
GENERAL KNOWLEDGE
New
SCHOOL MATHEMATICS
Blog
ANGULAR QUIZ
Home
/
Angular Quiz
Online Quiz
HTML & HTML5 Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
CSS & CSS3 Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Bootstrap3 & 4 Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Materialize CSS Quiz
Section 1
Section 2
Section 3
JavaScript Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
jQuery Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Ajax Quiz
Section 1
Section 2
Section 3
AngularJS Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
C Language Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
PHP Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
Section 8
Java Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
Python Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Angular Quiz
Node JS Quiz
React JS Quiz
SQL Quiz
1 .
Which is the correct command to create a component named CustomerDetailComponent with the CLI (with this exact casing)?
A)
ng generate component customerdetail
B)
ng create component customer-detail
C)
ng c c customer-detail
D)
ng generate component customer-detail
Correct Answer :
Option (D)
ng generate component customer-detail
Show Answer
2 .
What is the purpose of FormBuilder?
A)
Generates the form elements from data properties in the component class
B)
Creates the form data structure from a specified configuration when building reactive forms
C)
Creates the form data structure from a specified configuration when building template-driven forms
D)
Creates the form data structure from a specified configuration when building template-driven forms
Correct Answer :
Option (B)
Creates the form data structure from a specified configuration when building reactive forms
Show Answer
3 .
Which Angular CLI flag will not generate unit tests for a component?
A)
--spec false
B)
--testing false
C)
--unit-test false
D)
--test false
Correct Answer :
Option (A)
--spec false
Show Answer
4 .
Which of the following will map the name of an input parameter "userData" to a field named "users"?
A)
@Input('userData') users
B)
@Input() userData: users
C)
@Input() users: userData
D)
@Input('users') userData
Correct Answer :
Option (A)
@Input('userData') users
Show Answer
5 .
When using FormBuilder, how are validation rules specified?
A)
As part of the FormControl configuration: heroName: ['', Validators.required]
B)
As part of the FormControl configuration: heroName: [Validators.required, '']
C)
As standard HTML validation attributes added to the input element
D)
As part of the input element binding: formControl="[heroName, Validators.required]"
Correct Answer :
Option (A)
As part of the FormControl configuration: heroName: ['', Validators.required]
Show Answer
Finish Quiz
1
2
3
4
5
Prev Section
Next Section
Online Quiz
HTML & HTML5 Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
CSS & CSS3 Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Bootstrap3 & 4 Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Materialize CSS Quiz
Section 1
Section 2
Section 3
JavaScript Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
jQuery Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Ajax Quiz
Section 1
Section 2
Section 3
AngularJS Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
C Language Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
PHP Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
Section 8
Java Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Section 7
Python Quiz
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
Angular Quiz
Node JS Quiz
React JS Quiz
SQL Quiz
Follow Us on Facebook