Angular 2 Online Quiz


Advertisements

Following quiz provides Multiple Choice Questions (MCQs) related to Angular 2. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : A

Explanation

A directive is a custom HTML element that is used to extend the power of HTML.

Answer : C

Explanation

Angular 2 applications have the option of error handling. This is done by including the ReactJS catch library and then using the catch function. The catch function contains a link to the Error Handler function.

Answer : C

Explanation

There are two types of dependencies, first is the dependencies and then there are dev dependencies. The dev ones are required during the development process and the others are needed to run the application.

Q 6 - Which of the following filter is used to convert input to all uppercase?

A - uppercase

B - upper

C - Both of the above.

D - None of the above.

Answer : A

Explanation

uppercase filter is used to convert the input to all uppercase.

Q 7 - Which of the following filter is used to convert an input string to percentage format.

A - percentage

B - percent

C - Both of the above.

D - None of the above.

Answer : B

Explanation

percent filter is used to convert an input string to percentage format.

Print
angular2_questions_answers.htm
Advertisements