0% found this document useful (0 votes)
5 views4 pages

MCQ1

The document contains a series of multiple-choice questions related to AngularJS, covering topics such as architectural patterns, components, expressions, directives, filters, controllers, and lifecycle hooks. It tests knowledge on AngularJS features and functionalities, including AOT compilation and RxJS usage. The questions also address the structure and syntax used in AngularJS applications.

Uploaded by

Suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views4 pages

MCQ1

The document contains a series of multiple-choice questions related to AngularJS, covering topics such as architectural patterns, components, expressions, directives, filters, controllers, and lifecycle hooks. It tests knowledge on AngularJS features and functionalities, including AOT compilation and RxJS usage. The questions also address the structure and syntax used in AngularJS applications.

Uploaded by

Suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1 .Among the following, on which architectural pattern is AngularJS based?

Decorator pattern

Observer pattern

MVVM architecture pattern

MVC architecture pattern

2 State whether true or false: AngularJS provides reusable components

True

False

3.Choose the correct syntax for writing AngularJS expression.

[expression]

{{expressions}}

{{{expressions}}}

{expressions}

4.Choose the reactor which is used to bind the application data to the
HTML view in AngularJS.

ng-bind directive

ng-model directive

ng-init directive

ng-app directive

5.Choose the correct statement about the lowercase filter.

it is a function that takes text as input

the lowercase filter converts a text to lowercase text

both a and b
none of the above

6.Choose the advantage of Angular JS among the following.

it provides reusable components

it uses dependency injection and makes use of separation of concerns

it is unit-testable

all of the above

7.The functionality of angular controllers in the application is

an angular controller is used for displaying the data

an angular controller is used for controlling the data

both a and b

None of the above

8.Choose the incorrect AngularJS filter/Pipe

orderby

email

currency

lowercase

9.Choose the directive which is used to find the values of HTML controls to
application data.

ng-model

ng-init

ng-app

ng-
10. Module created by using AngularJS function is known as

module()

mod()

Angular module()

mdl()

11.Among the following which can be used to write AngularJS directives

Attribute

class name

Tag

all of the above

12..

AOT stands for ________

Angular Object Templates

Ahead of Time compilation

Both a and b

13. Choose the incorrect hook application lifecycle.

noOnInit

ngViewStart

ngOnChanges

None of the above

14. What can RxJS be used for?


Server-side

Browser

Both a and b

None of the above

15. Among the following choose the one which is responsible for the startup of the angular 2
projects.

app.ts

main.ts

index.js

angular.cli.json

You might also like