Tech Mahindra Interview Questions
Tech Mahindra conducts structured technical and HR interviews as part of its fresher recruitment process. Candidates who clear the online assessment rounds are evaluated through a two-stage interview: a technical interview followed by an HR interview. The interview questions are category-wise, covering programming, data structures, databases, operating systems, networking, and behavioural topics.
The technical interview is the most critical stage and typically eliminates a significant portion of shortlisted candidates. Questions vary in difficulty from easy to moderate for freshers and cover core computer science fundamentals, project-related knowledge, and coding exercises. HR questions focus on personality, cultural fit, and career alignment.
Tech Mahindra Interview Questions - Overview
The Tech Mahindra interview for freshers covers technical categories including general technical questions, programming concepts, databases, computer science fundamentals, and an HR round. The categories below reflect the most commonly reported question themes across recent recruitment cycles.
Tech Mahindra Technical Interview Questions for Freshers 2026:
The following section presents category-wise interview questions reported by candidates who appeared for the Tech Mahindra fresher technical interview. Questions are grouped by topic to reflect the evaluation focus of each category.
T1: General Technical Questions
The interviewer typically begins with project-related and introductory technical questions to assess the candidate's background, academic projects, and ability to articulate technical concepts clearly. These questions set the tone for the rest of the interview.
Sample Questions
Tell me about yourself and your academic background.
Explain your final year project in detail. What was your role?
What technologies did you use in your project and why did you choose them?
What challenges did you face in your project and how did you resolve them?
Why do you want to join Tech Mahindra?
What do you know about Tech Mahindra and its services?
Describe a situation where you worked as part of a team.
T2: Programming Languages and Concepts
This section tests the candidate's knowledge of object-oriented programming principles, programming language fundamentals, data structures, and algorithm design. Interviewers may ask candidates to write or trace code during this section.
Sample Questions
What are the four pillars of Object-Oriented Programming? Explain each with an example.
What is the difference between C and C++?
What is the difference between Java and C++?
What is a class and an object? How are they related?
What are constructors and destructors? When are they called?
Explain function overloading and function overriding with examples.
What is the difference between an array and a linked list?
What is the difference between a stack and a queue?
Explain the concept of recursion with an example.
What is Big O notation? Why is it important?
Write a program to reverse a string without using built-in functions.
Write a program to check whether a number is prime.
T3: Database and SQL
Database questions are a major area of focus in the Tech Mahindra technical interview. Candidates are expected to understand normalization, SQL query writing, and relational database concepts. SQL queries based on real-time scenarios are commonly asked.
Sample Questions
What is normalization? What are the different normal forms?
What are ACID properties in database management systems?
What is the difference between a primary key and a foreign key?
Explain indexing. How does it improve query performance?
What is the difference between INNER JOIN, LEFT JOIN, and RIGHT JOIN?
Write a SQL query to find the second highest salary from an employee table.
Write a SQL query to update the salary of all employees in a specific department.
What is the difference between DELETE, TRUNCATE, and DROP commands?
What are stored procedures? How are they different from functions?
What is a view in SQL? When would you use it?
T4: Computer Science Fundamentals
Core CS fundamentals including operating system concepts, memory management, and system-level topics are evaluated in this section. Candidates from computer science and IT backgrounds are expected to answer these questions with clarity.
Sample Questions
What is the difference between a process and a thread?
Explain the concept of deadlock. What are the four conditions for deadlock?
What is virtual memory? How does paging work?
What is the difference between multiprogramming, multitasking, and multiprocessing?
What is a semaphore? How is it used in process synchronisation?
What is garbage collection? How does it work in Java?
Explain the concept of memory management in operating systems.
What is thrashing in an operating system?
What is the difference between internal fragmentation and external fragmentation?
T5: Networking and Protocols
Networking questions assess the candidate's understanding of communication protocols, the OSI model, and internet infrastructure concepts. These questions are particularly relevant for candidates applying to networking or telecom-related roles.
Sample Questions
What is the OSI model? Name all seven layers and their functions.
What is the difference between TCP and UDP?
What is DNS? How does it resolve domain names?
What is subnetting? Why is it used?
Explain the concept of NAT (Network Address Translation).
What is the difference between a hub, switch, and router?
What is a firewall and how does it work?
T6: Web Development (if applicable)
For candidates with web development experience or those applying to roles involving web technologies, the interviewer may ask questions related to frontend and backend concepts, REST APIs, and web standards.
Sample Questions
What is the difference between HTTP and HTTPS?
What is a REST API? What are its principles?
What is the difference between GET and POST methods?
What is DOM manipulation in JavaScript?
What is the difference between session storage and local storage?
Explain the concept of authentication versus authorization.
What is CORS (Cross-Origin Resource Sharing)?
HR / Behavioral Interview Questions
The HR interview evaluates the candidate's personality, communication skills, professional attitude, and alignment with Tech Mahindra's values. Questions are generally personal and situational. The interviewer assesses flexibility regarding shift and location, long-term career intent, and interpersonal skills.
Sample Questions
Tell me about yourself.
Why do you want to work at Tech Mahindra?
What are your strengths and weaknesses?
Where do you see yourself five years from now?
Are you willing to relocate or work in different shifts?
How do you handle pressure and tight deadlines?
Describe a time when you had a conflict with a teammate and how you resolved it.
What do you know about Tech Mahindra's core services and business areas?
What is your expected salary?
Do you have any questions for us?
Frequently Asked QuestionsFAQ
How many rounds are there in the Tech Mahindra interview?
The Tech Mahindra fresher interview process consists of two interview rounds: a Technical Interview and an HR Interview. These rounds follow the online written assessments. Both rounds are conducted online in off-campus drives and in person or online for campus drives.
What is the weightage of technical versus HR questions?
The technical interview carries significantly higher weight in the selection decision. Most rejections happen during the technical round. The HR round is generally qualifying in nature for candidates who perform well technically.
Is there a coding round in the interview?
Coding questions primarily appear in the Technical Test round (online assessment) rather than in the interview itself. However, the technical interviewer may ask candidates to write simple programs or trace code during the interview, particularly for CS/IT candidates.
How long does the Tech Mahindra technical interview last?
The technical interview typically lasts 30 to 45 minutes. The HR interview is generally shorter, ranging from 15 to 30 minutes. Total interview time including waiting may extend to a few hours.
Is the interview conducted online or in person?
Off-campus drives are typically conducted online. Campus drives may be in person or online depending on the institution and recruitment agreement. Candidates are informed about the mode at the time of shortlisting.
What is the difficulty level of the technical interview?
The difficulty is moderate for most fresher candidates. Questions focus on core CS subjects such as OOPs, DBMS, and data structures. Candidates with strong fundamentals and project knowledge generally find the interview manageable.
What topics are most frequently asked in the Tech Mahindra technical interview?
The most frequently reported topics are OOPs concepts, SQL queries and DBMS theory, data structures (arrays, linked lists, stacks), operating system fundamentals, and project-related questions. SQL is particularly emphasized in many recent interview reports.
Is there a difference in interview difficulty between campus and off-campus candidates?
The interview structure is the same for both. However, campus candidates may face a more standardized set of questions as interviewers are familiar with the curriculum. Off-campus candidates through AMCAT may face slightly varied question sets based on their declared specialization.
