AngularJs MCQ

Below AngularJs quiz are Multiple Choice Questions (MCQs) type Quiz. These AngularJs MCQ Questions helps you to refresh your AngularJs, you can see the correct option by clicking on it. .
  • 1. Which are the different Data Types supported by Typescript?

    • Boolean var bValue: boolean = false
    • Number var age: number = 16
    • String var name: string = "jon"
    • All of the above
  • 2. Select all Structaral directives from below { (i) *ngIf } { (ii) *ngFor } { (iii) *ngClass } { (iv) *ngElse } { (v) *ngWhile } { (vi) *ngSwitch }

    • ii, iii, v
    • i, ii, iv
    • i, ii, vi
    • i, iii, v
  • 3. Cons of SPA - Single Page Application

    • XSS
    • SEO
    • Lazy loading
    • Both a & b
  • 4. Which statements about metadata in angular are true

    • Meta-data is the way for processing the class and the component.
    • It is used to decorate the class
    • All the decorator are used by the meta-data to attach variable to the component or module class.
    • All of the above
  • 5. Which of the following is not built-in pipe in Angular?

    • DatePipe
    • CurrencyPipe
    • DataPipe
    • PercentPipe
  • 6. What is the quality that is not in Angular?

    • Directives
    • Pipes
    • Component
    • RoutingLink
  • 7. What decorator is used to make a class a service?

    • Injector
    • Service
    • Injectable
    • Component