AngularJS Online Quiz



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-controller directive tells AngularJS what controller to use with this view. AngularJS application mainly relies on controllers to control the flow of data in the application. A controller is a JavaScript object containing attributes/properties and functions. Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.

Answer : B

Explaination

Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications.

Answer : C

Explaination

ng-disabled directive disables/enables a given control.

Q 5 - Use novalidate with a form declaration to disable any browser specific validation.

A - true

B - false

Answer : A

Explaination

Use novalidate with a form declaration to disable any browser specific validation.

Q 6 - Child controller inherits the scope of its parent controller.

A - true

B - false

Answer : A

Explaination

Child controller inherits the scope of its parent controller.

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 - Being JavaScript only framework, application written in AngularJS are not safe and secure.

A - true

B - false

Answer : A

Explaination

Being JavaScript only framework, application written in AngularJS are not safe and secure.

Q 9 - uppercase filter is applied to an expression using pipe character

A - true

B - false

Answer : A

Explaination

uppercase filter is applied to an expression using pipe character.

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

A - true

B - false

Answer : A

Explaination

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

angularjs_questions_answers.htm
Advertisements