Explore topic-wise InterviewSolutions in .

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 __________.
CHOOSE the correct OPTION from below list
(1)CONSTRUCTOR
(2)Decorator
(3)Component
(4)Class

Answer:-(1)Constructor

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?
CHOOSE the CORRECT option from below list
(1)dirty
(2)valid
(3)touched
(4)Pristine

Answer:-(1)dirty

3.

The observable returns a single object alone in an HTTP request.

Answer»

The observable returns a single object alone in an HTTP request.
Choose the correct option from below LIST
(1)True
(2)False

Answer:-(1)True

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.
Choose the correct option from below list
(1)TRUE
(2)False

Answer:-(1)True

5.

FormsModule is imported from angular/_________ in Model Driven Form.

Answer»

FormsModule is IMPORTED from ANGULAR/_________ in Model Driven Form.
Choose the correct option from below list
(1)form
(2)forms
(3)CORE
(4)None of the OPTIONS

Answer:-(4)None of the options

6.

Which decorator is optional if the class has any other decorator?

Answer»

Which decorator is optional if the class has any other decorator?
Choose the CORRECT option from below LIST
(1)INJECTABLE
(2)Input
(3)component
(4)output

Answer:-(1)injectable

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.
Choose the CORRECT option from below LIST
(1)True
(2)False

Answer:-(1)True

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.
Choose the correct option from below list
(1)Module
(2)METHOD
(3)Class
(4)Service

Answer:-(3)Class

9.

Which of the following is affected/changed on loading components?

Answer»

Which of the following is affected/changed on loading COMPONENTS?
Choose the correct OPTION from below LIST
(1)URL
(2)OBSERVABLE
(3)Attribute Directive
(4)Structural Directive

Answer:-(1)URL

10.

The following are operators of observables, except ________.

Answer»

The FOLLOWING are OPERATORS of observables, except ________.
Choose the CORRECT option from below list
(1)GEO
(2)map
(3)FILTER
(4)reduce

Answer:-(1)geo

11.

You place _______________ where you want the components to be inserted.

Answer»

You place _______________ where you WANT the components to be inserted.
Choose the CORRECT option from below list
(1)NONE of the OPTIONS
(2)router-inlet
(3)router-insert
(4)router-outlet

Answer:-(4)router-outlet

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.
Choose the CORRECT option from below LIST
(1)PROVIDERS
(2)imports
(3)registerable
(4)injectables

Answer:-(1)providers

13.

You can prevent Angular2 from auto-validating the form by using _______.

Answer»

You can prevent Angular2 from auto-validating the form by using _______.
CHOOSE the correct option from below LIST
(1)novalidate
(2)validate= MANUAL
(3)validate= DISABLED
(4)form.novalidate

Answer:-(1)novalidate

14.

_____________ decorator creates services.

Answer»

_____________ decorator CREATES services.
Choose the correct OPTION from below list
(1)injectable
(2)decorator
(3)OUTPUT
(4)services

Answer:-(1)INJECTABLES

15.

Non-parameterized routes always take priority over parameterized routes.

Answer»

Non-parameterized routes always take priority over parameterized routes.
Choose the correct OPTION from below LIST
(1)TRUE
(2)False

Answer:-(1)True

16.

Router defines mapping of URL to ______________.

Answer»

Router defines MAPPING of URL to ______________.
Choose the CORRECT option from below list
(1)COMPONENT
(2)Directive
(3)PIPES
(4)HTML page

Answer:-(1)Component

17.

FormGroups can nest inside other FormGroups.

Answer»

FormGroups can nest inside other FormGroups.
Choose the CORRECT option from below list
(1)True
(2)False

Answer:-(1)True

18.

An observable can handle multiple events.

Answer»

An OBSERVABLE can handle MULTIPLE events.
Choose the correct OPTION from below list
(1)True
(2)False

Answer:-(1)True

19.

Which of the following provides data to components?

Answer»

Which of the following PROVIDES data to components?
CHOOSE the correct option from below LIST
(1)Attributes
(2)Decorators
(3)Services
(4)Pipes

Answer:-(3)Services

20.

A promise is cancellable.

Answer»

A promise is cancellable.
Choose the CORRECT OPTION from below list
(1)FALSE
(2)True

Answer:-(1)False

21.

In an HTTP call, from where is the data fetched?

Answer»

In an HTTP call, from where is the data FETCHED?
Choose the correct option from below LIST
(1)Service
(2)COMPONENT
(3)Input
(4)API

Answer:-(4)API

22.

The following are router guard types, except _________.

Answer»

The FOLLOWING are router guard types, EXCEPT _________.
Choose the correct option from below list
(1)CanDeactivateChild
(2)CanActivateChild
(3)CanActivate
(4)CanDeactivate

Answer:-(1)CanDeactivateChild

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 _______________.
Choose the CORRECT OPTION from below LIST
(1)CLASS
(2)Decorator
(3)Dependency Injection
(4)Function

Answer:-(1)Class

25.

_____________ is not a primary HTTP verb.

Answer»

_____________ is not a primary HTTP verb.
Choose the correct option from below LIST
(1)PATCH
(2)GET
(3)POST
(4)FETCH

Answer:-(4)FETCH

26.

Which property of Routes defines the path of the component?

Answer»

Which property of ROUTES defines the path of the component?
Choose the correct option from below list
(1)url
(2)HREF
(3)src
(4)path

Answer:-(4)path

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?
CHOOSE the CORRECT option from below list
(1)BOOTSTRAP
(2)NEXT
(3)reset
(4)ngSubmit

Answer:-(3)reset

29.

In Reactive forms, the HTML of the forms is automatically created.

Answer»

In REACTIVE forms, the HTML of the forms is automatically created.
Choose the correct OPTION from below list
(1)False
(2)True

Answer:-(1)False

30.

Which of the following creates new services required by the applications?

Answer»

Which of the following creates NEW services required by the applications?
Choose the correct option from below LIST
(1)Providers
(2)dependancy injection
(3)Component
(4)Injectable

Answer:-(1)Providers