Welcome to your Quiz Angular 2+ [EN], Put your Angular 2+ --> 10, development skills to the test and see how well you know this Framework 1. Which of the following is correct about Angular 2 Error Handling ?This is done by including the ReactJS catch library and then using the catch function.The catch function contains a link to the Error Handler function.Both of the above.None of the above.2. Which of the following is correct about Angular 2 Components ?AngularJS had a focus of Controllers but Angular 2 has changed the focus to having components over controllers.Components help to build the applications into many modules.This helps in better maintaining the application over a period of time.All of the above.3. Which of the following is correct about lifecycle hook - ngOnDestroy.This is called in response after Angular checks the content projected into the component.This is called in response after Angular initializes the component's views and child views.This is called in response after Angular checks the component's views and child views.This is the cleanup phase just before Angular destroys the directive/component.4. Which of the following is correct about Import Array in Angular 2 Modules ?Import array can be used to import the functionality from other Angular JS modules.Import array can be used to import the templates.Both of the above.None of the above.5. Which of the following is correct about lifecycle hook - ngAfterContentInit.When the value of a data bound property changes, then this method is called.This is called whenever the initialization of the directive/component after Angular first displays the data-bound properties happens.This is for the detection and to act on changes that Angular can't or won't detect on its own.This is called in response after Angular projects external content into the component's view.6. Which of the following is true ?Angular 2 Modules are used to create components which can be shared across the entire application.Angular 2 Metadata is used to create components which can be shared across the entire application.Angular 2 Services are used to create components which can be shared across the entire application.None of the above.7. Which of the following filter is used to convert input to all lowercase ?lowercaselowerBoth of the above.None of the above.8. Which of the following filter is used to convert an input string to currency format.currencyamountBoth of the above.None of the above.9. Which of the following is correct about tsconfig.json ?The target for the compilation is generally es5 because most browsers can only understand ES5 typescript.The sourceMap option is used to generate Map files, which are useful when debugging. Hence, during development it is good to keep this option as true.The "emitDecoratorMetadata": true and "experimentalDecorators": true is required for Angular JS decorators. If not in place, Angular JS application will not compile.All of the above.Time is Up! Post Views: 137 TweetPinShareLinkedInEmailPrint Tagged: angular 8angular 9quiz