InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
You define Service in __________. |
|
Answer» You define Service in __________. |
|
| 2. |
Which of the following will be true if the user changed the value of control? |
|
Answer» Which of the following will be TRUE if the user CHANGED the value of control? |
|
| 3. |
The observable returns a single object alone in an HTTP request. |
|
Answer» The observable returns a single object alone in an HTTP request. |
|
| 4. |
You add novalidate attribute to a form to prevent the browser from automatically validating. |
|
Answer» You add novalidate attribute to a form to PREVENT the BROWSER from AUTOMATICALLY validating. |
|
| 5. |
FormsModule is imported from angular/_________ in Model Driven Form. |
|
Answer» FormsModule is IMPORTED from ANGULAR/_________ in Model Driven Form. |
|
| 6. |
Which decorator is optional if the class has any other decorator? |
|
Answer» Which decorator is optional if the class has any other decorator? |
|
| 7. |
The PATCH method is used when sending passwords or other sensitive information. |
|
Answer» The PATCH method is used when sending passwords or other SENSITIVE information. |
|
| 8. |
EventEmitter is a ________ defined in angular/core module to emit custom events. |
|
Answer» EventEmitter is a ________ defined in angular/core module to emit custom events. |
|
| 9. |
Which of the following is affected/changed on loading components? |
|
Answer» Which of the following is affected/changed on loading COMPONENTS? |
|
| 10. |
The following are operators of observables, except ________. |
|
Answer» The FOLLOWING are OPERATORS of observables, except ________. |
|
| 11. |
You place _______________ where you want the components to be inserted. |
|
Answer» You place _______________ where you WANT the components to be inserted. |
|
| 12. |
_____________ acts as a container to store all the services required for creating a component. |
|
Answer» _____________ acts as a container to store all the services REQUIRED for creating a component. |
|
| 13. |
You can prevent Angular2 from auto-validating the form by using _______. |
|
Answer» You can prevent Angular2 from auto-validating the form by using _______. |
|
| 14. |
_____________ decorator creates services. |
|
Answer» _____________ decorator CREATES services. |
|
| 15. |
Non-parameterized routes always take priority over parameterized routes. |
|
Answer» Non-parameterized routes always take priority over parameterized routes. |
|
| 16. |
Router defines mapping of URL to ______________. |
|
Answer» Router defines MAPPING of URL to ______________. |
|
| 17. |
FormGroups can nest inside other FormGroups. |
|
Answer» FormGroups can nest inside other FormGroups. |
|
| 18. |
An observable can handle multiple events. |
|
Answer» An OBSERVABLE can handle MULTIPLE events. |
|
| 19. |
Which of the following provides data to components? |
|
Answer» Which of the following PROVIDES data to components? |
|
| 20. |
A promise is cancellable. |
|
Answer» A promise is cancellable. |
|
| 21. |
In an HTTP call, from where is the data fetched? |
|
Answer» In an HTTP call, from where is the data FETCHED? |
|
| 22. |
The following are router guard types, except _________. |
|
Answer» The FOLLOWING are router guard types, EXCEPT _________. |
|
| 23. |
Service decorator is used to create a new service. |
|
Answer» SERVICE decorator is used to create a NEW service. Choose the correct OPTION from below list (1)True (2)False Answer:-(2)False |
|
| 24. |
Service is a _______________. |
|
Answer» Service is a _______________. |
|
| 25. |
_____________ is not a primary HTTP verb. |
|
Answer» _____________ is not a primary HTTP verb. |
|
| 26. |
Which property of Routes defines the path of the component? |
|
Answer» Which property of ROUTES defines the path of the component? |
|
| 27. |
Promise returns single value when called. |
|
Answer» PROMISE returns single value when called. Choose the correct option from below LIST (1)True (2)False Answer:-(1)True |
|
| 28. |
Which function bootstraps the form to its pristine state? |
|
Answer» Which function bootstraps the form to its pristine state? |
|