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

Tech Mahindra Senior Software Engineer Interview Questions and Answers for Experienced

Updated 6 Jul 2025

78 Interview questions

A Senior Software Engineer was asked 1w ago
Q. How do you pass data from children to parent in React?
Ans. 

In React, data can be passed from child components to parent components using callback functions.

  • 1. Define a function in the parent component that will handle the data received from the child.

  • 2. Pass this function as a prop to the child component.

  • 3. In the child component, call the function with the data you want to send back to the parent.

  • Example: In Parent: const handleData = (data) => { console.log(data); };...

A Senior Software Engineer was asked 1w ago
Q. How do you manage state in a React application?
Ans. 

State management in React involves using local state, context API, and external libraries for efficient data handling.

  • Use local state with the useState hook for simple components: const [count, setCount] = useState(0);

  • Utilize the Context API for global state management: create a context and use useContext to access it.

  • Leverage external libraries like Redux or MobX for complex state management needs, allowing for c...

Senior Software Engineer Interview Questions Asked at Other Companies for Experienced

Q1. If you have to prioritize between coding standards and project de ... read more
Q2. Duplicate Integer in Array Given an array ARR of size N, containi ... read more
asked in Visa
Q3. Given a grid containing 0s and 1s and a source row and column, in ... read more
asked in Mphasis
Q4. Trapping Rain Water Problem Statement Given a long type array/lis ... read more
Q5. In Azure Data Factory, how would you implement the functionality ... read more
A Senior Software Engineer was asked 1w ago
Q. What are hooks used for, and why are they used in React?
Ans. 

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

  • Hooks allow functional components to manage state without converting them to class components. Example: useState.

  • They enable side effects in functional components using useEffect. Example: fetching data on component mount.

  • Custom hooks can be created to encapsulate reusable logic. Example: useFetch for API calls.

  • Hooks f...

A Senior Software Engineer was asked 3w ago
Q. What is the difference between StringBuffer and StringBuilder in Java?
Ans. 

StringBuffer is synchronized and thread-safe, while StringBuilder is not, making StringBuilder faster for single-threaded scenarios.

  • 1. Synchronization: StringBuffer is synchronized, making it thread-safe; StringBuilder is not synchronized, making it faster in single-threaded contexts.

  • 2. Performance: StringBuilder generally performs better than StringBuffer due to the lack of synchronization overhead.

  • 3. Use Case: U...

What people are saying about Tech Mahindra

View All
coolestlime
Verified Icon
1w
works at
Infosys
Delay expected?
I have cleared the interview and got a verbal communication of offer. I uploaded the documents a month ago but no offer letter no response yet
Got a question about Tech Mahindra?
Ask anonymously on communities.
A Senior Software Engineer was asked 2mo ago
Q. What are collections, and can you explain them in detail with real-time use cases?
Ans. 

Collections are data structures that store groups of related objects, enabling efficient data management and manipulation.

  • ArrayList: A resizable array implementation in Java, useful for storing lists of items like user profiles in a social media app.

  • HashMap: A key-value pair collection that allows for fast retrieval, ideal for caching user sessions in a web application.

  • HashSet: A collection that prevents duplicate...

A Senior Software Engineer was asked 3mo ago
Q. What technical knowledge do you have about SQL development?
Ans. 

I have extensive experience in SQL development, including database design, optimization, and complex query writing.

  • Proficient in writing complex SQL queries for data retrieval and manipulation, e.g., using JOINs, subqueries, and CTEs.

  • Experience in database design and normalization to ensure data integrity and reduce redundancy.

  • Skilled in performance tuning of SQL queries using indexing and query optimization techn...

A Senior Software Engineer was asked 3mo ago
Q. What are some commonly used Unix commands?
Ans. 

Unix commands are essential tools for file management, process control, and system navigation in Unix-like operating systems.

  • ls: Lists files and directories in the current directory. Example: 'ls -l' for detailed listing.

  • cd: Changes the current directory. Example: 'cd /home/user' to navigate to the user's home directory.

  • cp: Copies files or directories. Example: 'cp file.txt /backup/' to copy 'file.txt' to the back...

Are these interview questions helpful?
🔥 Asked by recruiter 2 times
A Senior Software Engineer was asked 3mo ago
Q. What is dependency injection?
Ans. 

Dependency injection is a design pattern that allows a class to receive its dependencies from an external source rather than creating them internally.

  • Promotes loose coupling between classes, making code easier to manage and test.

  • Facilitates unit testing by allowing mock dependencies to be injected.

  • Commonly used in frameworks like Spring (Java) and Angular (JavaScript).

  • Example: Instead of a class instantiating its ...

A Senior Software Engineer was asked 3mo ago
Q. What is Exception Handling in stored procedures?
Ans. 

Exception handling in stored procedures manages errors gracefully, ensuring robust database operations.

  • Allows developers to catch and handle errors using TRY...CATCH blocks.

  • Example: BEGIN TRY ... END TRY for normal execution and BEGIN CATCH ... END CATCH for error handling.

  • Can log error details using ERROR_MESSAGE(), ERROR_NUMBER(), etc.

  • Helps maintain data integrity by rolling back transactions in case of errors.

  • E...

A Senior Software Engineer was asked 3mo ago
Q. What are the differences between authorization and authentication?
Ans. 

Authentication verifies identity; authorization determines access rights.

  • Authentication is the process of verifying who a user is.

  • Authorization is the process of determining what a user can do.

  • Example of authentication: Logging in with a username and password.

  • Example of authorization: Granting access to a specific file based on user roles.

  • Authentication can occur without authorization, but authorization cannot occ...

Tech Mahindra Senior Software Engineer Interview Experiences for Experienced

88 interviews found

Senior Software Engineer Interview Questions & Answers

user image Ramesh Chinnusamy

posted on 6 Jul 2025

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview before Jul 2024, where I was asked the following questions.

  • Q1. Mostly Skill checks
  • Q2. Communication check

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus on the skills what you have mentioned
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected
Round 1 - Coding Test 

Just few normal coding questions

Round 2 - Technical 

(1 Question)

  • Q1. Simple swift questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep this as last option
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in May 2024. There were 3 interview rounds.

Round 1 - Coding Test 

I was asked to write a program to reverse a string using Java.

Round 2 - Technical 

(4 Questions)

  • Q1. What are my roles and responsibilities?
  • Ans. 

    As a Senior Software Engineer, your roles and responsibilities include leading development projects, mentoring junior team members, and ensuring high-quality code.

    • Leading development projects from conception to completion

    • Mentoring and providing guidance to junior team members

    • Ensuring the quality of code through code reviews and testing

    • Collaborating with cross-functional teams to deliver software solutions

    • Staying update...

  • Answered by AI
  • Q2. Explain about polymorphism
  • Ans. 

    Polymorphism is the ability of a single function or method to operate on different types of data.

    • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

    • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

    • Example of compile-time polymorphism: function overloading in C++.

    • Example of runtime polymorphism: method overriding in Java.

  • Answered by AI
  • Q3. Explain the differences between regression testing and retesting
  • Ans. 

    Regression testing is testing the entire application after changes, while retesting is testing a specific bug fix.

    • Regression testing involves testing the entire application to ensure that new code changes have not negatively impacted existing functionality.

    • Retesting involves testing a specific bug fix to ensure that the issue has been resolved.

    • Regression testing is typically done after every code change, while retestin...

  • Answered by AI
  • Q4. Explain about Pega testing
  • Ans. 

    Pega testing is a software testing process specifically designed for applications built on the Pega platform.

    • Pega testing involves testing the functionality, performance, and security of applications developed using Pega technology.

    • It includes testing various components such as user interfaces, business logic, integrations, and workflows.

    • Test cases are designed to validate the behavior of Pega applications based on bus...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Explain about Automation Framework
  • Ans. 

    Automation framework is a set of guidelines, best practices, tools, and libraries used to automate testing of software applications.

    • Provides structure and guidelines for automated testing

    • Helps in organizing test scripts and test data

    • Supports reusability of code and components

    • Facilitates easy maintenance and scalability

    • Examples: Selenium WebDriver, TestNG, Cucumber

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Feb 2025, where I was asked the following questions.

  • Q1. Can you tell me about yourself?
  • Q2. What technical knowledge do you have about SQL development?
  • Ans. 

    I have extensive experience in SQL development, including database design, optimization, and complex query writing.

    • Proficient in writing complex SQL queries for data retrieval and manipulation, e.g., using JOINs, subqueries, and CTEs.

    • Experience in database design and normalization to ensure data integrity and reduce redundancy.

    • Skilled in performance tuning of SQL queries using indexing and query optimization techniques...

  • Answered by AI
  • Q3. What are some commonly used Unix commands?
  • Ans. 

    Unix commands are essential tools for file management, process control, and system navigation in Unix-like operating systems.

    • ls: Lists files and directories in the current directory. Example: 'ls -l' for detailed listing.

    • cd: Changes the current directory. Example: 'cd /home/user' to navigate to the user's home directory.

    • cp: Copies files or directories. Example: 'cp file.txt /backup/' to copy 'file.txt' to the backup di...

  • Answered by AI
  • Q4. Educational qualification

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident in yourself.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 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. What is Can FD and why it is required.
  • Ans. 

    CAN FD stands for Controller Area Network Flexible Data Rate, it is required for high-speed communication in automotive and industrial applications.

    • CAN FD allows for higher data rates compared to traditional CAN networks

    • It is necessary for transmitting large amounts of data quickly and efficiently

    • Used in applications where real-time communication and reliability are crucial, such as automotive ECUs

    • Example: CAN FD is us...

  • Answered by AI
  • Q2. Difference bewtween LKA and LDW.
  • Ans. 

    LKA stands for Lane Keep Assist, while LDW stands for Lane Departure Warning.

    • LKA helps keep the vehicle centered in its lane by providing steering input if necessary.

    • LDW alerts the driver if the vehicle is unintentionally drifting out of its lane.

    • LKA is more proactive in assisting the driver with lane keeping, while LDW is more of a warning system.

    • Some vehicles may have both LKA and LDW features integrated for enhanced...

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Aspice model and itr requirement.
  • Ans. 

    ASPICE (Automotive SPICE) model is a framework for software development in the automotive industry. ITR (Integrated Test Requirement) is a part of ASPICE focusing on testing requirements.

    • ASPICE is a framework for software development in the automotive industry

    • ITR is a part of ASPICE that focuses on testing requirements

    • ASPICE helps in ensuring high-quality software development in automotive projects

  • Answered by AI
  • Q2. Writing the Test case for ADAS ECU.
  • Ans. 

    Writing test cases for ADAS ECU involves verifying functionality and performance of the electronic control unit.

    • Identify the input and output requirements of the ADAS ECU

    • Create test cases to cover different scenarios such as normal operation, edge cases, and failure modes

    • Include test cases for communication protocols, sensor inputs, and system responses

    • Verify the integration of ADAS ECU with other components in the sys...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Tech Mahindra Senior Software Engineer interview:
  • CAN
  • Ethernet
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Find average of integer arrays using java 8 streams
  • Ans. 

    Calculate average of integer arrays using Java 8 streams

    • Use IntStream to convert the array to a stream of integers

    • Use average() method to calculate the average of the integers

    • Collect the result using getAsDouble() method

  • Answered by AI
  • Q2. What is idempotency
  • Ans. 

    Idempotency is the property of an operation where applying it multiple times has the same effect as applying it once.

    • Idempotency ensures that repeating the same operation multiple times will not change the result.

    • Examples include GET requests in RESTful APIs, where multiple identical requests will return the same response.

    • Idempotency is important in distributed systems to prevent duplicate operations.

    • PUT and DELETE req...

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview in Dec 2024, where I was asked the following questions.

  • Q1. What are hooks used and why they are used in react?
  • Ans. 

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

    • Hooks allow functional components to manage state without converting them to class components. Example: useState.

    • They enable side effects in functional components using useEffect. Example: fetching data on component mount.

    • Custom hooks can be created to encapsulate reusable logic. Example: useFetch for API calls.

    • Hooks follow...

  • Answered by AI
  • Q2. How you manage state in react application.
  • Ans. 

    State management in React involves using local state, context API, and external libraries for efficient data handling.

    • Use local state with the useState hook for simple components: const [count, setCount] = useState(0);

    • Utilize the Context API for global state management: create a context and use useContext to access it.

    • Leverage external libraries like Redux or MobX for complex state management needs, allowing for centra...

  • Answered by AI
  • Q3. How to pass data from children to parent in react?
  • Ans. 

    In React, data can be passed from child components to parent components using callback functions.

    • 1. Define a function in the parent component that will handle the data received from the child.

    • 2. Pass this function as a prop to the child component.

    • 3. In the child component, call the function with the data you want to send back to the parent.

    • Example: In Parent: const handleData = (data) => { console.log(data); }; <...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Technical 

(1 Question)

  • Q1. Mostly Core Java like Collection, Exception in overriding method, internal working of hashmap and hashset.
Round 2 - Technical 

(1 Question)

  • Q1. Java 8 Features, Spring Security, Microservices, Oops, design pattern

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare Core Java, Java 8 features, Spring Annotation, Spring Security
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I appeared for an interview in Feb 2025, where I was asked the following questions.

  • Q1. What is react hook? useEffect with all dependencies
  • Ans. 

    React hooks are functions that let you use state and lifecycle features in functional components.

    • useEffect is a hook that allows you to perform side effects in function components.

    • It takes two arguments: a function to run and an array of dependencies.

    • The effect runs after the render and can be used for data fetching, subscriptions, or manually changing the DOM.

    • If the dependencies array is empty, the effect runs only on...

  • Answered by AI
  • Q2. UseLayoutEffect
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Oct 2023. There were 3 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Azure Rollback policy
  • Q2. Kubernetes CNI and Network policies
  • Q3. How error handling in ansible
  • Ans. 

    Error handling in Ansible involves using various modules and strategies to manage and respond to errors during playbook execution.

    • Use the 'failed_when' directive in tasks to specify conditions that should result in a task failure.

    • Utilize the 'ignore_errors' directive to continue executing tasks even if errors occur.

    • Implement error handling with 'rescue' and 'always' blocks in playbooks to handle errors and cleanup task...

  • Answered by AI
Round 2 - Technical 

(3 Questions)

  • Q1. Why pod is ephemeral
  • Ans. 

    Pod is ephemeral due to its temporary nature and dynamic lifecycle.

    • Pods are designed to be easily created, destroyed, and replaced.

    • Pods do not have persistent storage by default.

    • Pods are scheduled and managed by the Kubernetes control plane.

    • Pods can be automatically rescheduled to different nodes in case of failures.

  • Answered by AI
  • Q2. Kubernetes architecture and services
  • Q3. What are access ties available in azure storage
  • Ans. 

    Access tiers in Azure Storage include hot, cool, and archive tiers.

    • Hot access tier: Optimized for frequently accessed data with higher storage costs.

    • Cool access tier: Optimized for infrequently accessed data with lower storage costs.

    • Archive access tier: Optimized for rarely accessed data with the lowest storage costs.

    • Data in the archive tier may have longer retrieval times compared to hot and cool tiers.

  • Answered by AI
Round 3 - Technical 

(3 Questions)

  • Q1. Explain project
  • Ans. 

    Developed a web-based project management tool for tracking tasks and deadlines

    • Created user-friendly interface for adding, editing, and deleting tasks

    • Implemented notifications for upcoming deadlines

    • Integrated with calendar API for scheduling tasks

  • Answered by AI
  • Q2. How will you handle errors in prod environment
  • Ans. 

    I will handle errors in prod environment by implementing proper error logging, monitoring, and alerting systems.

    • Implement comprehensive error logging to track errors and their root causes

    • Set up monitoring tools to detect errors in real-time and alert the team

    • Establish a process for prioritizing and resolving errors based on impact and severity

    • Regularly review and analyze error logs to identify patterns and prevent futu...

  • Answered by AI
  • Q3. What are the steps you will take while updating a build and how you will do rollback
  • Ans. 

    Steps for updating a build and performing rollback

    • Create a backup of the current build before making any changes

    • Update the build with the necessary changes and test thoroughly

    • If issues are found, identify the cause and plan for rollback

    • Rollback by restoring the backup of the previous build

    • Communicate the rollback to the team and document the process

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare well on technologies you mentioned on resume and real time projects.

Skills evaluated in this interview

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Senior Software Engineer interview for experienced candidates?
Tech Mahindra interview process for experienced candidates usually has 2-3 rounds. The most common rounds in the Tech Mahindra interview process for experienced candidates are Technical, Resume Shortlist and HR.
How to prepare for Tech Mahindra Senior Software Engineer interview for experienced candidates?
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 Software Engineering, Java, SQL, Javascript and Spring Boot.
What are the top questions asked in Tech Mahindra Senior Software Engineer interview for experienced candidates?

Some of the top questions asked at the Tech Mahindra Senior Software Engineer interview for experienced candidates -

  1. In azure data factory how would you implement the functionality of tumbling win...read more
  2. 1)Val a = Array(1,2,1,3,4) Need output as (1,2) (2,1) (1,3) (3...read more
  3. What is the biggest challenge you faced in developing azure solutio...read more
What are the most common questions asked in Tech Mahindra Senior Software Engineer HR round for experienced candidates?

The most common HR questions asked in Tech Mahindra Senior Software Engineer interview are for experienced candidates -

  1. What are your strengths and weakness...read more
  2. Where do you see yourself in 5 yea...read more
  3. Why are you looking for a chan...read more
How long is the Tech Mahindra Senior Software Engineer interview process?

The duration of Tech Mahindra Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 53 interview experiences

Difficulty level

Easy 5%
Moderate 88%
Hard 7%

Duration

Less than 2 weeks 69%
2-4 weeks 29%
6-8 weeks 2%
View more
Tech Mahindra Senior Software Engineer Salary
based on 22.2k salaries
₹9 L/yr - ₹18.5 L/yr
14% less than the average Senior Software Engineer Salary in India
View more details

Tech Mahindra Senior Software Engineer Reviews and Ratings

based on 2k reviews

3.6/5

Rating in categories

3.4

Skill development

3.7

Work-life balance

3.1

Salary

3.5

Job security

3.4

Company culture

2.7

Promotions

3.4

Work satisfaction

Explore 2k Reviews and Ratings
Sr. Software Engineer

Hyderabad / Secunderabad

7-10 Yrs

₹ 6.5-20.5 LPA

Sr. Software Engineer

Bangalore / Bengaluru

4-7 Yrs

₹ 5-25.5 LPA

Sr. Software Engineer

Pune

4-8 Yrs

₹ 5-22 LPA

Explore more jobs
Software Engineer
26.6k salaries
unlock blur

₹3.7 L/yr - ₹9.2 L/yr

Senior Software Engineer
22.2k salaries
unlock blur

₹9 L/yr - ₹18.5 L/yr

Technical Lead
12.4k salaries
unlock blur

₹16.9 L/yr - ₹30 L/yr

Associate Software Engineer
6.1k salaries
unlock blur

₹1.9 L/yr - ₹5.7 L/yr

Team Lead
5.3k salaries
unlock blur

₹6.5 L/yr - ₹17.8 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare
write
Share an Interview