Angular Quiz
Angular and Typescript Quiz - 2

Total Questions : 28

« 1 2 3 4 »

1. Which character is used for chaining multiple pipes in Angular

a) |
b) :
c) -
d) \
Wrong! Try again.
Wrong Again!Try one more chance.
Wrong!
The correct answer is a) |
Correct! |

2. Angular is


a) a library
b) programming Language
c) an operating system
d) a framework.
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong!
The correct answer is d) Angular is a framework
Correct!
Angular is a framework

3. What is the decorator used for configuring your module class?


a) @NgApp
b) @NgAngular
c) @NgModule
d) @NgConfigure
Wrong! Try again.
Wrong Again! Try one more chance.
Wrong!
The correct answer is c) @NgModule
Correct!
@NgModule

4. Which file is responsible for startup of angular project ?


a) app.ts
b) index.js
c) main.ts
d) angular.cli.json

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong!
The correct answer is c) main.ts
Correct!
main.ts

5. If you chain multiple pipes together, they are executed


a) in parallel
b) in the order in which you specify them
c) LIFO order
d) None of above

Wrong! Try again..
Wrong Again! Try one more chance.
Wrong!
The correct answer is b) in the order in which you specify them
Correct!
in the order in which you specify them

6. How would you display a list of Employees on a webpage along with where they were in the list?


a) Loop through and print the index and the employee
b) Loop through and print the employees
c) Loop through and print the index
d) Pass both the index and the employee to a web service

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong!
The correct answer is a) Loop through and print the index and the employee
Correct!
Loop through and print the index and the employee

7. Which of the following is not built-in pipe in Angular?


a) DataPipe
b) DatePipe
c) CurrencyPipe
d) PercentPipe

Wrong! Try again.
Wrong Again! Try one more chance.
Wrong!
The correct answer is a) DataPipe is not a built-in pipe
Correct!
DataPipe is not a built-in pipe