Angular 9 Sample Questions


Sample Questions
 

 

1. Which of the following is the root element in HTML?

A. head

B. body

C. html

D. meta


2. What is not a benefit of dependency injection in Angular?

A. easier testability

B. better code organization 

C. better code modularization

D. None of these


3. What is not an Angular feature, with respect to testing?

A. Unit-testing

B. end-to-end testing

C. mocks and test harnesses

D. None of these


4. How to install TypeScript transpiler?

A. using Visual Studio

B. using npm

C. Either using Visual Studio or npm

D. None of these


5. Which command is used to manually compile a TypeScript source file into ES5, if using Typescript?

A. node

B. tsc

C. typescript

D. Typescript


Answers: 1-C, 2-D, 3-D, 4-C, 5-B


Apply for Certification

https://www.vskills.in/certification/web-development/angular-9-certification

 For Support