Chapter: AngularJS Modules, Controller, View and Scope
101.

A controller is a JavaScript object containing ___

A. Attributes
B. Properties
C. Functions
D. All of the above
Answer» D. All of the above
102.

Scope contains the ___?

A. model data
B. JavaScript Objects
C. variables
D. None of these
Answer» A. model data
103.

Which is/are the characteristics of scope object?

A. Scopes provide APIs ($watch) to observe model.
B. Scopes can be nested to limit access to the properties.
C. It provides context against the expression to be evaluated.
D. All of the above
Answer» D. All of the above
Chapter: AngularJS Dependency Injection, Services
104.

The _______ directive is used if you want to add or remove HTML elements from the DOM based on data in the model.

A. ng-switch
B. ng-model
C. ng-Disabled
D. ng-Cloak
Answer» A. ng-switch
105.

What is the purpose of $http?

A. It is an inbuilt service used to make ajax call to get the server data.
B. It is the Http protocol
C. It generates hyper text mark up language
D. None
Answer» A. It is an inbuilt service used to make ajax call to get the server data.
106.

What MVC stands for?

A. Model View Control
B. Model View Controller
C. Main View Controller
D. Main View Control
Answer» B. Model View Controller
107.

Can AngularJS be used to create a service?

A. May be
B. Can be
C. Yes
D. No
Answer» C. Yes
108.

Which of the following is true about orderby filter?

A. orderby filter orders the array based on provided
B. orderby filter is used to filter the array to a subset of it based on provided criteria
C. Both of the above
D. None of the above
Answer» A. orderby filter orders the array based on provided
109.

Which of the following is true about ng-app directive?

A. ng-app directive defines and links an AngularJS application to HTML
B. ng-app directive indicates the start of the application
C. Both of the above
D. None of the above
Answer» C. Both of the above
110.

AngularJS is a powerful javascript framework, used for developing _________ projects.

A. run time
B. java script
C. php
D. SPA
Answer» D. SPA
111.

SPA (Single Page Application). This means that the navigation within Netflix is performed without refreshing the whole page.

A. True
B. False
C. none
D. all
Answer» A. True
112.

The ______ tag defines a division or a section or block in an HTML document.

A. <div>
B. <block>
C. <span>
D. none of these.
Answer» A. <div>
113.

The <span> tag is much like the <div> element, but <div> is a _________ and <span> is an ______________.

A. Block level element , inline element
B. Container element, directive element
C. directive element, directive element
D. none of these.
Answer» A. Block level element , inline element
114.

The _____ directive is show that it is AngularJS application.

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» A. ng-app
115.

The ______ directive for binds the value of HTML it is used for input the data , select the data in application

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» A. ng-app
116.

angular js is back end application which develop by java script.

A. True
B. False
C. none
D. all
Answer» A. True
117.

In AngularJS, views are pure html pages, and controllers written only in php do the business processing.

A. True
B. False
C. none
D. all
Answer» A. True
118.

AngularJS, provides data binding capability to HTML. Thus, it gives user a rich and responsive experience TRUE

A. True
B. False
C. none
D. all
Answer» A. True
119.

Being JavaScript framework, application written in AngularJS are not safe.

A. True
B. False
C. none
D. all
Answer» A. True
120.

____ is an open source full featured JavaScript framework developed by Google.

A. angular js
B. php
C. java script
D. non of these
Answer» A. angular js
121.

Published by Google in ____AngularJS has become one of the most popular JavaScript frameworks till now

A. 2009
B. 2010
C. 2011
D. 2020
Answer» A. 2009
122.

AngularJS is a ______framework for dynamic web apps.

A. structural
B. unstructural
C. wrong
D. shape
Answer» A. structural
123.

The _____ directive is show that it is AngularJS application

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» A. ng-app
124.

Angular 1 core concept was $scope, and you will not find $scope in angular 2.0. Angular 2 is using . . . . . . . . to detect changes.

A. zone$.js
B. Scope.js
C. zone.js
D. zones.js
Answer» C. zone.js
125.

Angular 2.0 contains a logging service called . . . . . which is very useful feature measuring where time is spent in your application.

A. config.js
B. logging.js
C. diary.js
D. none of above
Answer» C. diary.js
126.

Angular 2 has a . . . . . . . service that allows us to dynamically load a component in a certain position on the page.

A. DynamicControlLoader
B. DynamicControllerLoader
C. DynaCompLoader
D. DynamicComponentLoader
Answer» D. DynamicComponentLoader
127.

___________ is a web application or website that interacts with the user by dynamically rewriting the current page rather than loading entire new pages from a server).

A. run time
B. java script
C. php
D. SPA
Answer» D. SPA
128.

The ______ tag is an inline container used to mark up a part of a text, or a part of a document.

A. <div>
B. <block>
C. <span>
D. none of these.
Answer» A. <div>
129.

The _______ directive .it is used to binds application data to the HTML view

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» C. ng-bind
130.

AngularJS is a powerful javascript framework, used for developing _________ projects in very clean and maintainable way.

A. SinglePageApplication(SPA)
B. doublepage application
C. multipage application
D. non of these
Answer» A. SinglePageApplication(SPA)
131.

________is a web application or website that interacts with the user by dynamically rewriting the current page rather than loading entire new pages from a server).

A. SinglePageApplication(SPA)
B. doublepage application
C. multipage application
D. non of these
Answer» A. SinglePageApplication(SPA)
Chapter: AngularJS Filters
132.

________ It is the automatic synchronization of data between model and view

A. components.
B. data binding
C. view
D. Angular js
Answer» A. components.
133.

AngularJS is an open source full featured JavaScript framework developed by __________ It was designed to build dynamic web apps in the first place

A. GOOGLE
B. MICROSOFT
C. SUN
D. none of these
Answer» A. GOOGLE
134.

. _________ allows to bind data and inject eliminate the most part of the code in order to prevent writing it.

A. data binding
B. view
C. Angular js
D. SPA
Answer» C. Angular js
135.

AngularJS is a JavaScript framework written in ______

A. data binding
B. java script
C. php
D. SPA
Answer» B. java script
136.

In angular js MVC stands for _____________.

A. Model viver conroller
B. Model View Controller
C. Many viver component
D. none of these
Answer» A. Model viver conroller
137.

_____ in MVC: It is responsible for displaying all data or only a portion of data to

A. the users.
B. model
C. Model View Controller
D. controller
Answer» B. model
138.

The ______ tag is an inline container used to mark up a part of a text, or a part of a document.

A. <div>
B. <block>
C. <span>
D. none of these.
Answer» A. <div>
139.

The _______ directive .it is used to binds application data to the HTML view

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» C. ng-bind
140.

AngularJS is a powerful javascript framework, used for developing _________ projects in very clean and maintainable way.

A. SinglePageApplication(SPA)
B. doublepage application
C. multipage application
D. none of these
Answer» A. SinglePageApplication(SPA)
141.

________is a web application or website that interacts with the user by dynamically rewriting the current page rather than loading entire new pages from a server).

A. SinglePageApplication(SPA)
B. doublepage application
C. multipage application
D. non of these
Answer» A. SinglePageApplication(SPA)
142.

The _____ directive .it is used to binds application data to the HTML view.

A. ng-app
B. ng-model
C. ng-bind
D. none of these.
Answer» C. ng-bind
143.

The ______ directive initializes application data. ,it is used to initializes the data.

A. ng-app
B. ng-model
C. ng-bind
D. ng-init
Answer» D. ng-init
144.

The _______ directive repeats a set of HTML, a given number of times.

A. ng-app
B. ng-bind
C. ng-init
D. ng-repeat.
Answer» D. ng-repeat.
145.

______ directive is used to show a div tab by linking it to a Boolean variable in the script. If the value of the variable is true then the item is displayed.

A. ng-app
B. ngshow
C. ng-init
D. none
Answer» B. ngshow
146.

______directive is used to hide a div tab by linking it to a Boolean variable in the script. If the value of the variable is false then the item is not displayed.

A. ng-hide
B. ngshow
C. ng-init
D. none
Answer» A. ng-hide
147.

The AnglarJS ______directive sets the readonly attribute on the element; if it gets that the expression inside ng-readonly is true. it used to show the only which we can not change ,it is only for read only purpose.

A. ng-hide directive
B. readonly diretive
C. ng-init directive
D. ng-repeat.directive
Answer» B. readonly diretive
148.

The AngularJS ______ is used to remove the HTML elements if the expression is set to false. If the if element is set to true, a copy of the element is added in the DOM.

A. ng-if directive
B. readonly diretive
C. ng-init directive
D. ng-repeat.directive
Answer» A. ng-if directive
149.

The AngularJS _______ facilitates you to specify custom behaviour when an element is clicked. So, it is responsible for the result what you get after clicking

A. ng-click directive
B. readonly diretive
C. ng-init directive
D. ng-repeat.directive
Answer» A. ng-click directive
150.

The ______ sets the disabled attribute of a form field (input, select, or textarea).

A. ng-disebled directive
B. readonly diretive
C. ng-init directive
D. ng-repeat.directive
Answer» A. ng-disebled directive
151.

The ________ adds a controller to your application.it control on the application

A. ng-control directive
B. readonly diretive
C. ng-init directive
D. ng-repeat.directive
Answer» A. ng-control directive
152.

The ______ is used to binds application data to the HTML view.

A. ng-bind directive
B. readonly diretive
C. ng-init directive
D. ng-repeat.directive
Answer» A. ng-bind directive
153.

These directives can be used to create custom HTML tags that serve as new, custom widgets. AngularJS has built-in directives such as ngBind, ngModel, etc.

A. true
B. false
C. none
D. all
Answer» A. true
154.

angular js is an open source full featured JavaScript framework developed by Google.

A. true
B. false
C. none
D. all
Answer» A. true
155.

Published by Google in 2009 AngularJS has become one of the most popular JavaScript frameworks till now

A. true
B. false
C. none
D. all
Answer» A. true
156.

AngularJS is a structural framework for dynamic web apps.

A. true
B. false
C. none
D. all
Answer» A. true
157.

AngularJS is a powerful javascript framework, used for developing SinglePageApplication(SPA) projects in very clean and maintainable way.

A. true
B. false
C. none
D. all
Answer» A. true
158.

The ng-app directive is show that it is AngularJS application

A. true
B. false
C. none
D. all
Answer» A. true
159.

The ng-bind directive .it is used to binds application data to the HTML view.

A. true
B. false
C. none
D. all
Answer» A. true
160.

The ng-init directive initializes application data. ,it is used to initializes the data.

A. true
B. false
C. none
D. all
Answer» A. true
161.

The _ ng-repeat. directive repeats a set of HTML, a given number of times.

A. true
B. false
C. none
D. all
Answer» A. true
162.

ngshow directive is used to show a div tab by linking it to a Boolean variable in the script. If the value of the variable is true then the item is displayed.

A. true
B. false
C. none
D. all
Answer» A. true
163.

ng-hide directive is used to hide a div tab by linking it to a Boolean variable in the script. If the value of the variable is false then the item is not displayed.

A. true
B. false
C. none
D. all
Answer» A. true
Tags
Question and answers in Angular-JS, Angular-JS multiple choice questions and answers, Angular-JS Important MCQs, Solved MCQs for Angular-JS, Angular-JS MCQs with answers PDF download