i
Tech Mahindra
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There was 1 interview round.
There are two types of compilations in Angular: Just-in-Time (JIT) compilation and Ahead-of-Time (AOT) compilation.
Just-in-Time (JIT) compilation: Compiles the Angular application in the browser at runtime. Slower startup time but easier development process.
Ahead-of-Time (AOT) compilation: Compiles the Angular application during the build process before the browser downloads and runs the code. Faster startup time but r
Building blocks of Angular include components, modules, services, directives, templates, and dependency injection.
Components are the basic building blocks of Angular applications
Modules help organize the application into cohesive blocks of functionality
Services are reusable code that can be injected into components
Directives add behavior to elements in the DOM
Templates define the UI of the application
Dependency injecti...
I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.
Multiple MCQ questions and 1 coding test
I have worked on various projects ranging from e-commerce platforms to data visualization tools.
Developed a responsive e-commerce website using Angular, HTML, CSS, and Bootstrap.
Implemented data visualization features using D3.js for a financial analytics tool.
Integrated RESTful APIs to fetch and display real-time data in a dashboard application.
Optimized performance by implementing lazy loading and code splitting tech...
I have worked on Angular versions 2, 4, 6, 8, 10, and 12.
Worked on Angular 2, which introduced components, modules, services, and directives.
Experience with Angular 4, which focused on making the framework faster and smaller.
Familiar with Angular 6, which introduced Angular Elements and Angular CLI v6.
Proficient in Angular 8, which brought improvements in Ivy rendering engine and differential loading.
Hands-on experienc...
Sort and remove duplicates from an array of strings in JavaScript.
Use the Array.prototype.sort() method to sort the array.
Use the Set object to remove duplicates from the sorted array.
Convert the Set back to an array using the spread operator.
Angular is a popular open-source web application framework developed by Google for building dynamic single-page applications.
Angular is based on TypeScript, a superset of JavaScript.
It uses components to build the user interface.
Angular provides features like data binding, dependency injection, and routing.
It has a powerful CLI for scaffolding and managing projects.
Angular is commonly used for building interactive web
Angular offers advantages such as two-way data binding, dependency injection, and modular architecture.
Two-way data binding allows automatic synchronization of data between the model and the view
Dependency injection helps manage components and their dependencies easily
Modular architecture promotes code reusability and maintainability
Angular provides a rich ecosystem of tools and libraries for development
Angular CLI sim
Deep copy creates a new copy of an object with all nested objects also copied, while shallow copy creates a new object with references to the original nested objects.
Deep copy duplicates all levels of nested objects, while shallow copy only duplicates the top level object.
Deep copy creates a completely new object with its own memory space, while shallow copy creates a new object that references the same memory location...
Denouncing and throttling are techniques used to control the rate at which a function is called.
Denouncing is the practice of ignoring repeated calls to a function until a certain amount of time has passed.
Throttling limits the rate at which a function can be called, ensuring it is not called more than once within a specified time interval.
These techniques are commonly used in front-end development to optimize performa...
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 2 interview rounds.
Pipes in Angular are used for transforming data in templates.
Pipes are used to format data before displaying it in the view
They can be used to filter, sort, or transform data in various ways
Examples include date pipe, currency pipe, and uppercase/lowercase pipe
I use Java version 8 for Angular development.
I use Java 8 for its compatibility with Angular frameworks and libraries.
Java 8 introduced features like lambda expressions and streams which are useful in Angular development.
Example: I use Java 8 to write backend services for my Angular applications.
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces provide a way to define interfaces with a single abstract method.
Streams allow you to process collections of objects in a functional style.
Default methods allow you to add new methods to interfaces wit
Dependency Injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.
Allows for easier testing by injecting mock dependencies
Promotes reusability and modularity by decoupling components
Reduces code duplication by centralizing dependency creation
Example: Angular uses Dependency Injection to provide services to components
Routing is the process of navigating between different pages or views in a web application.
Routing allows users to move between different parts of a web application without reloading the entire page
It is implemented using a router module in Angular, which maps URLs to components
Routes can have parameters that can be passed to components for dynamic content
Routing can be used to create single-page applications (SPAs) wh
Create a reactive form in Angular to save data in API with validation
Create a reactive form using FormBuilder in Angular
Add form controls with proper validation rules using Validators
Handle form submission and send data to API using HttpClient
Implement error handling for API requests
Display success or error messages to the user
Auth-guard is a feature in Angular that controls access to routes based on user authentication status.
Auth-guards are used to protect routes in Angular applications by checking if a user is authenticated before allowing access.
They can be implemented using canActivate interface in Angular.
Auth-guards can redirect unauthenticated users to a login page or display an error message.
They are commonly used in applications wi...
There are multiple ways to communicate in Angular components, including Input, Output, ViewChild, and Services.
Input - parent component can pass data to child component using @Input decorator
Output - child component can emit events to parent component using @Output decorator
ViewChild - parent component can access child component using @ViewChild decorator
Services - components can communicate through shared services
Use JavaScript to find the longest word in a string.
Split the string into an array of words using split() method.
Iterate through the array and compare the length of each word to find the longest one.
Return the longest word found.
I started my career as a web developer, specializing in frontend technologies like Angular. I have worked on various projects and gained valuable experience.
Started career as web developer
Specialized in frontend technologies like Angular
Worked on various projects
Gained valuable experience
I have expertise in developing Angular frontend applications with strong knowledge of TypeScript, HTML, CSS, and Angular frameworks.
Strong knowledge of TypeScript, HTML, and CSS
Experience in developing Angular frontend applications
Familiarity with Angular frameworks like AngularJS, Angular 2+, Angular Material
Understanding of reactive programming and observables in Angular
Knowledge of state management with tools like N
Directives are used to add behavior to existing DOM elements, while components are used to create new custom elements.
Directives are used to manipulate the behavior of existing DOM elements, such as changing their appearance or adding event listeners.
Components are used to create custom elements with their own templates, styles, and behavior.
Directives can be structural (like ngIf and ngFor) or attribute-based (like ng...
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during compilation.
Variable and function declarations are hoisted to the top of their scope, regardless of where they are declared in the code.
Only the declarations are hoisted, not the initializations.
Function declarations are hoisted before variable declarations.
Design patterns are reusable solutions to common problems in software design.
Design patterns help in creating maintainable, scalable, and efficient code.
They provide a common language for developers to communicate about solutions to recurring problems.
Examples of design patterns include Singleton, Factory, Observer, and Strategy patterns.
ReplaySubject is a type of Subject in RxJS that records multiple values and replays them to new subscribers.
ReplaySubject is a type of Subject in RxJS
It records multiple values and replays them to new subscribers
It has a buffer size that determines how many values to replay
Time queue in API refers to managing requests in a sequential order.
Time queue ensures that API requests are processed in the order they are received.
It helps in preventing overload on the server by limiting the number of concurrent requests.
Examples include using promises or async/await in JavaScript to handle API calls sequentially.
NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Software Engineer
26.3k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
21.3k
salaries
| ₹5.5 L/yr - ₹22.7 L/yr |
Technical Lead
11.6k
salaries
| ₹9.5 L/yr - ₹37 L/yr |
Associate Software Engineer
5.2k
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Team Lead
4.9k
salaries
| ₹5.2 L/yr - ₹17 L/yr |
Infosys
Cognizant
Accenture
Wipro