Interview Q&A

Master technical and career interviews with structured answers—short definition, real examples, pitfalls, and how to answer in 60–90 seconds.

4608 total questions 4508 technical 100 career & HR 4272 from PDF library

Showing 201–225 of 963

Career & HR topics

By tech stack

Popular tracks

Junior PDF
What is Angular Universal, and how does it improve SEO?

Short answer: Angular Universal is a technology that enables Server-Side Rendering (SSR) of Angular applications. Instead of rendering the app purely in the browser (client-side), the initial HTML is rendered on the serv…

Angular Read answer
Junior PDF
What is change detection in Angular?

Short answer: Change detection is the mechanism Angular uses to update the DOM when the application's state changes. When data-bound properties change, Angular runs a change detection cycle to check if the view needs upd…

Angular Read answer
Junior PDF
What is the difference between template-driven forms and reactive forms in Angular?

Short answer: Feature Template-Driven Forms Reactive Forms Approach Declarative, based on directives in template Programmatic, model-driven in TypeScript Form Setup Mostly in HTML template Mostly in TypeScript code Valid…

Angular Read answer
Junior PDF
What is Angular Ivy, and how does it impact performance?

Short answer: Angular Ivy is the Angular next-generation rendering engine and compiler introduced officially in Angular 9. Explain a bit more It improves: Bundle size: Smaller generated code via better tree shaking and c…

Angular Read answer
Junior PDF
What is Angular Universal, and how does it improve SEO?

Short answer: ngular applications. Instead of rendering the app purely in the browser (client-side), the initial HTML is rendered on the server and sent to the client. Improves SEO because search engines get fully render…

Angular Read answer
Junior PDF
How do you test Angular components?

Short answer: wait TestBed.configureTestingModule({ declarations: [MyComponent] }).compileComponents(); fixture = TestBed.createComponent(MyComponent); component = fixture.componentInstance; fixture.detectChanges(); });…

Angular Read answer
Junior PDF
What is the Angular CLI, and how do you use it to create Angular applications?

Short answer: The Angular CLI (Command Line Interface) is a tool to generate, build, test, and maintain Angular apps efficiently. It automates repetitive tasks and enforces best practices. You can create a new Angular ap…

Angular Read answer
Junior PDF
What is an Angular module, and why is it important?

Short answer: An Angular Module (NgModule) is a container to group related components, directives, pipes, and services. It organizes an Angular app into cohesive blocks of functionality. Helps with code organization, com…

Angular Read answer
Junior PDF
What is change detection in Angular?

Short answer: pplication's state changes. When data-bound properties change, Angular runs a change detection cycle to check if the view needs updating. It checks component data and updates the UI accordingly. Happens aut…

Angular Read answer
Junior PDF
What is the difference between template-driven forms and reactive forms in Angular?

Short answer: pproach Declarative, based on directives in template Programmatic, model-driven in TypeScript Form Setup Mostly in HTML template Mostly in TypeScript code Validation Simple, template-based More powerful, re…

Angular Read answer
Junior PDF
What is Angular, and how is it different from AngularJS?

Short answer: Angular is a TypeScript-based open-source front-end web application framework developed by Google for building single-page applications (SPAs). Explain a bit more Key Differences: Feature AngularJS (v1.x) A…

Angular Read answer
Junior PDF
What is the purpose of the ng serve command in Angular?

Short answer: ng serve builds and launches a development server that hosts your app locally. It watches for file changes and automatically reloads the app (live-reload). Useful during development for rapid testing. ng se…

Angular Read answer
Junior PDF
What is server-side rendering (SSR) in Angular?

Short answer: SSR means rendering the app’s HTML on the server before sending it to the client. With Angular Universal, the app runs on Node.js server rendering Angular components into HTML. The client then takes over vi…

Angular Read answer
Junior PDF
What is the purpose of the ng serve command in

Short answer: ngular? ng serve builds and launches a development server that hosts your app locally. It watches for file changes and automatically reloads the app (live-reload). Useful during development for rapid testin…

Angular Read answer
Junior PDF
What is the role of NgModule in Angular?

Short answer: @NgModule is a decorator that defines a module. It declares which components, directives, and pipes belong to the module. It imports other modules needed for its components. It exports components/modules to…

Angular Read answer
Junior PDF
What is the difference between default and onPush change detection strategies in Angular?

Short answer: Change Detection Strategy Description When to Use Default Angular checks every component in the component tree every cycle Simple apps or components with frequent changes OnPush Angular checks component onl…

Angular Read answer
Junior PDF
What is the Angular compiler, and how does it work?

Short answer: The Angular compiler converts Angular templates and TypeScript code into efficient JavaScript code. There are two modes: JIT (Just-in-Time): Compilation happens in the browser at runtime. AOT (Ahead-of-Time…

Angular Read answer
Junior PDF
What is TestBed in Angular, and how is it used?

Short answer: TestBed is the primary API to configure and initialize the environment for unit testing Angular components and services. It allows you to declare components, provide services, import modules, and compile te…

Angular Read answer
Junior PDF
What is trackBy in ngFor, and how does it improve performance?

Short answer: trackBy is a function used with *ngFor to tell Angular how to track list items uniquely. Why it matters: Without trackBy, Angular recreates DOM elements on each update, causing performance overhead. ✅ Examp…

Angular Read answer
Junior PDF
What is the importance of lazy loading modules in large Angular applications?

Short answer: Lazy loading loads feature modules only when needed (e.g., when a user navigates to a route). Benefits: Reduces initial bundle size → faster app startup. Improves performance and user experience. Enables be…

Angular Read answer
Junior PDF
What is JWT (JSON Web Token), and how is it used in Angular?

Short answer: JWT is a compact, URL-safe token format that securely transmits information between parties. Contains a payload with user info and claims, digitally signed. Angular apps use JWT to: Store authentication sta…

Angular Read answer
Junior PDF
What is the difference between ng build and ng serve?

Short answer: Comman Purpose ng serve Builds app in memory, runs a dev server, watches files, reloads on changes (for development) ng build Builds app to disk, generates production or development-ready output files Real-…

Angular Read answer
Junior PDF
What is CommonModule in Angular, and when do you need to import it?

Short answer: CommonModule provides common directives like *ngIf, *ngFor, ngClass, etc. You import it in feature modules or any module other than the root module. Don’t import BrowserModule in feature modules; instead, i…

Angular Read answer
Junior PDF
What is trackBy in ngFor, and how does it improve performance?

Short answer: ngular reuses existing DOM elements instead of recreating them. Real-world example (ShopNest) ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for p…

Angular Read answer
Junior PDF
What is a Burndown Chart, and how can it be used to track progress?

Short answer: Definition: A Burndown Chart is a visual tool that shows the remaining work in a Sprint or project over time. Purpose: Helps teams monitor progress toward completing the Sprint backlog. Enables early identi…

Agile Read answer

Angular Angular Tutorial · Angular

Short answer: Angular Universal is a technology that enables Server-Side Rendering (SSR) of Angular applications. Instead of rendering the app purely in the browser (client-side), the initial HTML is rendered on the server and sent to the client. Improves SEO because search engines get fully rendered HTML content immediately, which they can index better. Also improves perceived performance and faster first paint.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Change detection is the mechanism Angular uses to update the DOM when the application's state changes. When data-bound properties change, Angular runs a change detection cycle to check if the view needs updating. It checks component data and updates the UI accordingly. Happens automatically after events, HTTP requests, timers, etc.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Feature Template-Driven Forms Reactive Forms Approach Declarative, based on directives in template Programmatic, model-driven in TypeScript Form Setup Mostly in HTML template Mostly in TypeScript code Validation Simple, template-based More powerful, reactive & scalable Form Control Implicitly created by Angular Explicitly created and managed Scalability Suitable for simple forms Best for complex forms Change…

Explain a bit more

Detection Asynchronous Synchronous Testing Harder to test Easier to unit test

Real-world example (ShopNest)

ShopNest’s ProductListComponent binds *ngFor to products and uses (click) to add to cart.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Angular Ivy is the Angular next-generation rendering engine and compiler introduced officially in Angular 9.

Explain a bit more

It improves: Bundle size: Smaller generated code via better tree shaking and code generation. Build times: Faster incremental builds. Runtime performance: Faster rendering and change detection. Better debugging: More readable generated code and better error messages. Ivy enables partial compilation and supports new features like locality principle (compile only used components).

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: ngular applications. Instead of rendering the app purely in the browser (client-side), the initial HTML is rendered on the server and sent to the client. Improves SEO because search engines get fully rendered HTML content immediately, which they can index better. Also improves perceived performance and faster first paint. Real-world example… (ShopNest)…… ShopNest admin can be built in Angular with…

Explain a bit more

modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: wait TestBed.configureTestingModule({ declarations: [MyComponent] }).compileComponents(); fixture = TestBed.createComponent(MyComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create component', () => { expect(component).toBeTruthy(); }); wait TestBed.configureTestingModule({ declarations:… [MyComponent]…… }).compileComponents(); fixture =…

Explain a bit more

TestBed.createComponent(MyComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create component', () => { expect(component).toBeTruthy(); }); wait TestBed.configureTestingModule({ declarations: [MyComponent] }).compileComponents(); fixture = TestBed.createComponent(MyComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create component', () => { expect(component).toBeTruthy(); }); wait TestBed.configureTestingModule({ declarations:… [MyComponent] }).compileComponents(); fixture = TestBed.createComponent(MyComponent); component = fixture.componentInstance; fixture.detectChanges();…

Real-world example (ShopNest)

ShopNest’s ProductListComponent binds *ngFor to products and uses (click) to add to cart.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: The Angular CLI (Command Line Interface) is a tool to generate, build, test, and maintain Angular apps efficiently. It automates repetitive tasks and enforces best practices. You can create a new Angular app with: ng new my-angular-app This command scaffolds a complete Angular project with all necessary files and configurations.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: An Angular Module (NgModule) is a container to group related components, directives, pipes, and services. It organizes an Angular app into cohesive blocks of functionality. Helps with code organization, compilation, dependency injection, and lazy loading. Every Angular app has at least one root module (AppModule).

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: pplication's state changes. When data-bound properties change, Angular runs a change detection cycle to check if the view needs updating. It checks component data and updates the UI accordingly. Happens automatically after events, HTTP requests, timers, etc.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: pproach Declarative, based on directives in template Programmatic, model-driven in TypeScript Form Setup Mostly in HTML template Mostly in TypeScript code Validation Simple, template-based More powerful, reactive & scalable Form Control Implicitly created by Angular Explicitly created and managed Scalability Suitable for simple forms Best for… complex…… forms… Change Detection synchronous Synchronous Testing Harder…

Real-world example (ShopNest)

ShopNest’s ProductListComponent binds *ngFor to products and uses (click) to add to cart.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Angular is a TypeScript-based open-source front-end web application framework developed by Google for building single-page applications (SPAs).

Explain a bit more

Key Differences: Feature AngularJS (v1.x) Angular (2+) Language JavaScript TypeScript Architecture MVC (Model-View-Controller) Component-based Mobile Support No Yes Performance Slower due to two-way binding Faster with unidirectional data flow Dependency Injection Limited Robust and built-in Real-Time

Example code

AngularJS was used in legacy projects (e.g., dashboards in older admin panels). Angular is used in modern SPAs like Google Ads, Gmail, Netflix dashboards, etc.

Real-world example (ShopNest)

A shared CartService is injected into header and product pages so both see the same cart count.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: ng serve builds and launches a development server that hosts your app locally. It watches for file changes and automatically reloads the app (live-reload). Useful during development for rapid testing. ng serve

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: SSR means rendering the app’s HTML on the server before sending it to the client. With Angular Universal, the app runs on Node.js server rendering Angular components into HTML. The client then takes over via Angular’s client-side rendering (hydration).

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: ngular? ng serve builds and launches a development server that hosts your app locally. It watches for file changes and automatically reloads the app (live-reload). Useful during development for rapid testing. ng serve

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: @NgModule is a decorator that defines a module. It declares which components, directives, and pipes belong to the module. It imports other modules needed for its components. It exports components/modules to make them available elsewhere. It configures services/providers scoped to the module.

Example code

@NgModule({ declarations: [MyComponent, MyDirective], imports: [CommonModule], exports: [MyComponent] }) export class MyModule {}

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Change Detection Strategy Description When to Use Default Angular checks every component in the component tree every cycle Simple apps or components with frequent changes OnPush Angular checks component only if input references change or events Optimizes performance, suitable for immutable data & smart components How to set OnPush: @Component({ selector: 'app-example', changeDetection:…

Explain a bit more

ChangeDetectionStrategy.OnPush, template: `...` }) export class ExampleComponent {} Key Difference: Default: Runs change detection every time. OnPush: Runs only when inputs change by reference or manual trigger.

Real-world example (ShopNest)

A shared CartService is injected into header and product pages so both see the same cart count.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: The Angular compiler converts Angular templates and TypeScript code into efficient JavaScript code. There are two modes: JIT (Just-in-Time): Compilation happens in the browser at runtime. AOT (Ahead-of-Time): Compilation happens during the build phase, producing optimized JS files. It processes: Templates → render functions Metadata → static code to improve runtime Ivy compiler is the latest Angular compiler.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: TestBed is the primary API to configure and initialize the environment for unit testing Angular components and services. It allows you to declare components, provide services, import modules, and compile templates.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: trackBy is a function used with *ngFor to tell Angular how to track list items uniquely. Why it matters: Without trackBy, Angular recreates DOM elements on each update, causing performance overhead. ✅

Example code

<div *ngFor="let item of items; trackBy: trackById"> {{ item.name }} </div> trackById(index: number, item: any) { return item.id; // unique id per item } Angular reuses existing DOM elements instead of recreating them.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Lazy loading loads feature modules only when needed (e.g., when a user navigates to a route). Benefits: Reduces initial bundle size → faster app startup. Improves performance and user experience. Enables better code splitting and modularity. Angular supports lazy loading via dynamic route configuration: { path: 'products', loadChildren: () => import('./products/products.module').then(m => m.ProductsModule) }

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: JWT is a compact, URL-safe token format that securely transmits information between parties. Contains a payload with user info and claims, digitally signed. Angular apps use JWT to: Store authentication state. Send it with API requests to authorize access. Decode JWT to get user roles, expiry, etc.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: Comman Purpose ng serve Builds app in memory, runs a dev server, watches files, reloads on changes (for development) ng build Builds app to disk, generates production or development-ready output files

Real-world example (ShopNest)

A shared CartService is injected into header and product pages so both see the same cart count.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: CommonModule provides common directives like *ngIf, *ngFor, ngClass, etc. You import it in feature modules or any module other than the root module. Don’t import BrowserModule in feature modules; instead, import CommonModule there.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Angular Angular Tutorial · Angular

Short answer: ngular reuses existing DOM elements instead of recreating them.

Real-world example (ShopNest)

ShopNest admin can be built in Angular with modules/components, services for API calls, and reactive forms for product edit.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share

Agile & Scrum Developer Essentials · Agile

Short answer: Definition: A Burndown Chart is a visual tool that shows the remaining work in a Sprint or project over time. Purpose: Helps teams monitor progress toward completing the Sprint backlog. Enables early identification of scope creep or falling behind. Follow On: How to use: X-axis: Days in Sprint Y-axis: Remaining effort (usually in story points or hours) Ideal line vs. actual line

Example code

Midway through a Sprint, a team sees the burndown flatlining (no work is getting “done”). This prompts a conversation — they discover a blocker in API access and address it before the Sprint is derailed. Scrum Implementation & Best Practices:

Real-world example (ShopNest)

Agile for ShopNest means ship a thin checkout slice every sprint, get feedback, then improve—not a 6-month big-bang release.

Say this in the interview

  1. Define — one clear sentence (the short answer above).
  2. Example — relate it to a project like ShopNest or your real work.
  3. Trade-off — when you would not use it.
Permalink & share
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details