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

Expressions are used to bind application data to html. Expressions are written inside double braces like {{ expression}}. Expressions behave in same way as ng-bind directives. AngularJS application expressions are pure JavaScript expressions and outputs the data where they are used.

Answer : B

Explaination

View is responsible for displaying all or a portion of the data to the user.

Answer : A

Explaination

$dirty flag states that value in the form has been changed.

Answer : B

Explaination

$invalid flag states that form has invalid data.

Q 6 - factory method is used to define a factory which can later be used to create services as and when required.

A - true

B - false

Answer : A

Explaination

factory method is used to define a factory which can later be used to create services as and when required.

Q 7 - Scope act as glue between controller and view.

A - true

B - false

Answer : A

Explaination

Scopes are objects that refer to the model. They act as glue between controller and view.

Q 8 - With AngularJS, developer writes less code and gets more functionality.

A - false

B - true

Answer : B

Explaination

With AngularJS, developer writes less code and gets more functionality.

Q 9 - AngularJS uses two way data binding.

A - false

B - true

Answer : B

Explaination

AngularJS uses two way data binding.

Q 10 - In AngularJS, Scope contains the model data.

A - true

B - false

Answer : A

Explaination

In AngularJS, Scope contains the model data.


angularjs_questions_answers.htm

Advertisements