ANGULAR QUIZ DESCRIPTION

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

  • ng-init directive initializes an AngularJS Application data.
     

  •  ng-init directive is used to put values to the variables to be used in the application.
     

  •  Both of the above.
     

  • None of the above.

Who is known as the father of AngularJS?

  • Brad Green
     

  •    Adam Abrons
     

  •    Misko Hevery
     

  •  Mike Adams

 Who is sometimes called as Father of AngularJS?

  • Brad Green
     

  •  Igor Minor
     

  •  Misko Hevery
     

  •  Brian Ford

Angular initializes based upon which of the following scenario?

  • DOMContentLoaded event happens
     

  •  document.readyState is set to complete
     

  •   Both of the above
     

  • None of the above

Which of the following statement justify the working of AngularJS?

  • module is used to create AngularJS modules along with its dependent modules.
     

  •   module is primarily used to create application modules.
     

  •     All of above
     

  •  None of above

Which of the following directive is used to bind the application data to the HTML view in AngularJS?

  • ng-init directive
     

  • ng-model directive
     

  •   ng-bind directive
     

  •  ng-app directive

AngularJS expressions are written using.

  • double braces like {{ expression}}
     

  • single braces like {expression}
     

  • small bracket like (expression)
     

  • capital bracket like [expression]

Angular initializes based upon which of the following scenario?

  • DOMContentLoaded event happens
     

  •   document.readyState is set to complete
     

  •  Both of the above
     

  •  None of the above

Can multiple angular applications be bootstrapped using same element??

  • Yes
     

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

Scope act as glue between controller and view.

  • True

  • False

Which of the following statement is true about the lowercase filter?

  • The lowercase filter is a function that takes text as input.
     

  •   The lowercase filter converts a text to lower case text.
     

  •   All Of above
     

  •   None of above

filter filter is applied to an expression using pipe character.

  • true

  • false

Which of the following is not a valid AngularJS filter?

  • currency
     

  •     orderby
     

  •    lowercase
     

  •   email

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

  • angular.element
     

  •  angular.bootstrap

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

  • angular.bootstrap
     

  • angular.element
     

  •  angular.copy
     

  •  None of the above

Which of the following is an advantage of AngularJS?

  • AngularJS uses dependency injection and makes use of separation of concerns.
     

  •   AngularJS code is unit testable.
     

  •   AngularJS provides reusable components.
     

  •   All of the above

AngularJS supports two-way data binding?

  • True

  • false

 Can '$scope' be injected while creating service using 'factory' method?

  • Yes

  • no

On which of the Architectural pattern AngularJS is based?

  • MVC Architecture pattern
     

  • Observer Pattern
     

  •   Decorator pattern
     

  • MVVM Architectural pattern

A module created by using the AngularJS function is called?

  • module()
     

  •   mod()
     

  •   angular module()
     

  •   module()

AngularJS applications are a mix of which of the following technologies?

  • HTML and JavaScript
     

  •  PHP and JavaScript
     

  •    HTML and PHP
     

  • HTML and TypeScript

Which of the following syntax is used to create a module in AngularJS?

  • var myModule= new Module();
     

  •    var myModule= angular.module();
     

  •   module(“app”, []);
     

  •   None of the above

AngularJS is a library?

  • True

  • False

AngularJS expressions are written using.

  • double braces like {{ expression}}
     

  • single braces like {expression}
     

  • small bracket like (expression)
     

  • capital bracket like [expression]

Do AngularJS provide reusable components?

  • Yes

  • No

Which of the following components can be injected as a dependency in AngularJS?

  • Factory
     

  • Constant
     

  •   Application Module
     

  •   Value

AngularJS is perfect for?

  • MPAs
     

  •   DPAs
     

  •    SPAs
     

  •  CPAs

Which components can be injected as a dependency in AngularJS?

  • Application Module
     

  • constant
     

  • value
     

  • factory

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

  • Makes use of jqLite(element) function.
     

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

  •  Both of the above
     

  • None of the above

How many $RootScope an AngularJS application can have?

  • One
     

  •   Two
     

  •  Zero
     

  •   Infinity