Angular and Typescript Quiz - 1
|
Total Questions : 28
|
« 1 2 3 4 »
1. A module in Angular is where one can group the following except
a) Reports.
b) Pipes
c) Services.
d) Directives
Wrong! Try again.
Wrong Again!Try one more chance.
Wrong! The correct answer is a) Reports.
Correct!
2. The process of using curly braces in Angular is
a) Data binding.
b) Compilation.
c) Bracing.
d) Interpolation.
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is d) Interpolation.
Correct! Interpolation
3. The file structure of Angular consist of the following except
a) app.component.spec.ts
b) app.component.ts
c) app.comp.ts
d) app.module.ts
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is c) app.comp.ts
Correct! app.comp.ts
4. The Angular is based on
a) Component structure
b) Angular CLI
c) Model view controller
d) Angular interface
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is c) Model view controller
Correct! Model view controller
5. The Angular features these except
a) ngIf
b) template
c) ng-template
d) as for loop
Wrong! Try again..
Wrong Again! Try one more chance.
Wrong! The correct answer is b)template
Correct! template
6. Which of the following is NOT a hook in Angular application life cycle
a) ngViewStart
b) ngOnChanges
c) ngOnInit
d) ngAfterViewInit
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is a) ngViewStart
Correct!
ngViewStart
7. Which of the following filter is used to convert input to all uppercase?
a) uppercase
b) toUppercase
c) toUpper
d) None of them
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong! The correct answer is a) uppercase
Correct! uppercase
|