Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Tech Mahindra Team. If you also belong to the team, you can get access from here

Tech Mahindra Verified Tick

Compare button icon Compare button icon Compare
3.6

based on 33.6k Reviews

Filter interviews by

Tech Mahindra Front end Developer Interview Questions, Process, and Tips

Updated 7 Aug 2024

Top Tech Mahindra Front end Developer Interview Questions and Answers

View all 14 questions

Tech Mahindra Front end Developer Interview Experiences

6 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(14 Questions)

  • Q1. Let var const in JavaScript
  • Ans. 

    var and const are used to declare variables in JavaScript, with var being mutable and const being immutable.

    • var is used to declare variables that can be reassigned and updated

    • const is used to declare variables that cannot be reassigned or updated

    • let is another keyword used for declaring variables, similar to var but with block scope

  • Answered by AI
  • Q2. Error boundary and how to handle
  • Ans. 

    Error boundary is a React component that catches JavaScript errors anywhere in a component tree and logs those errors.

    • Error boundaries are React components that catch JavaScript errors in their child component tree.

    • They are used to prevent the entire UI from crashing due to a single error.

    • Error boundaries work like a JavaScript catch {} block, but for components.

    • They are defined using componentDidCatch lifecycle method

  • Answered by AI
  • Q3. Event.bind and event.property
  • Q4. Use of never in typescript
  • Ans. 

    The 'never' type in TypeScript represents a value that will never occur.

    • Used to indicate that a function will not return a value

    • Commonly used in union types to exclude certain values

    • Helps catch potential errors at compile time

  • Answered by AI
  • Q5. What hooks you have used
  • Ans. 

    I have used React hooks such as useState, useEffect, useContext, and useRef in my projects.

    • useState

    • useEffect

    • useContext

    • useRef

  • Answered by AI
  • Q6. What is difference between use reducer and use state
  • Ans. 

    useReducer is preferred for managing complex state logic, while useState is simpler for basic state management.

    • useReducer is more suitable for managing complex state logic and multiple state values

    • useState is simpler and more straightforward for basic state management with a single value

    • useReducer allows for more organized and centralized state updates through actions and reducers

    • useState is commonly used for simple co

  • Answered by AI
  • Q7. Why we use state and props
  • Q8. How you will pass data from parent to child
  • Ans. 

    Data can be passed from parent to child components in React using props.

    • Pass data as props from parent component to child component

    • Use state management libraries like Redux or Context API for complex data sharing

    • Use callback functions to pass data from child to parent components

  • Answered by AI
  • Q9. Write your own custom hook
  • Ans. 

    Custom hook to fetch data from an API

    • Create a function that uses the useState and useEffect hooks

    • Use the fetch API to make a request to the desired endpoint

    • Return the fetched data and loading state in an array

  • Answered by AI
  • Q10. Explain map filter and reduce functions
  • Ans. 

    Map, filter, and reduce are higher-order functions in JavaScript used to manipulate arrays.

    • Map: Transforms each element in an array and returns a new array with the transformed elements.

    • Example: [1, 2, 3].map(num => num * 2) returns [2, 4, 6].

    • Filter: Returns a new array with elements that pass a certain condition.

    • Example: [1, 2, 3].filter(num => num > 1) returns [2, 3].

    • Reduce: Applies a function against an accumulator ...

  • Answered by AI
  • Q11. How you can clone an object
  • Ans. 

    To clone an object in JavaScript, you can use the spread operator or Object.assign() method.

    • Use the spread operator to create a shallow copy of an object: const clonedObj = { ...originalObj };

    • Use Object.assign() method to create a shallow copy of an object: const clonedObj = Object.assign({}, originalObj);

    • For deep cloning, you can use libraries like Lodash or write a custom function to recursively clone nested objects.

  • Answered by AI
  • Q12. What are the three stages of event propagation and how to handle it
  • Ans. 

    Event propagation consists of three stages: capturing, target, and bubbling.

    • Capturing phase: Events are captured from the outermost element to the target element.

    • Target phase: Event reaches the target element where the event originated.

    • Bubbling phase: Events bubble up from the target element to the outermost element.

  • Answered by AI
  • Q13. How to handle errors in your react application
  • Ans. 

    Errors in a React application can be handled by using error boundaries, try-catch blocks, and displaying error messages to users.

    • Use error boundaries to catch errors in components and display a fallback UI

    • Wrap code that may throw errors in try-catch blocks to handle exceptions

    • Use libraries like React Error Boundary to easily implement error handling

    • Display error messages to users to inform them about the issue and poss

  • Answered by AI
  • Q14. Write code to call fake api and display the title where category is “some category “

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. How to comment in javascript
  • Ans. 

    Comments in JavaScript are used to explain the code and are not executed by the browser.

    • Use // for single line comments

    • Use /* */ for multi-line comments

    • Comments help other developers understand your code

  • Answered by AI
  • Q2. Write code of async-await
  • Ans. 

    Async-await is a feature in JavaScript that allows for asynchronous programming using promises.

    • Use the 'async' keyword before a function to make it asynchronous

    • Use the 'await' keyword inside an async function to wait for a promise to resolve

    • Async-await simplifies asynchronous code and makes it easier to read and maintain

  • Answered by AI

Skills evaluated in this interview

Front end Developer Interview Questions Asked at Other Companies

Q1. Non-Decreasing ArrayYou have been given an integer array/list 'AR ... read more
Q2. Find UniqueYou have been given an integer array/list(ARR) of size ... read more
asked in JUSPAY
Q3. Dijkstra's shortest pathYou have been given an undirected graph o ... read more
asked in JUSPAY
Q4. Encode N-ary tree to binary treeYou have been given an N-ary tree ... read more
asked in Siemens
Q5. Sort ArrayYou are given an array consisting of 'N' positive integ ... read more

Front end Developer Interview Questions & Answers

user image satwik tellakula

posted on 17 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Controlled and Un Controlled components
  • Q2. Hooks in functional components
  • Ans. 

    Hooks are functions that let you use state and other React features in functional components.

    • Hooks were introduced in React 16.8.

    • useState() hook is used to add state to functional components.

    • useEffect() hook is used for side effects in functional components.

    • Custom hooks can be created to reuse logic across components.

  • Answered by AI
Round 2 - Coding Test 

Developing features of Shopping Cart page like add to cart,remove from cart

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

What is frount end devloper roulr what are they?

Round 2 - Coding Test 

Java script and sig tagsand out put creat page ?

Round 3 - Group Discussion 

How to slowe the error css and it will take 5to 7min pass the next person it will work or their is any errror?

Interview Preparation Tips

Interview preparation tips for other job seekers - tell your answer confedatal right or roung u shoud tell tha answer

Tech Mahindra interview questions for designations

 Developer

 (5)

 Back end Executive

 (4)

 Software Developer

 (97)

 Java Developer

 (25)

 Web Developer

 (8)

 SQL Developer

 (4)

 AEM Developer

 (4)

 Python Developer

 (4)

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Jul 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Multiple questions and choice

Round 3 - HR 

(2 Questions)

  • Q1. Salary questions
  • Q2. Only for end of the interview

Get interview-ready with Top Tech Mahindra Interview Questions

I applied via Recruitment Consulltant and was interviewed in Jan 2022. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Aptitude Test 
Round 3 - Coding Test 
Round 4 - Assignment 
Round 5 - HR 

(9 Questions)

  • Q1. What are your salary expectations?
  • Q2. What is your family background?
  • Q3. Share details of your previous job.
  • Q4. Why should we hire you?
  • Q5. Why are you looking for a change?
  • Q6. Where do you see yourself in 5 years?
  • Q7. What are your strengths and weaknesses?
  • Q8. Tell me about yourself.
  • Q9. Tell me about your questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Yes i can intresting in this company

Interview questions from similar companies

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Mostly js questions, not so many of angular or react.
  • Q2. Like fizbuzz or things like that.

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't apply here, the culture here is horrible.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Introduction life cycle looks pipe @input @output
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. What is event bubbling
  • Q2. What is TDD and why TDD

Interview Preparation Tips

Interview preparation tips for other job seekers - Do well
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Reactive form and crud operations pipes crud operations

Round 2 - Technical 

(1 Question)

  • Q1. Basic understanding of js and angular is must expeciallly how js works questions on arrays objects shallow deep copy

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Front end Developer interview?
Tech Mahindra interview process usually has 2-3 rounds. The most common rounds in the Tech Mahindra interview process are Aptitude Test, Coding Test and Technical.
How to prepare for Tech Mahindra Front end Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Tech Mahindra. The most common topics and skills that interviewers at Tech Mahindra expect are Front End, Javascript, React.Js, CSS and Angular.
What are the top questions asked in Tech Mahindra Front end Developer interview?

Some of the top questions asked at the Tech Mahindra Front end Developer interview -

  1. What are the three stages of event propagation and how to handle...read more
  2. What is difference between use reducer and use st...read more
  3. How you will pass data from parent to ch...read more

Tell us how to improve this page.

Tech Mahindra Front end Developer Interview Process

based on 4 interviews in last 1 year

1 Interview rounds

  • Technical Round
View more

People are getting interviews through

based on 5 Tech Mahindra interviews
Job Portal
Company Website
WalkIn
40%
20%
20%
20% candidates got the interview through other sources.
Moderate Confidence
?
Moderate Confidence means the data is based on a sufficient number of responses received from the candidates
Tech Mahindra Front end Developer Salary
based on 156 salaries
₹2 L/yr - ₹9.8 L/yr
12% more than the average Front end Developer Salary in India
View more details

Tech Mahindra Front end Developer Reviews and Ratings

based on 9 reviews

3.9/5

Rating in categories

4.0

Skill development

4.4

Work-Life balance

3.7

Salary & Benefits

4.6

Job Security

4.7

Company culture

2.9

Promotions/Appraisal

3.8

Work Satisfaction

Explore 9 Reviews and Ratings
Software Engineer
26.3k salaries
unlock blur

₹2 L/yr - ₹9.1 L/yr

Senior Software Engineer
21.2k salaries
unlock blur

₹5.5 L/yr - ₹22.7 L/yr

Technical Lead
11.6k salaries
unlock blur

₹9.5 L/yr - ₹31.9 L/yr

Associate Software Engineer
5.4k salaries
unlock blur

₹1.8 L/yr - ₹6 L/yr

Team Lead
4.9k salaries
unlock blur

₹5.1 L/yr - ₹16.8 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.7
Compare

Cognizant

3.8
Compare

Accenture

3.9
Compare

Wipro

3.7
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview