Angular 6 Developer Sample Questions

Sample Questions


1. How to  include a prebuilt theme in Angular 6 application, without using the Angular CLI?
A. By a <style> element in index.html
B. By a <include> element in index.html
C. By a <href> element in index.html
D. By a <link> element in index.html

2. What is not a design goal of Angular?

A. to decouple DOM manipulation from application logic. The difficulty of this is dramatically affected by the way the code is structured.
B. to decouple the client side of an application from the server side. This allows development work to progress in parallel, and allows for reuse of both sides.
C. to provide structure for the journey of building an application: from designing the UI, through writing the business logic, to testing.
D. None of these

3. What do installing schematic enables to Angular Material in Angular 6?

A. Ensure project dependencies in your app module
B. Adds Prebuilt or Setup Custom Theme
C. Adds Roboto fonts to your index.html
D. All of these

4. 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

5. Which type of forms places most of the form handling logic within that form's template?
A. Template-Driven Forms
B. Reactive Forms
C. Display Forms
D. Permanent Forms

Answers:      1 (D), 2 (D), 3 (D), 4 (D), 5 (A)

Apply for Certification

 For Support