AngularJs MCQ Questions

11. AngularJS version 1.0 was released in?

A. 2011
B. 2012
C. 2013
D. 2014

View Answer


12. It can be added to an HTML page with a _______ tag.

A. style tag
B. script tag
C. php tag
D. using mysql

View Answer


13. Which directive binds the value of the input field to the application variable name?

A. ng-app
B. ng-model
C. ng-bind
D. ng-init

View Answer


14. AngularJS expressions are written inside?

A. { }
B. ()
C. []
D. {{ }}

View Answer


15. Which of the following is true about AngularJs?

A. AngularJS is a very powerful JavaScript Framework
B. It extends HTML DOM with additional attributes and makes it more responsive to user actions.
C. AngularJS is open source, completely free, and used by thousands of developers around the world.
D. All of the above

View Answer


16. What will be output for the following code?

<div ng-app="""" ng-init=""quantity=1;cost=5"">
<p>Total in dollar: {{ quantity * cost }}</p>
</div>

A. Total in dollar: 5
B. 5
C. Total in dollar: 10
D. Total in dollar:

View Answer


17. A module is created by using the AngularJS function?

A. module()
B. angular.module()
C. js.mod()
D. angular module()

View Answer


18. If the property in the ng-model attribute does not exist, AngularJS will not create one for you.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


19. Which of the following is true about currency filter?

A. Currency filter formats text in a currency format.
B. Currency filter is a function which takes text as input.
C. Both A and B
D. None of the above

View Answer


20. Which of the following is a filter in Angular Js?

A. currency
B. data
C. uppercase
D. All of the above

View Answer





Discussion


* You must be logged in to add comment.