Learning Partner

IBM Angular Interview Questions for 3+ years

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

  1. What is the difference between var, let, and const?
  2. What is hoisting in JavaScript?
  3. What is a closure? Have you used closures anywhere?
  4. What is the difference between == and ===?
  5. What is the difference between map(), filter() and reduce()?
  6. What is a callback function?
  7. What is the difference between a Promise and an Observable?
  8. Suppose I give you an array of employees. How will you find only the employees whose salary is greater than 50,000?
  9. Explain your current Angular project. Which modules/features have you worked on?
  10. What is a component in Angular?
  11. What are directives? What types of directives have you used?
  12. What is data binding? What are the different types of data binding in Angular?
  13. What are lifecycle hooks? Which lifecycle hooks have you used in your project? In which lifecycle hook would you normally call an API?
  14. How does routing work in Angular?
  15. How will you navigate from one component to another and pass an ID with the route?
  16. How do you share data between parent and child components? Suppose two components don't have a parent-child relationship. How will you share data between them?
  17. Why do we create services in Angular?
  18. What are pipes? Have you created any custom pipes?
  19. What is the difference between Template-Driven Forms and Reactive Forms? Which one have you used?
  20. How do you add required, minLength or custom validation to a Reactive Form?
  21. I give you an API URL which returns an array of employees. You need to display those employees in a table. How will you implement it from API call to UI?
  22. Some pages should only be accessible after the user logs in. How will you implement this in Angular?
  23. How do you avoid memory leaks in an Angular application?
  24. Do you have experience working with a role-based application?
  25. How is your current project deployed to the live server?
  26. Have you created any custom directive in your project?
  27. What is the difference between Subject and BehaviorSubject?

Browse Angular question sets