139
86.4k
Chapter:

20+ AngularJS Dependency Injection, Services Solved MCQs

in Angular-JS

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Business Administration in Computer Applications (BBA [CA]) .

Chapters

Chapter: AngularJS Dependency Injection, Services
1.

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
2.

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.
3.

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
4.

Can AngularJS be used to create a service?

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

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
6.

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
7.

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

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

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
9.

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>
10.

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
11.

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
12.

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
13.

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

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

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
15.

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
16.

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

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

____ 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
18.

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
19.

AngularJS is a ______framework for dynamic web apps.

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

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
21.

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
22.

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
23.

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
24.

___________ 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
25.

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>
26.

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
27.

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)
28.

________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)

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.