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 : C

Explaination

ng-model directive binds the values of AngularJS application data to HTML input controls. It creates a model variable which can be used with the html page and within the container control( for example, div) having ng-app directive.

Answer : B

Explaination

Uppercase filter converts a text to upper case text. It is simply added to AngularJS expression to filter out the result.

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 - service method is used to create a service whose purpose is to do some defined task.

A - true

B - false

Answer : A

Explaination

service method is used to create a service whose purpose is to do some defined task.

Q 7 - Is AngularJS extensible?

A - false

B - true

Answer : B

Explaination

Yes! In AngularJS we can create custom directive to extend AngularJS existing functionalities.

Q 8 - ng-bind binds the AngularJS Application data to HTML tags.

A - true

B - false

Answer : A

Explaination

ng-bind binds the AngularJS Application data to HTML tags.

Q 9 - Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.

A - true

B - false

Answer : A

Explaination

Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.

Q 10 - In controllers, model data is accessed via $scope object.

A - false

B - true

Answer : B

Explaination

In controllers, model data is accessed via $scope object.


angularjs_questions_answers.htm

Advertisements