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

Q 2 - Which of the following is not a core AngularJS directive.

A - ng-app

B - ng-model

C - ng-bind

D - ng-state

Answer : D

Explaination

ng-state is not an AngularJS directive.

Answer : B

Explaination

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

Answer : B

Explaination

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

Answer : B

Explaination

$error states the exact error.

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 - Templates are the rendered view with information from the controller and model.

A - true

B - false

Answer : A

Explaination

Templates are the rendered view with information from the controller and model.

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 Expressions are written inside double braces like {{ expression}}.

A - false

B - true

Answer : B

Explaination

AngularJS Expressions are written inside double braces like {{ expression}}.

Q 10 - We can use $dirty and $invalid flags to do the form validations.

A - true

B - false

Answer : A

Explaination

angularjs_questions_answers.htm
Advertisements