AngularJs MCQ Questions And Answers

AngularJs MCQ : This section focuses on "Basics" of AngularJs. These Multiple Choice Questions (MCQ) should be practiced to improve the AngularJs skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. AngularJS is perfect for?

A. SPAs
B. MPAs
C. DPAs
D. ZPAs

View Answer


2. AngularJS is a ?

A. Java framework
B. HTML framework
C. JavaScript framework
D. SQL framework

View Answer


3. Which directive binds application data to the HTML view?

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

View Answer


4. can we use data-ng-, instead of ng-, if we want to make your page HTML valid?

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer


5. AngularJS expressions bind AngularJS data to HTML the same way as the _________ directive.

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

View Answer


6. Which of the following is an Advantages of AngularJS?

A. AngularJS code is unit testable.
B. AngularJS provides reusable components.
C. AngularJS uses dependency injection and make use of separation of concerns.
D. All of the above

View Answer


7. What will be output for the following code?

<div ng-app="""" ng-init=""points=[1,15,19,2,40]"">
<p>The third result is {{ points[2] }}</p>
</div>

A. The third result is 1
B. The third result is 15
C. The third result is 19
D. The third result is

View Answer


8. The [] parameter in the module definition can be used to define dependent modules.

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

View Answer


9. ___________ in AngularJS is the synchronization between the model and the view.

A. Scops
B. Filter
C. Data binding
D. Service

View Answer


10. Which of the following can be used as a prefix for Directive?

A. ng-
B. x-
C. data-
D. All of the above

View Answer





Discussion


* You must be logged in to add comment.