1. Angular template can be defined inline as well as a separate html file

A. True

B. False

2. Angular can be used with different module bundle packages apart from WebPack like Systemjs, Commonjs etc

A. True

B. False

3. Below tool is used for Static Code analysis of Angular application

A. Linting

B. Scanning

C. Profiling

D. Refactoring

4. Below construct provide modular structure to angular application

A. Component

B. NgModule

C. Directives

D. Pipes

5. Pipes modify underlying value of bound expression/variables

A. True

B. False

6. Which decorator is used for declaring class as a Service

A. @Service

B. @Injectable

C. @Provider

D. @DI

7. Below module is required for building reactive forms

A. FormsModule

B. ReactiveFormsModule

C. DynamicFormsModule

D. None of the above

8. Directive object can be created and used in HTML without target host DOM element

A. True

B. False

9. Using below directive you can modify inner HTML of DOM element

A. Attribute directive

B. Structural directive

10. You can pass optional parameters to custom pipes

A. True

B. False

11. Pick incorrect type of pipe in angular

A. Pure Pipe

B. Impure Pipe

C. Reactive Pipe

12. If one service is provided at different NgModule and Component here will be only one instance of that service

A. True

B. False

13. Below life cycle hook is executed when component is destroyed

A. destructor

B. delete

C. destroy

D. ngDelete

14. Select type of pipe Angular executes during every change detection cycle of component

A. Pure Pipe

B. Impure Pipe

15. In Angular application there can be at most one <router-outlet> can be used for routing

A. True

B. False

16. Which router function should be called in to feed route configuration for lazy routing approach

A. RouterModule.forRoot

B. RouterModule.forChild

17. Which routing guard is used to check whether routing can take place or not

A. CanActivate

B. Resolve

C. CanLoad

D. CanDeactive

18. void => * transition animation gets applied when

A. Element is entering

B. Element is leaving

19. * => void transition animation gets applied when

A. Element is entering

B. Element is leaving

20. Below compilation option create smaller in size and faster in performance angular distributed package

A. JIT

B. AOT

Answers:

1- A

2- A

3- A

4- B

5- B

6- B

7- B

8- B

9- B

10- A

11- C

12- B

13- C

14- B

15- B

16- B

17- A

18- A

19- B

20- B

Do you want to continue teasing your brain?

Here is the set 4.

Cloud Solution Architect | Author | Full Stack Developer | https://www.linkedin.com/in/balram-chavan | https://www.hiretheauthor.com/balramchavan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store