Angular Interview Questions for 6+ Years Experience

Angular Interview Questions (6+ Years Experience) — L2 Round (Cognizant) One of my LinkedIn connections recently attended an L2 interview for a Senior Angular role (6+ years) and shared the questions she faced. Sharing this here so it helps others preparing for similar roles. 1) Explain memory allocation in JavaScript Sub Que: How to clear closure memory 2) List down ES6 features used in your project Sub Question : Where have you used destructuring and how often do you use Promises in Angular 3) What is your understanding of modules in JavaScript 4) Have you created any pure functions? Explain with use case 5) Have you created any recursive function? Explain it 6) we are working on project where use will login but even if user closed tab and again open we want to keep him still login ? how to achieve this  7) If the same dashboard data is available from multiple APIs, how would you call all APIs in JavaScript and use the response from whichever API returns first? 8) In our application, some users have very slow internet connections, so form submission APIs may take 6–8 seconds to respond. During this delay, users often click the submit button multiple times, causing duplicate records. How would you prevent this issue using JavaScript fundamentals? 9) You are working on a page that displays a table with search filters such as from date, to date, category, price range, and a search button. On search, an API call fetches the table data. Each row has an ‘Open’ button that navigates to a details page. When the user returns to the table page, the previously selected filters and the same table data should still be visible. How would you implement this using JavaScript fundamentals? 10) Difference between setValue and patchValue 11) List reusable components you have created 12) How you will create a reusable textbox whioch should support ngModel and FormControl also 13) What is tree shaking in Angular 14) RxJS operators — tap, race, map (asked with code explanation) 15) Logout button is in navbar but user activity is in dashboard — how will you send that data in logout API 16) Dynamic menu based on roles — one route accessible by multiple roles and Guards for role-based access 17) Project uses PrimeNG but needs migration to Angular Material — how will you plan and manage branching without affecting sprints 18) How comfortable are you with external libraries like AG Grid, PrimeNG, graph libraries For Senior role we have to be ready to Question like these not just basics. If you find this helpful, follow me Chetan Jogi for more Angular interview questions and feel free to repost to help others. #angular #angularInterview #frontendDeveloper #javaScript #RxJS #javascriptInterview #angularDeveloper #angularjobs

Very helpful 👍👍👍👍👍

See more comments

To view or add a comment, sign in

Explore content categories