Google News
logo
Angular - Quiz(MCQ)

Angular is an application-design framework and development platform for creating efficient and sophisticated single-page apps.

These Angular docs help you learn and use the Angular framework and development platform, from your first application to optimizing complex single-page applications for enterprises. Tutorials and guides include downloadable examples to help you start your projects.

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

A)
--spec false
B)
--testing false
C)
--unit-test false
D)
--test false

Correct Answer : Option (A) :   --spec false

A)
@Input('userData') users
B)
@Input() userData: users
C)
@Input() users: userData
D)
@Input('users') userData

Correct Answer : Option (A) :   @Input('userData') users

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]