Ext JS/AngularJs MCQ Sample Test,Sample questions

Question:
Cons of SPA - Single Page Application

1.XSS

2.SEO

3.Lazy loading

4.Both a & b

Posted Date:-2022-08-05 12:37:48


Question:
How many types of Data Binding are there?

1. type

2. 2 type

3.3 type

4.4 type

Posted Date:-2022-08-05 12:50:13


Question:
If I write <button (click) = "onClick ()"> in a template, I use?

1.interpolation

2.property binding

3.event binding

4.none of the above

Posted Date:-2022-08-05 12:57:59


Question:
Select all Structaral directives from below { (i) *ngIf } { (ii) *ngFor } { (iii) *ngClass } { (iv) *ngElse } { (v) *ngWhile } { (vi) *ngSwitch }

1.ii, iii, v

2.i, ii, iv

3.i, ii, vi

4.i, iii, v

Posted Date:-2022-08-05 12:38:47


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

1.ng-switch

2.ng-model

3.ng-Disabled

4.ng-Cloak

Posted Date:-2022-08-05 12:46:09


Question:
What decorator is used to make a class a service?

1.Injector

2.Service

3.Injectable

4.Component

Posted Date:-2022-08-05 12:32:37


Question:
What is the @Output decorator for?

1.Share data from a parent component to a child

2.Share data from a child component to a parent

3.Use event binding

4.Use a service

Posted Date:-2022-08-05 12:58:58


Question:
What is the quality that is not in Angular?

1.Directives

2.Pipes

3.Component

4.RoutingLink

Posted Date:-2022-08-05 12:33:35


Question:
When you import RouterModule in a feature module (not Root module) which function would you use?

1.forRoot()

2.forFeature()

3.forModule()

4.forChild()

Posted Date:-2022-08-05 13:00:16


Question:
Which are the different Data Types supported by Typescript?

1.Boolean var bValue: boolean = false

2.Number var age: number = 16 String var name:

3.string = "jon"

4.All of the above

Posted Date:-2022-08-05 12:39:49


Question:
Which of the below commands are used for installing dependencies in Node

1.npm add dependencyName

2.npm i / install -g dependencyName

3.node i / install dependencyName

4.node i / install dependencyName

Posted Date:-2022-08-05 12:47:18


Question:
Which of the following directive bootstraps AngularJS framework?

1.ng-init

2.ng-app

3.ng-controller

4.ng-bootstrap

Posted Date:-2022-08-05 12:45:08


Question:
Which of the following is a valid AngularJS expression?

1.{{ 2 + 2 }}

2.{ 2 + 2 }

3.(( 2 + 2 ))

4.{ (2 + 2) }

Posted Date:-2022-08-05 12:42:42


Question:
Which of the following is not built-in pipe in Angular?

1.DatePipe

2.CurrencyPipe

3.DataPipe

4.PercentPipe

Posted Date:-2022-08-05 12:34:27


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

1.ng-init directive initializes an AngularJS Application data.

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

3.both

4.None of These

Posted Date:-2022-08-05 12:43:58


Question:
Which statements about metadata in angular are true

1.Meta-data is the way for processing the class and the component.

2.It is used to decorate the class

3.All the decorator are used by the meta-data to attach variable to the component or module class.

4.All of the above

Posted Date:-2022-08-05 12:36:49


More MCQS

  1. React JS MCQ
  2. AngularJs MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!