AngularJS MCQ Quiz Questions with Answer
Categories: Angular Angular JS MCQ
AngularJS MCQ Quiz Questions with Answer
1) Which of the following statement is correct for AngularJS?
- AngularJS is an HTML framework
- AngularJS is a Java framework
- AngularJS is a JavaScript framework
- AngularJS is a SQL framework
Answer: C
2) On which of the Architectural pattern AngularJS is based?
- Observer Pattern
- Decorator pattern
- MVC Architecture pattern
- MVVM Architectural pattern
Answer: D
3) AngularJS is perfect for?
- SPAs
- MPAs
- DPAs
- CPAs
Answer: A
4) Which of the following is the correct syntax for writing AngularJS expressions?
- (expression)
- {{expression}}
- {{{expression}}}
- [expression]
Answer: B
5) Do AngularJS provide reusable components?
- Yes
- No
Answer: A
6) Which of the following directive is used to bind the application data to the HTML view in AngularJS?
- ng-app directive
- ng-model directive
- ng-bind directive
- ng-init directive
Answer: C
7) Which of the following statement is true about the lowercase filter?
- The lowercase filter converts a text to lower case text.
- The lowercase filter is a function that takes text as input.
- Both of the above.
- None of the above.
Answer: A
8) Which of the following is an advantage of AngularJS?
- AngularJS code is unit testable.
- AngularJS provides reusable components.
- AngularJS uses dependency injection and makes use of separation of concerns.
- All of the above
Answer: D
9) Which of the following statement is true about $dirty flag?
- $dirty flag is used to state that value has been changed.
- $dirty flag is used to state that the form has invalid data.
- Both of the above.
- None of the above.
Answer: A
10) What is the use of Angular Controllers in the application?
- Angular controllers are used for controlling the data.
- Angular controllers are used for displaying the data.
- Both of the above are correct.
- None of the above is correct.
Answer: A