Search test library by skills or roles
⌘ K

Adaface Sample Angular Questions

Here are some sample Angular questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Marker ink component
Solve
Consider the following component, which can be used to model a marker and the ink it writes.
 image
Which statements about the given component are true?
A: The 'marker' parameter of the @Input('marker') declaration does not alter the interface of the component.
            B: Component, Input and Output are all required imports for this component.
            C: Both marker and ink inputs must be provided when including the MarkerInk component in a template.
            D: When included in a components template, the MarkerInk component creates a span containing the interpolated marker's name and a button bound to writeInk().
            E: The MarkerInk component can be included in another template using the <MarkerInk> tag.

Easy

Markup DOM
Templates
Solve
Review the following Angular components:
 image
What will be rendered to the DOM based on the following markup usage?
 image
 image

Medium

Providing Dependency
Dependency Injection
Solve
Review the following classes that need to act as dependencies in an Angular project:
 image
Service X is provided to SampleComponent as shown here:
 image
Service Y is provided to SampleModule as shown here:
 image
Service Z is provided to AnotherSampleModule as shown here:
 image
Pick the correct statements:
            
            A: Service X is registered with specific ngComponent. Any new instance of that component will have new instance of Service X.
            B: Single, shared instance of Service X is created and is injected into any class that asks for it.
            C: A new instance of Service Y is created and injected into any component that asks for it in SampleModule.
            D: Service Y is registered with specific ngModule and the same instance of Service Y is available to all components of SampleModule instead of creating one for every component in the SampleModule.
            E: A new instance of Service Z is created and injected into any class that asks for it.
            F: Angular creates a single, shared instance of Service Z and injects that into any class that asks for it.
🧐 Question🔧 Skill

Medium

Marker ink component

2 mins

Angular
Solve

Easy

Markup DOM
Templates

2 mins

Angular
Solve

Medium

Providing Dependency
Dependency Injection

3 mins

Angular
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Marker ink component
Angular
Medium2 mins
Solve
Markup DOM
Templates
Angular
Easy2 mins
Solve
Providing Dependency
Dependency Injection
Angular
Medium3 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️