Learning Partner

TCS Angular Interview Questions for 5+ years

Shared question set for 5+ years of experience, Technical round. Topics and wording follow the supplied notes; these are questions, not official company guidance.

  1. What is a closure in JavaScript?
  2. What is an execution context in JavaScript?
  3. How does Angular bootstrap an application?
  4. What are Signals? In which scenarios would you prefer Signals over BehaviorSubject?
  5. What is Dependency Injection and why do we use it? How would you inject a service at the component level? What does a singleton object mean?
  6. How do you create a custom validator? How would you create a validator for a scenario like "enter email or password"?
  7. What are the different types of forms in Angular? How would you achieve two-way data binding using Reactive Forms?
  8. Explain change detection and Zone.js.
  9. What is the difference between switchMap, concatMap, mergeMap, and exhaustMap? What are their practical use cases?
  10. What is the difference between cold and hot observables?
  11. What is the difference between CanActivate and CanActivateChild?
  12. Explain the Angular lifecycle hooks and their execution order.
  13. How would you implement parent-child communication?
  14. How would you implement communication between sibling components?
  15. How would you improve the performance of an Angular application? For example, lazy loading, trackBy, pagination, etc.
  16. What are some approaches you would use to handle performance issues with large lists?
  17. How do you optimize images in a web application?
  18. Do you have experience with unit testing?
  19. How do you use AI for development after you have gathered the requirements of a feature?
  20. Will you be open to working on React.js or Next.js as well?
  21. Any exposure to cloud?

Browse Angular question sets