Angular 2 Multiple choice interview questions

Take Angular 2 Quiz To test your Knowledge 

Below are few Angular 2 MCQ test that checks your basic knowledge of Laravel Framework. This Angular 2 Test contains around 10 questions of multiple choice type with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link.

Also, Read Best Angular 2 interview questions.

1. What is used .angular-cli.json

  • Used to configure your angular 2 project
  • Used to link external files
  • used to install required project packages
View Answer

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

  • main.ts
  • index.js
  • app.ts
  • angular.cli.json
View Answer

3. Which of the following is the correct way to apply a filter?

  • - Property-value || filter
  • - Property-value && filter
  • - Property-value | filter
View Answer

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

  • @NgModule
  • @NgApp
  • @NgAngular
  • @NgConfigure
View Answer

5. Interpolation in angular 2 is done using

  • {{}}
  • {{|var}}
  • {{{}}}
  • !!!!
View Answer

6. What does AOT stand for?

  • Angular Object Templates
  • ahead-of-time compilation
  • Angular Open Terminal
View Answer

7. AngularJS 2.0 is a ?

  • library
  • Framework
  • Operating System
  • programming Language
View Answer

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

  • :
  • -
  • \
  • |
View Answer

9. Which of the following filter is used to convert input to all uppercase?

  • upper
  • uppercase
  • toUpper
  • none of the above
View Answer

10. Which of the following is not a hook in Angular 2 application life cycle.

  • ngOnChanges
  • ngOnInit
  • ngAfterViewInit
  • ngViewStart
View Answer

Write For Us.

Contribute the Community.