Top 150+ Solved Angular-JS MCQ Questions Answer

From 16 to 30 of 163

Q. What are various possible prefixes such as 'ng-' using which Angular directives (forexample, ng-app) can be defined?

a. 'ng-', 'data-ng-', 'ng:'

b. 'ng-'

c. 'ng-', 'data-ng-', 'ng:', 'x-ng-'

d. 'ng-', 'data-ng-','x-ng-'

  • c. 'ng-', 'data-ng-', 'ng:', 'x-ng-'

Q. What are various possible ways in which angular application can be initialized?

a. On an element, one could either put simply the attribute such as (ng-app, data-ng-app, ng:app, x-ng-app)

b. Put the named attribute such as (ng-app='demoApp')

c. Both of the above

d. none

  • c. Both of the above

Q. filter filter is applied to an expression using pipe character.

a. true

b. false

c. none

d. all

  • a. true

Q. Can multiple angular applications be bootstrapped using same element??

a. Yes

b. No. An error is thrown such as 'App Already Bootstrapped with this Element'

c. none

d. all

  • b. No. An error is thrown such as 'App Already Bootstrapped with this Element'

Q. At framework level, how does Angular retrieve the matching elements for processing?

a. Makes use of jqLite(element) function.

b. If jQuery is used, jQuery(element) is used by way of assigning jQuery to jqLite variable

c. Both of the above

d. None of the above

  • c. Both of the above

Q. angular.module is primarily used to create application module.

a. true

b. false

c. none

d. all

  • a. true

Q. Which angular module is loaded by default?

a. ng

b. ng-app

c. none

d. all

  • a. ng

Q. What angular function is used to manually start up an angular application?

a. angular.bootstrap

b. angular.element

c. angular.copy

d. None of the above

  • a. angular.bootstrap

Q. Which angular function is used to wrap a raw DOM element or HTML string as a jQueryelement?

a. angular.element

b. angular.bootstrap

c. none

d. all

  • a. angular.element

Q. AngularJS needs data in JSON format to populate its model.

a. true

b. false

c. none

d. all

  • a. true

Q. Scope act as glue between controller and view.

a. true

b. false

c. none

d. all

  • a. true

Q. AngularJS 1.0 was released in 2013.

a. True

b. False

c. none

d. all

  • b. False
Subscribe Now

Get All Updates & News