AngularJS MCQ Quiz Questions with Answer
Categories: Angular Angular JS MCQ
AngularJS MCQ Quiz Questions with Answer
1) Which of the following is true about the currency filter?
- A currency filter is used to format the text in a currency format.
- A currency filter is a function that takes text as input.
- Both A and B
- None of the above
Answer: B
2) Which of the following statement is true in the case of a controller in MVC?
- A controller is a software code that controls the interactions between the Model and View.
- A controller is a software code that stores the data.
- A controller is a software code that renders the user interface.
- All of the above.
Answer: B
3) Which of the following components can be injected as a dependency in AngularJS?
- Value
- Factory
- Constant
- Application Module
Answer: D
4) What is deep linking in AngularJS?
- Deep linking is an SEO-based technique.
- Deep linking refers to linking various views to the main page.
- Deep linking allows you to encode the state of an application in the URL so that it can be bookmarked.
- All of the Above
Answer: C
5) AngularJS applications are a mix of which of the following technologies?
- HTML and PHP
- HTML and JavaScript
- HTML and TypeScript
- PHP and JavaScript
Answer: B
6) Which of the following template can be used to write AngularJS directives?
- Tag
- Attribute
- Class name
- All of the above
Answer: D
7) Which of the following statement is true in the case of $routeProvider?
- It is a service.
- It is a module.
- It is a component.
- None of the above.
Answer: A
8) Which of the following statement justify the working of AngularJS?
- module is primarily used to create application modules.
- module is used to create AngularJS modules along with its dependent modules.
- Both A and B
- None of the above
Answer: C
9) The [] parameter in the module definition is used to define dependent modules.
- TRUE
- FALSE
- Can be true or false
- Cannot say
Answer: A
10) In AngularJS, the $http service is used to make an Ajax call to the server.
- True
- False
Answer: A: