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 Associate Software Engineer Interview Questions and Answers for Freshers

Updated 3 Jul 2025

10 Interview questions

An Associate Software Engineer was asked 1mo ago
Q. Write a query to find the second-highest salaried employee.
Ans. 

To find the 2nd highest salaried employee, we can use sorting or a set to identify unique salaries.

  • Use a database query: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;

  • In an array: Sort the array of salaries and access the second last element.

  • Using a set: Convert the salary list to a set to remove duplicates, then sort it.

An Associate Software Engineer was asked 2mo ago
Q. How would you rate yourself?
Ans. 

I would rate myself an 8 out of 10, reflecting my skills, eagerness to learn, and adaptability in software engineering.

  • Strong foundation in programming languages like Java and Python, demonstrated through projects and coursework.

  • Experience with version control systems like Git, contributing to team projects effectively.

  • Completed internships where I collaborated on real-world applications, enhancing my problem-solv...

Associate Software Engineer Interview Questions Asked at Other Companies for Fresher

asked in Accenture
Q1. Triplets with Given Sum Problem Given an array or list ARR consis ... read more
Q2. Intersection of Two Arrays II Given two integer arrays ARR1 and A ... read more
asked in Accenture
Q3. Write a function to determine if a given string is a valid passwo ... read more
asked in Gainsight
Q4. Connecting Ropes with Minimum Cost You are given 'N' ropes, each ... read more
Q5. Add K Nodes Problem Statement You are given a singly linked list ... read more
An Associate Software Engineer was asked 2mo ago
Q. Why is Python being preferred over Java by new coders?
Ans. 

Python's simplicity, readability, and versatility make it a popular choice for new coders compared to Java.

  • Python has a simpler syntax, making it easier for beginners to learn and write code. For example, printing 'Hello, World!' is just 'print("Hello, World!")' in Python.

  • Python's extensive libraries and frameworks, like Django for web development and NumPy for data science, allow for rapid development.

  • Python supp...

An Associate Software Engineer was asked 2mo ago
Q. What is machine learning?
Ans. 

Machine learning is a subset of artificial intelligence that enables systems to learn from data and improve over time without explicit programming.

  • Machine learning algorithms identify patterns in data to make predictions or decisions.

  • Common types include supervised learning (e.g., spam detection) and unsupervised learning (e.g., customer segmentation).

  • Applications range from image recognition (e.g., facial recogni...

What people are saying about Tech Mahindra

View All
a senior engineer
2w
💼 OFFER RECEIVED – Sr. Test Engineer (Band U3) | Tech Mahindra | Noida 📎 Screenshot attached | CTC: ₹13.5 LPA
✅ Variable is paid monthly and fully (as confirmed by HR) ❓ Looking to know the MONTHLY IN-HAND SALARY after standard deductions & partial FBP usage Would appreciate any insights from current/ex-TechM folks! 🙏
FeedCard Image
Got a question about Tech Mahindra?
Ask anonymously on communities.
An Associate Software Engineer was asked
Q. Can you call the base class method without creating an instance?
Ans. 

Yes, by using the super() method in the derived class.

  • super() method calls the base class method

  • Derived class must inherit from the base class

  • Example: class Derived(Base): def method(self): super().method()

An Associate Software Engineer was asked
Q. How does C++ support Polymorphism?
Ans. 

C++ supports polymorphism through virtual functions and inheritance.

  • Polymorphism allows objects of different classes to be treated as if they were of the same class.

  • Virtual functions are declared in the base class and overridden in the derived class.

  • Dynamic binding is used to determine which function to call at runtime.

  • Examples include function overriding, templates, and operator overloading.

An Associate Software Engineer was asked
Q. What is call by value and call by reference?
Ans. 

Call by value and call by reference are two ways of passing arguments to a function.

  • Call by value passes a copy of the argument value to the function.

  • Call by reference passes a reference to the memory location of the argument.

  • Call by value is used for simple data types like int, float, etc.

  • Call by reference is used for complex data types like arrays, structures, etc.

Are these interview questions helpful?
An Associate Software Engineer was asked
Q. 1) What is NullPointerExceprion and give me a example?
Ans. 

NullPointerException is a runtime exception that occurs when a program tries to access or use an object reference that is null.

  • It is a common exception in Java programming.

  • It is thrown when a program attempts to use an object reference that has not been initialized.

  • It indicates that there is an attempt to access or invoke a method on an object that is null.

  • Example: String str = null; str.length();

An Associate Software Engineer was asked
Q. What is opps nd briefly about oops and variables
Ans. 

OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.

  • OOPs is a way of organizing and designing code around objects

  • Variables are used to store data within an object

  • In OOPs, variables are also known as properties or attributes

  • Variables can have different access modifiers like public, private, protected

  • Example: A car object can have properties like color, model, an...

An Associate Software Engineer was asked
Q. Uses of turbine and types of turbinew
Ans. 

Turbines are used to convert kinetic energy into mechanical energy. There are various types of turbines such as steam, gas, and hydraulic.

  • Turbines are used in power generation, aviation, and marine propulsion.

  • Steam turbines are used in thermal power plants to generate electricity.

  • Gas turbines are used in aircraft engines and power plants.

  • Hydraulic turbines are used in hydroelectric power plants.

  • Wind turbines are u...

Tech Mahindra Associate Software Engineer Interview Experiences for Freshers

30 interviews found

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

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

  • Q1. Know your resume.
  • Q2. Basics of Computer Fundamentals
  • Q3. SQL, DBMS, DSA, Basic DSA (Array, Strings, Number System), OOPS
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Basic aptitude questions

Round 2 - Coding Test 

Basic coding assignment

Round 3 - Technical 

(2 Questions)

  • Q1. Java core questions
  • Q2. Sql questions basic
Round 4 - HR 

(2 Questions)

  • Q1. Relocation ok for u
  • Ans. 

    Yes, I am open to relocation for the right opportunity.

    • I am open to relocating for the right job opportunity

    • I am willing to consider relocation if it aligns with my career goals

    • I have experience moving for previous job opportunities

  • Answered by AI
  • Q2. Package expecting

Associate Software Engineer Interview Questions & Answers

user image Biswal kumar nayak

posted on 15 Apr 2025

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-
  • Q1. What is your role in project and describe about your project ?
  • Q2. What you will give rate to yourself?
  • Ans. 

    I would rate myself an 8 out of 10, reflecting my skills, eagerness to learn, and adaptability in software engineering.

    • Strong foundation in programming languages like Java and Python, demonstrated through projects and coursework.

    • Experience with version control systems like Git, contributing to team projects effectively.

    • Completed internships where I collaborated on real-world applications, enhancing my problem-solving s...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Dec 2023. There were 5 interview rounds.

Round 1 - Aptitude Test 

Aptitude questions which are commonly asked

Round 2 - Technical 

(2 Questions)

  • Q1. Technical questions related to programming
  • Q2. Question related to sql
Round 3 - Communication round 

(2 Questions)

  • Q1. We need to speak to check out skills
  • Q2. Write and answer few questions basic english
Round 4 - Technical 

(2 Questions)

  • Q1. Face to face tech basic questions
  • Q2. Resume based questions
Round 5 - HR 

(2 Questions)

  • Q1. Where do you want to see yourself in 5 years
  • Q2. Tell me about yourself

Interview Preparation Tips

Interview preparation tips for other job seekers - Stay calm and attend the technical round face to face
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Tell me avkit yourslef
  • Ans. 

    I am a dedicated and passionate software engineer with experience in Java, Python, and web development.

    • Experienced in Java, Python, and web development technologies

    • Strong problem-solving skills

    • Excellent communication and teamwork abilities

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I was asked questions on pattern, sql and python of list and tuple
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
6-8 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Nov 2023. There were 6 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 

Basic questions from maths and logical thinking. English Assessment is also in round 1.

Round 3 - Technical 

(1 Question)

  • Q1. Output-based questions.
Round 4 - Conversational Test 

(1 Question)

  • Q1. They want to check reading, and hearing English ability.
Round 5 - One-on-one 

(1 Question)

  • Q1. Basic Questions related to programming in JAVA and Python
Round 6 - HR 

(1 Question)

  • Q1. I would relocate or not. Where do I see myself in 5 years?

Interview Preparation Tips

Interview preparation tips for other job seekers - It's easy
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

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

  • Q1. Find 2nd highest salaried employee!
  • Ans. 

    To find the 2nd highest salaried employee, we can use sorting or a set to identify unique salaries.

    • Use a database query: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;

    • In an array: Sort the array of salaries and access the second last element.

    • Using a set: Convert the salary list to a set to remove duplicates, then sort it.

  • Answered by AI
  • Q2. Blackbox and white box testing
  • Q3. How to slice a cake 3 time to make it’s four part??

Interview Preparation Tips

Interview preparation tips for other job seekers - Work diligently and seek opportunities that align with your preferences. However, if you are a fresher, be cautious about TechM, as the work culture and projects may not be favorable, resulting in limited growth, no salary increments, and a significant amount of office politics. This observation is specific to the Ahmedabad location; I cannot comment on conditions elsewhere.

Associate Software Engineer Interview Questions & Answers

user image 2104 YASHWANTH REDDY

posted on 23 Jul 2023

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

I applied via Campus Placement and was interviewed in Jun 2023. There were 6 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 

It was a campus placement .Had 5 rounds .package - 4.5LPA
1st round was conducted online(28th june) .
Quantitative -16Q
Logical - 12Q
Essay -writing
all of these were actually easy.

Round 3 - Coding Test 

It was a Technical and Psychometric test
Psychometric - 72Q/15 minutes.
Questions on dbms ,OS,CN other computer concepts 40Q/40 min
2 Coding Questions -45 minutes (Easy Level)

Round 4 - Conversational Test 

(2 Questions)

  • Q1. This round was communication round ..
  • Q2. Although say said this is not an elimination round they eliminated a lot of people(40%). It has sections like Listening to a Paragraph and answering the questions. Reading a sentence displayed on screen. L...
Round 5 - Technical 

(1 Question)

  • Q1. Introduce Yourself? Family Background? I was familiar in python(diff between list and tuple ,for and while, Lambda, how to install 3rd party packages? break, continue and pass difference?, General : Dif...
Round 6 - HR 

(1 Question)

  • Q1. (This happened at Tech Mahindra Office Hyderabad. Two weeks after TR)
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

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

Round 1 - Aptitude Test 

All is good...asked around 40 questions and covered reasoning aptitude and english

Round 2 - Coding Test 

Asked 2 coding questions duration of this test is around 120 mins

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well before giving any round of interview.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

  • Q1. Basic conceptual questions related to my subjects
  • Q2. Basic HR questions

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Associate Software Engineer interview for freshers?
Tech Mahindra interview process for freshers usually has 3-4 rounds. The most common rounds in the Tech Mahindra interview process for freshers are Aptitude Test, Technical and HR.
How to prepare for Tech Mahindra Associate Software Engineer interview for freshers?
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, Automation Testing, Customer Handling, Information Technology and Java.
What are the top questions asked in Tech Mahindra Associate Software Engineer interview for freshers?

Some of the top questions asked at the Tech Mahindra Associate Software Engineer interview for freshers -

  1. 2) Can you call the base class method without creating an instan...read more
  2. 1) What is NullPointerExceprion and give me a examp...read more
  3. 5) What are access specifiers and what is their significan...read more
What are the most common questions asked in Tech Mahindra Associate Software Engineer HR round for freshers?

The most common HR questions asked in Tech Mahindra Associate Software Engineer interview are for freshers -

  1. What are your strengths and weakness...read more
  2. What is your family backgrou...read more
  3. What are your salary expectatio...read more
How long is the Tech Mahindra Associate Software Engineer interview process?

The duration of Tech Mahindra Associate 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.3/5

based on 19 interview experiences

Difficulty level

Easy 35%
Moderate 65%

Duration

Less than 2 weeks 31%
2-4 weeks 38%
4-6 weeks 25%
6-8 weeks 6%
View more
Tech Mahindra Associate Software Engineer Salary
based on 6.1k salaries
₹1.9 L/yr - ₹5.7 L/yr
36% less than the average Associate Software Engineer Salary in India
View more details

Tech Mahindra Associate Software Engineer Reviews and Ratings

based on 671 reviews

3.7/5

Rating in categories

3.6

Skill development

3.7

Work-life balance

3.0

Salary

3.5

Job security

3.6

Company culture

2.9

Promotions

3.3

Work satisfaction

Explore 671 Reviews and Ratings
Software Engineer
26.7k salaries
unlock blur

₹3.7 L/yr - ₹9.2 L/yr

Senior Software Engineer
22.2k salaries
unlock blur

₹9.1 L/yr - ₹18.5 L/yr

Technical Lead
12.5k 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.9 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