• 1. 
    What is the @Output decorator for?

  • Share data from a parent component to a child
  • Share data from a child component to a parent
  • Use event binding
  • Use a service
  • 2. 
    "ng serve" is a command for what?

  • Order Run service
  • Run project order
  • Order update project
  • Run component
  • 3. 
    What command do I need to use Generate component 1 component?

  • ng g c component-name
  • ng gen component component-name
  • ng g com component-name
  • ng generate com component-name
  • 4. 
    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
  • none
  • 5. 
    What command will create a new Angular app with a root routing module?

  • ng generate my-dream-app
  • ng new my-dream-app --module
  • ng generate my-dream-app --routing
  • ng new my-dream-app --routing
  • 6. 
    AngularJS needs data in JSON format to populate its model.

  • yes
  • no
  • 7. 
    What class shows that user putted cursor in input?

  • ng-touched
  • ng-pristine
  • ng-valid
  • ng-untouched
  • 8. 
    If I write {{myValue}} in a template, I use?

  • interpolation
  • property binding
  • event binding
  • 9. 
    Which tool allows you to manage the dependencies of a frontend project?

  • NodeJS
  • npm
  • TypeScript
  • webpack
  • 10. 
    What is the quality that is not in Angular?

  • Directives
  • Pipes
  • Component
  • RoutingLink
  • 11. 
    What is the @Input decorator for?

  • Share data from a parent component to a child
  • Share data from a child component to a parent
  • Use event binding
  • Use a service
  • 12. 
    The router allows

  • Associate URLs with components
  • To associate values ​​with services
  • To observe the observables
  • 13. 
    AngularJS is a library?

  • true
  • false
  • 14. 
    There is a controller which takes a single parameter. We call it . . . . . parameter.

  • $param
  • $scope
  • $control
  • $scont
  • 15. 
    What does this syntax do? routerLink="/home"

  • It navigates to the component with a name matching the assigned string
  • It links a route to a service by matching the assigned string to a service class name
  • It links a route with data by matching the assigned string to a property name
  • It navigates to the component with a path matching the assigned string
  • 16. 
    Who was Angular developed by?

  • Google
  • Facebook
  • Netflix
  • Angular
  • 17. 
    Which of the following directive allows us to use form?

  • ng-app
  • ng-form
  • ng-controller
  • ng-bind
  • 18. 
    What event should be used to finish work with form?

  • (click) on button
  • (ngSubmit) on button
  • (click) on form
  • (ngSubmit) on form
  • 19. 
    Angular Router is a ....

  • Component for navigation rules
  • Module for navigation rules
  • Fix for navigation rules
  • Constant for navigation rules
  • 20. 
    Can an HTML page have multiple “ng-app” directive for bootstrapping multiple AngularJS application?

  • yes
  • no
  • none
  • all
  • 21. 
    *ngIf and *ngFor are?

  • Attribute directives
  • Component directives
  • Services
  • Structural directives
  • 22. 
    Which of the following statements are true?

  • AngularJS controller maintains application data & behaviour using $scope
  • AngularJS controller can be created in separate JS file
  • AngularJS controller can be added into module
  • all
  • 23. 
    How many types of Data Binding are there?

  • 1 type
  • 2 type
  • 3 type
  • 4 type
Report Question
warning
access_time
  Time