Deloitte Angular Interview Questions for 4+ years
Shared question set for 4+ years of experience, L1 round. Topics and wording follow the supplied notes; these are questions, not official company guidance.
- What is the difference between map and forEach?
- What is the difference between var, let and const?
- Explain hoisting.
- What are the building blocks of Angular?
- What is the difference between constructor and ngOnInit?
- Explain Angular lifecycle hooks.
- How do components communicate with each other?
- What is the difference between Angular 15 and Angular 19? What major changes came after Angular 15?
- Why do we write API call logic in service files instead of component.ts?
- If you are starting a new Angular project, how would you set up the folder structure?
- What is Nx?
- What is the difference between reactive forms and template-driven forms?
- What is the difference between setValue and patchValue?
- Explain Signals and their types.
- What is the use of effect in Signals?
- In which scenario would you use effect and when does it execute?
- Explain debouncing in Angular and how to achieve it.
- How do you check if there is a memory leak in an Angular application?
- Explain the CSS box model.
- What is the difference between px, em and rem?
- How would you restrict access for different users? (Supervisor has full access, but Operator can access only their own account.)
- Can we create HTML elements from a custom directive?
- In a banking application, card numbers should display only the last 4 digits while masking the rest. How would you implement this?
- Explain one challenge you faced in your project.
- Do you have experience writing test cases using Cypress or Jasmine/Karma?
- What is the need for writing test cases? Is it just for the required coverage or is there another reason?
- Are you using any AI-assisted coding agent for daily development?