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

Options:

  • A D
  • B C D
  • A C D
  • A B C
  • A B C D E
  • B C D E
  • A

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

Options:

  • A E
  • B E
  • C D
  • C F
  • D F
  • D G

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.
                                    

Options:

  • A C E
  • A C F
  • A D E
  • A D F
  • B C E
  • B C F
  • B D E
  • B D F
🧐 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 minsSolve
Markup DOM
Templates
Angular
Easy2 minsSolve
Providing Dependency
Dependency Injection
Angular
Medium3 minsSolve

Adaface questions are trusted by 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 default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Probieren Sie noch heute das Tool für die Bewertung von Kandidaten für freundliche Fähigkeiten aus.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
40 min tests.
No trick questions.
Accurate shortlisting.