20 questions to test your knowledge of the Google Framework! => The total score must be at least: 15 points 🤓
1- Angular is a framework oriented… (1 point):
- Components
- Modules
- JavaScript
The right answer!
Components2- Which company is behind Angular... (1 point):
- Amazon
- Apple
- Microsoft
The right answer!
Google3- What is a transpiling used for? (2 point):
- Convert your TypeScript code to JavaScript code
- Improve the quality of your JavaScript code
- Change the behavior of your web page on mobile devices
- Convert JavaScript code from ECMAScript 6 standard to ECMAScript 5
The right answer!
Convert JavaScript code from ECMAScript 6 standard to ECMAScript 54- What is the recommended language for developing Angular applications? (1 point):
- Dart
- TypeScript
- JavaScript
The right answer!
TypeScript5- Are browsers able to interpret TypeScript directly (1 point):
- Yes
- no
The right answer!
No6- Which standards below are part of the WebComponents standard? (2 point):
- HTML imports
- Dynamic style sheets
- The shadow DOM
- HTML templates
- The virtual DOM
- Custom items
The right answer!
* HTML imports * The shadow DOM * HTML templates * Custom items7- Is it possible to have multiple shadow DOMs on a single web page? (1 point):
- Yes
- no
The right answer!
Yes8- What do you call the module at the base of any Angular application? (1 point):
- The single module
- The original module
- The root module
The right answer!
The root module10 - Which of the lists below corresponds to the methods available to interact with the lifecycle of a component, in the chronological order they are called by Angular? (2 point):
- ngOnInit - ngAfterViewInit - ngOnChanges - ngOnDestroy
- ngDoCheck - ngOnInit - ngOnDestroy - ngOnChanges
- ngOnChanges - ngOnInit - ngAfterViewInit - ngOnDestroy
- ngOnInit - ngDoCheck - ngAfterViewInit - ngOnChanges
The right answer!
ngOnChanges - ngOnInit - ngAfterViewInit - ngOnDestroy11- We can develop the template of a component: (1 point):
- On multiple lines via component annotation
- In a specific file, separate from the component.
- In a special service that only manages the application templates.
- On a single line, in the annotation of the component.
The right answer!
- On multiple lines via component annotation. - In a specific file, separate from the component. - On a single line, in the annotation of the component.12- What do you call displaying a property of a component in its template? (1 point):
- Superposition
- Extrapolation
- Intra-link
- Interpolation
The right answer!
Interpolation13- Which items below are directives? (1 point):
- Structural directives
- The components
- Pipes
- Functional modules
- Attribute directives
- None of the above!
The right answer!
- Structural directives - The components - Attribute directives14- What is the @HostListener annotation for? (1 point):
- It allows our application to be hosted by the Listener host
- It allows to bind a method of a directive to a given event
- It allows to intercept the interactions of the user in the component
- It allows you to tell Angular that a class is a directive
The right answer!
It allows to bind a method of a directive to a given event15- What are the basic pipes available in an Angular application? (1 point):
- DatePipe
- ColorPipe
- CountryPipe
- LowerCasePipe
- CurrencyPipe
The right answer!
DatePipe - CountryPipe - LowerCasePipe16- What operator is used to intercept all requests to the application? (1 point):
- |
- **
- +
- ?
The right answer!
**17- What types of module exist in an application? (1 point):
- Complementary modules
- The root module
- Functional modules
- Source modules
The right answer!
The root module - Functional modules18- What annotation should we decorate our services with? (2 point):
- @HostListener
- @Injectable
- @Directive
- @Service
The right answer!
@Injectable19- In what situations can Guards be used? (2 point):
- To set up an authentication system
- To verify data recovery before a redirect
- To change the theme of your application
- To manage redirects in the app
The right answer!
To set up an authentication system - To manage redirects in the app20- Which library is recommended to implement reactive programming in an Angular application?(2 point)
- Bacon.js
- ReactiveProgramming
- RxJS
- Currently, there is no library for reactive programming