UI Technologies Practice Test – 7 Posted by Editor Date 2022-09-28 Comments 0 comment Welcome to your UI Technologies Practice Test - 7 How would you use ActiveRoute to check to see if a route parameter was update a)By injecting into component b)By building an instance of it c)By packing it with application d)By injecting into compile parameter Which of the following can be used to run end-to-end tests? a)Karma b)Protractor c)Jasmine d)All the above Which of the following is true? a)Angular 2 Services are used to define the views of an Angular JS application. b)Angular 2 Templates are used to define the views of an Angular JS application c)Angular 2 Components are used to define the views of an Angular JS application d)None of the above. Which animation strategy would you use to apply multiple styles for animation a)Include keyframes in you config b)Use keyframes c)Use in module d)Import Which option describes the functionality of the angular root module? a)Both b)Contains the code on how to compile and launch c)Specifies how all of the application parts work and fit together d)Displayed on web browser Which of the file has reference of all 3rd party application a)Node.js b)Readme.txt c)Package.json d)Install.conf Which of the following is correct about tsconfig.json? a)This file is used to give the options about TypeScript used for the Angular JS project. b)This file contains information about Angular 2 project. c)This file contains the system files required for Angular JS application. d)All of the above. How would you access the value of an input in your component a)Bind the input field to the property in the template b)Bind the input field to the property in the module c)Bind the input field to the property in the component d)None Which of the following is correct about lifecycle hook - ngDoCheck. a)When the value of a data bound property changes, then this method is called. b)This is called whenever the initialization of the directive/component after Angular first displays the data-bound properties happens. c)This is for the detection and to act on changes that Angular can't or won't detect on its own. d)This is called in response after Angular projects external content into the component's view. Which of the following is correct about Services? a)Angular 2 Services are a set of code that can be shared by different components of an application. )Angular 2 Services cannot be used across multiple applications. c)Angular 2 Services help to build the applications into many modules. d)All of the above. Time is Up! Time's up Share: Editor Previous post UI Technologies Practice Test - 6 2022-09-28 Next post .NET Practice Test - 3 2022-10-11 You may also like Oracle Tutorial Videos 8 April, 2023 Spring Tutorial Videos 8 April, 2023 Ui Technologies Tutorial Videos 1 April, 2023