Last checked against official sources: 9 October 2026.
Tech Mahindra does not publish a question bank, and the exact interview stages depend on the role, the hiring route and whether you are a fresher or experienced. Our separate guide to the Tech Mahindra recruitment process covers the official application routes. This article does a different job: it gives you practice questions for the kinds of conversations most IT and business-process interviews include, with model answers, and shows you how to use the company's published values in behavioural answers.
The questions are our own practice material. They are not a leaked list, and you should treat your interview invitation as the authority on what each round will cover.
Technical questions with model answers
These cover fundamentals that freshers in computer science, IT and related branches are routinely expected to explain. Learn the reasoning, not the wording.
"What is the difference between a process and a thread?"
A process is a running program with its own memory space. A thread is a unit of execution inside a process, and threads of the same process share that memory. Threads are cheaper to create and switch between, but shared memory means you need synchronisation to avoid race conditions. A good follow-up example: a browser may run separate processes for safety, while one process uses several threads to keep the interface responsive.
"What is a deadlock, and how can it be prevented?"
A deadlock happens when processes wait for each other's resources forever. It needs four conditions at once: mutual exclusion, hold and wait, no preemption and circular wait. Prevention means breaking at least one of them, most practically circular wait — for example, by always acquiring locks in the same fixed order.
"Stack or queue — give a real use for each."
A stack is last-in, first-out: function calls, undo history and expression evaluation use one. A queue is first-in, first-out: print jobs, request handling and breadth-first search use one. Interviewers like it when you connect the data structure to something you have built.
"Write a program to check whether a number is a palindrome."
def is_palindrome(n: int) -> bool:
if n < 0:
return False
original, reversed_num = n, 0
while n > 0:
reversed_num = reversed_num * 10 + n % 10
n //= 10
return original == reversed_num
Trace it aloud for 121: the reversed number builds as 1, 12, 121, which equals the original, so it returns True. Mention that converting to a string (str(n) == str(n)[::-1]) is shorter, and that you wrote the arithmetic version to show the logic.
"DELETE, TRUNCATE and DROP — what's the difference?"
DELETE removes rows, optionally filtered with WHERE, and runs as ordinary data manipulation inside a transaction. TRUNCATE removes all rows in one operation and is usually much faster on large tables. DROP removes the table itself, including its structure. Add the honest caveat: whether TRUNCATE can be rolled back depends on the database system, so check the documentation for the one you use.
"What happens when you type a URL into a browser?"
In outline: the browser resolves the domain name to an IP address through DNS, opens a TCP connection (with a TLS handshake for HTTPS), sends an HTTP request, receives the response, and renders the HTML while fetching CSS, scripts and images. Go deeper on whichever step relates to your skills — caching for a web developer, TLS for a security role.
"Explain your project."
Prepare a three-minute version covering the problem, your exact contribution, one technical decision and why, one bug you fixed, and what you would improve. Every technology you name is an invitation for follow-up questions.
Communication and role-fit questions
Many Tech Mahindra openings, especially in business process services and client-facing delivery, need clear spoken communication. Practise these aloud and time yourself:
- "Explain a technical concept you know well to someone with no technical background." Pick something like cloud storage and use an everyday comparison.
- "Describe a time you had to deal with an unhappy customer or user." Show listening, ownership and follow-through.
- "Are you comfortable with rotational shifts?" Answer truthfully; if you have constraints, state them early rather than after an offer.
Use the company's values in behavioural answers
Tech Mahindra's Rise page lists five core values. Build one true story for each. The practice prompts below are ours.
| Value (as published) | Practice prompt | What your story should show |
|---|---|---|
| Good Corporate Citizenship | Tell me about a time you chose the right thing over the easy thing | Integrity under some pressure |
| Professionalism | Describe a time you took responsibility for a result | Ownership and reliability |
| Quality Focus | Tell me about catching a mistake before it reached a user | Checking your own work |
| Customer-First | Describe going beyond the brief for someone you were serving | Understanding the user's real need |
| Individual Dignity | Tell me about disagreeing respectfully with someone senior | Speaking up while respecting others |
The page describes Individual Dignity as including the right to express disagreement, so a well-handled disagreement story fits naturally there.
Worked example: upgrading a weak answer
A common question is "Why should we hire you?" Here is how a fictional fresher's answer improves when it moves from claims to evidence.
| Version | Answer |
|---|---|
| Weak | "I am hardworking, a quick learner and a team player. I will give my 100%." |
| Better | "I have built two small web projects in Java and learned SQL for my final-year project." |
| Strong | "I can contribute to application support and development from the start. In my final-year project I built a library-management system in Java with a MySQL database, and I wrote the search queries myself. When search slowed down with test data, I added an index and checked the improvement. I also tutored juniors in programming for a semester, so I'm used to explaining technical work clearly." |
The strong version names specific skills, shows one problem solved, and links to the role. It contains no claim the candidate can't back up if the interviewer asks a follow-up.
HR questions to prepare
- "Tell me about yourself." Two minutes: education, key skills, one project, why this role.
- "Where do you see yourself in five years?" Show a direction (for example, growing into a specialist in a technology you are learning) without sounding as if you plan to leave quickly.
- "Are you willing to relocate?" Be honest and consistent with what you stated in your application.
- "Do you have any questions?" Ask about training for new joiners or how projects are allocated.
Verify your offer and avoid fraud
Tech Mahindra's recruitment fraud notice, still linked from its careers portal, says the company does not charge any fee or collect any deposit from candidates, and that any offer conditional on a payment should be treated as fake. The notice is dated 2017, so some details may have changed, but it describes a useful check: offer letters carry a QR code that leads to the Tech Mahindra careers portal for verification, and if the code is missing, candidates can write to the offer-verification address given in the notice. It also warns that mail from a free email domain rather than techmahindra.com is fake. Report payment demands to the company's ombudsman address in the notice or to local police.
Final checklist
- Revise operating-system, DBMS, networking and data-structure basics until you can explain them simply.
- Write the palindrome and two or three other short programs without help.
- Prepare a three-minute project walkthrough.
- Build one true story for each of the five published values.
- Practise explaining a technical idea to a non-technical listener.
- Verify any offer letter through the official route before acting on it.
