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

Filter interviews by

Clear (1)

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 Array Problem Statement Given an integer array ARR ... read more
Q2. Find Unique Element in Array You have been provided an integer ar ... read more
asked in JUSPAY
Q3. Dijkstra's Shortest Path Problem Statement You are given an undir ... read more
asked in JUSPAY
Q4. Encode N-ary Tree to Binary Tree Problem Statement You are provid ... read more
Q5. Sort Linked List Based on Actual Values You are given a Singly Li ... 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

 (98)

 Java Developer

 (21)

 Web Developer

 (8)

 Salesforce 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:
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 Resume 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:
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 Resume 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

Front end Developer Jobs at Tech Mahindra

View all

Interview questions from similar companies

Interview Questionnaire 

3 Questions

  • Q1. 1. Basic html schemantics
  • Q2. 2. Pure JS
  • Q3. 3. Angular advance

Interview Preparation Tips

Interview preparation tips for other job seekers - Hard Interview process

I was interviewed before Dec 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 360 minutes
Round difficulty - Medium

Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .

  • Q1. 

    Allocate Books Problem Statement

    Given an array of integers arr, where arr[i] represents the number of pages in the i-th book, and an integer m representing the number of students, allocate all the books ...

  • Ans. 

    Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.

    • Iterate through possible allocations and calculate the maximum pages assigned to a student.

    • Find the minimum of these maximums to get the optimal allocation.

    • Return the minimum pages allocated in each test case, or -1 if not possible.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaMust be doing B.TECHTata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - Data Structure , Algorithms ,DBMS , OOPs ,OSTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Good understanding of Data Structure and Algorithms 
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .

Application resume tips for other job seekers

Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page

Final outcome of the interviewSelected

Skills evaluated in this interview

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

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

Round 1 - Technical 

(2 Questions)

  • Q1. Angular lifecycle hooks
  • Q2. JS interview questions
Round 2 - Coding Test 

Recurrsion tree implementation with angular

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare your basics well

Interview Questionnaire 

2 Questions

  • Q1. Bootstrap
  • Q2. Javascript
Contribute & help others!
anonymous
You can choose to be anonymous

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 Technical, Aptitude Test and Coding Test.
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, Angular and CSS.
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

Recently Viewed

PHOTOS

InsuranceDekho

3 office photos

LIST OF COMPANIES

Credit Bajaar

Overview

INTERVIEWS

JTEKT

No Interviews

INTERVIEWS

HCLTech

No Interviews

INTERVIEWS

Maruti Suzuki

No Interviews

INTERVIEWS

H&M

No Interviews

INTERVIEWS

LTIMindtree

No Interviews

INTERVIEWS

RNS INFRASTRUCTURE

No Interviews

INTERVIEWS

Maruti Suzuki

No Interviews

INTERVIEWS

Cognizant

No Interviews

Tell us how to improve this page.

Tech Mahindra Front end Developer Interview Process

based on 7 interviews

1 Interview rounds

  • Technical Round
View more
Tech Mahindra Front end Developer Salary
based on 161 salaries
₹2.5 L/yr - ₹12 L/yr
24% more than the average Front end Developer Salary in India
View more details

Tech Mahindra Front end Developer Reviews and Ratings

based on 11 reviews

3.5/5

Rating in categories

3.9

Skill development

4.0

Work-life balance

3.0

Salary

3.7

Job security

3.5

Company culture

2.5

Promotions

3.2

Work satisfaction

Explore 11 Reviews and Ratings
Software Engineer
26.4k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
21.4k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Technical Lead
11.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Associate Software Engineer
5.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Team Lead
5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent