AngularJS Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to AngularJS Framework. 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 : D

Explaination

ng-bind directive binds the AngularJS Application data to HTML tags. ng-bind updates the model created by ng-model directive to be displayed in the html tag whenever user input something in the control or updates the html control's data when model data is updated by controller.

Q 3 - AngularJS expressions behave in same way as ng-bind directives.

A - false

B - true

Answer : B

Explaination

AngularJS expressions behave in same way as ng-bind directives.

Answer : B

Explaination

Currency filter formats text in a currency format. It is simply added to AngularJS expression to filter out the result.

Q 5 - AngularJS needs data in JSON format to populate its model.

A - true

B - false

Answer : A

Explaination

AngularJS needs data in JSON format to populate its model.

Q 6 - Which components can be injected as a dependency in AngularJS?

A - value

B - factory

C - service

D - All of the above.

Answer : D

Explaination

All of the above can be injected as dependency.

Q 7 - AngularJS supports inbuilt internationalization for three types of filters currency, date and numbers.

A - true

B - false

Answer : A

Explaination

AngularJS supports inbuilt internationalization for three types of filters currency, date and numbers.

Q 8 - ng-app directive defines and links an AngularJS application to HTML.

A - false

B - true

Answer : B

Explaination

ng-app directive defines and links an AngularJS application to HTML.

Q 9 - ng-init directive can be used to put values to the variables to be used in the application.

A - true

B - false

Answer : A

Explaination

ng-init directive can be used to put values to the variables to be used in the application.

Q 10 - novalidate with a form declaration disables any browser specific validation.

A - false

B - true

Answer : B

Explaination

We can use novalidate with a form declaration to disable any browser specific validation.


angularjs_questions_answers.htm

Advertisements