- AngularJS - Home
- AngularJS - Overview
- AngularJS - Environment Setup
- AngularJS - MVC Architecture
- AngularJS - First Application
- AngularJS - Directives
- AngularJS - Expressions
- AngularJS - Controllers
- AngularJS - Filters
- AngularJS - Tables
- AngularJS - HTML DOM
- AngularJS - Modules
- AngularJS - Forms
- AngularJS - Includes
- AngularJS - AJAX
- AngularJS - Views
- AngularJS - Scopes
- AngularJS - Services
- AngularJS - Dependency Injection
- AngularJS - Custom Directives
- AngularJS - Internationalization
- AngularJS - ToDo Application
- AngularJS - Notepad Application
- AngularJS - Bootstrap Application
- AngularJS - Login Application
- AngularJS - Upload File
- AngularJS - In-line Application
- AngularJS - Nav Menu
- AngularJS - Switch Menu
- AngularJS - Order Form
- AngularJS - Search Tab
- AngularJS - Drag Application
- AngularJS - Cart Application
- AngularJS - Translate Application
- AngularJS - Chart Application
- AngularJS - Maps Application
- AngularJS - Share Application
- AngularJS - Weather Application
- AngularJS - Timer Application
- AngularJS - Leaflet Application
- AngularJS - Lastfm Application
- AngularJS Useful Resources
- AngularJS - Questions and Answers
- AngularJS - Quick Guide
- AngularJS - Useful Resources
- AngularJS - Discussion
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.
Q 2 - Which of the following is true about ng-controller directive?
A - ng-controller directive tells AngularJS what controller to use with this view.
C - A controller is a JavaScript object containing attributes/properties and functions.
Answer : D
Explaination
ng-controller directive tells AngularJS what controller to use with this view. AngularJS application mainly relies on controllers to control the flow of data in the application. A controller is a JavaScript object containing attributes/properties and functions. Each controller accepts $scope as a parameter which refers to the application/module that controller is to control.
Q 3 - What is MVC?
A - MVC is name of an algorithm.
B - MVC is a software design pattern for developing web applications.
C - MVC is a software technique to optimize web application performance.
Answer : B
Explaination
Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications.
Q 4 - Which of the following is true about ng-disabled directive?
A - ng-disabled directive can enable a given control.
Answer : C
Explaination
ng-disabled directive disables/enables a given control.
Q 5 - Use novalidate with a form declaration to disable any browser specific validation.
Answer : A
Explaination
Use novalidate with a form declaration to disable any browser specific validation.
Answer : A
Explaination
Child controller inherits the scope of its parent controller.
Answer : A
Explaination
Scopes are objects that refer to the model. They act as glue between controller and view.
Q 8 - Being JavaScript only framework, application written in AngularJS are not safe and secure.
Answer : A
Explaination
Being JavaScript only framework, application written in AngularJS are not safe and secure.
Answer : A
Explaination
uppercase filter is applied to an expression using pipe character.
Answer : A
Explaination
In controllers, model data is accessed via $scope object.
