Company Guide · Tech Mahindra Freshers

Tech Mahindra Interview Preparation 2026: Freshers Guide from Aptitude to HR

Every stage of the commonly reported Tech Mahindra fresher process, with solved aptitude, pseudocode and coding questions, an essay template, interview answers, and an honest look at salary and service agreements.

✍️ Pranjal Jain, Ex-Microsoft · IIT Kanpur 📅 10 October 2026 ⏱ 13 min read
Illustration of an online assessment hall with laptops and icons representing aptitude, technical and HR rounds
TL;DR
  • Tech Mahindra's fresher hiring commonly runs an online assessment (English/essay, aptitude, logical reasoning, technical or pseudocode, sometimes coding, plus a personality section) followed by technical and HR interviews.
  • The essay is a distinctive step. A clear four-paragraph structure with clean grammar beats long, ornate writing.
  • Aptitude is standard placement level: percentages, ratios, time and work, speed, probability, series, seating and blood relations.
  • Interviews focus on your project, one programming language, OOP, DBMS/SQL and simple programs.
  • Approximate 2026 public-source pay: around 3.25 to 4.5 LPA for standard roles, more for specialised tracks. Some offers have included a service agreement; read it before signing. Confirm everything with your offer and HR.

Tech Mahindra is one of India's largest IT services employers and a mass recruiter of engineering, BCA and MCA graduates. For many freshers it is one of the first offers on the table, and its process is very clearable with focused preparation. Where candidates slip is usually not difficulty but surprise: an essay they did not practise, pseudocode questions in an unfamiliar style, or an HR round where they fumble questions about relocation and the service agreement.

This guide covers each stage of the commonly reported process, with solved examples you can practise directly. The exact sections, timings and cut-offs change between drives (campus, off-campus and pool drives can differ), so treat this as a preparation map and always follow the instructions in your test invite.

Tech Mahindra Fresher Hiring: How It Works

Freshers usually reach Tech Mahindra through campus placements, pool campus drives organised for multiple colleges, or off-campus registrations on the company's careers portal and partner platforms. Typical eligibility rules (commonly reported, varies by drive) include a minimum percentage in 10th, 12th and graduation, no active backlogs at the time of joining, and a limit on education gaps.

Stage 1

Online assessment

Essay, English, aptitude, reasoning, technical/pseudocode, possibly coding and a personality test. Often on a third-party assessment platform.

Stage 2

Technical interview

Project, programming basics, OOP, DBMS, simple code. Typically 20 to 40 minutes.

Stage 3

HR interview

Communication, relocation, shifts, service agreement, documents. Sometimes merged with the technical round.

Tech Mahindra Online Test Pattern (Commonly Reported)

SectionWhat it coversPreparation priority
English / verbalGrammar, sentence correction, reading comprehension, synonyms, para-jumblesMedium: practise 2 sets a day
Essay writingShort essay on a given topic within a time and word limitHigh: practise 5 to 6 essays
Quantitative aptitudePercentages, profit and loss, ratios, time and work, speed, averages, probabilityHigh
Logical reasoningSeries, coding-decoding, blood relations, seating, syllogisms, data sufficiencyHigh
Technical / pseudocodeOutput of pseudocode, computer fundamentals, basic OOP, DBMS, networkingMedium-high
Coding (in some drives)One or two easy to moderate programsMedium-high
Personality / psychometricSituational and preference statementsLow effort: answer consistently and honestly
💡
Sectional cut-offs matterMass-recruiter tests commonly use sectional cut-offs, so a very high quant score cannot rescue a very low verbal score. Prepare every section to a safe level instead of maximising your favourite one.

Tech Mahindra Essay Writing: Template, Topics and a Sample

The essay is typically short (often around 200 to 300 words) and timed. Evaluators, whether human or automated scoring, look for relevance to the topic, structure, grammar and spelling, and vocabulary that is clear rather than flowery. Many automated essay scorers also check the word count range strictly.

The four-paragraph template

  1. Introduction (2 to 3 sentences). Define the topic and state your position or the angle you will take.
  2. Point one (3 to 4 sentences). One idea with a concrete example, ideally Indian and recent.
  3. Point two (3 to 4 sentences). A second idea or the counter-view, with an example.
  4. Conclusion (2 sentences). Summarise and end with a forward-looking line. Do not introduce new points.

Topics that commonly appear in IT-services essays

  • Impact of artificial intelligence on jobs
  • Digital India and digital payments
  • Work from home: boon or bane
  • Social media and its influence on youth
  • Electric vehicles and the environment
  • Importance of teamwork in the workplace
  • Online education versus classroom learning

Sample essay: "Digital payments in India" (about 220 words)

Digital payments have changed how India spends money. From large shopping malls to roadside tea stalls, scanning a QR code has become a normal part of daily life. In my view, this shift has brought major benefits, although it also creates new responsibilities for users and institutions.

The first benefit is convenience and inclusion. Systems like UPI let people transfer money instantly using only a mobile phone, without carrying cash or visiting a bank branch. Small shopkeepers can accept payments from any customer, and government benefits can reach citizens directly, which reduces leakage.

However, the growth of digital payments has also increased the risk of fraud. Many users, especially first-time smartphone owners, are targeted by fake calls and links asking for PINs or OTPs. Network outages can also stop payments at critical moments. These problems show that technology must be matched by awareness and reliable infrastructure.

In conclusion, digital payments have made transactions faster, cheaper and more inclusive. If banks, companies and citizens work together on security and education, India can continue to lead the world in this area.

Why it works: clear position in the introduction, one benefit and one risk with examples, short sentences, no grammar risks, and a conclusion that summarises. Practise writing five essays like this in 20 minutes each, then check grammar with a tool and note your repeated mistakes.

Solved Tech Mahindra-Style Aptitude Questions

1. Percentages

A price rises by 20% and then falls by 20%. What is the net change? Use successive change: 20 − 20 + (20 × −20)/100 = −4. Net 4% decrease.

2. Time and work

A can finish a job in 12 days and B in 18 days. They work together for 4 days, then A leaves. How long does B take to finish? Take total work as LCM(12, 18) = 36 units. A does 3 units/day, B does 2. In 4 days together: 4 × 5 = 20 units. Remaining 16 units at 2/day = 8 more days.

3. Speed, time and distance

A train 240 m long crosses a pole in 12 seconds. How long does it take to cross a 360 m platform? Speed = 240/12 = 20 m/s. Distance to cross the platform = 240 + 360 = 600 m. Time = 600/20 = 30 seconds.

4. Probability

Two dice are thrown. What is the probability that the sum is 8? Favourable pairs: (2,6), (3,5), (4,4), (5,3), (6,2) = 5 out of 36. 5/36.

5. Number series

2, 6, 12, 20, 30, ? Differences are 4, 6, 8, 10, so the next difference is 12. 42. (Equivalently n(n+1) for n = 1 to 6.)

6. Blood relations

Pointing to a man, Riya says, "He is the son of my grandfather's only son." How is the man related to Riya? Her grandfather's only son is her father. The son of her father is her brother.

7. Coding-decoding

If CAT is coded as DBU, how is DOG coded? Each letter shifts by +1. EPH.

For a full topic list with formulas and shortcuts, use our aptitude preparation guide for placements.

Technical and Pseudocode Questions

Pseudocode questions show a short program in a language-neutral syntax and ask for the output. They test whether you can trace loops, conditions and integer arithmetic carefully.

Example 1

Integer a = 5, b = 3, c = 0
for (i = 1 to 3)
    c = c + a * i - b
    a = a - 1
end for
print c

Trace: i = 1: c = 0 + 5 − 3 = 2, a = 4. i = 2: c = 2 + 8 − 3 = 7, a = 3. i = 3: c = 7 + 9 − 3 = 13, a = 2. Output: 13.

Example 2

Integer n = 10, count = 0
while (n > 1)
    if (n mod 2 == 0)
        n = n / 2
    else
        n = 3 * n + 1
    count = count + 1
end while
print count

Trace: 10 → 5 → 16 → 8 → 4 → 2 → 1. Six steps. Output: 6. Writing the sequence on rough paper is faster and safer than computing in your head.

Computer fundamentals MCQs to revise

  • OOP: encapsulation, inheritance types, polymorphism (overloading vs overriding), abstraction.
  • DBMS: primary vs foreign key, normalisation basics, SQL clauses (WHERE vs HAVING), joins.
  • Networking: OSI layers, TCP vs UDP, IP address classes, what DNS does.
  • OS: process vs thread, deadlock, paging, scheduling.
  • Data structures: stack vs queue, array vs linked list, time complexity of searching and sorting.

Tech Mahindra Coding Questions with Solutions

When a coding section is included, problems are typically easy to moderate. Two representative examples follow, solved in C++ and Python.

Problem 1: Second largest distinct element in an array

Return −1 if it does not exist. Single pass, O(n) time, O(1) space.

C++
#include <iostream>
#include <vector>
#include <climits>
using namespace std;

long long secondLargest(const vector<int>& a) {
    long long first = LLONG_MIN, second = LLONG_MIN;
    for (int x : a) {
        if (x > first) { second = first; first = x; }
        else if (x < first && x > second) { second = x; }
    }
    return second == LLONG_MIN ? -1 : second;
}

int main() {
    cout << secondLargest({12, 35, 1, 10, 34, 1}) << "\n"; // 34
    cout << secondLargest({7, 7, 7}) << "\n";              // -1
}
Python
def second_largest(a):
    first = second = None
    for x in a:
        if first is None or x > first:
            first, second = x, first
        elif x != first and (second is None or x > second):
            second = x
    return -1 if second is None else second

print(second_largest([12, 35, 1, 10, 34, 1]))  # 34
print(second_largest([7, 7, 7]))               # -1

Dry run on [12, 35, 1, 10, 34, 1]: first/second go (12, none) → (35, 12) → 1 ignored → 10 ignored → (35, 34) → 1 ignored. Answer 34. The duplicate case [7, 7, 7] is exactly the hidden test many candidates fail.

Problem 2: Count words and reverse each word in a sentence

Input a line, print the number of words and the sentence with each word reversed, preserving word order. Handle multiple spaces.

C++
#include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
using namespace std;

int main() {
    string line, word, out;
    getline(cin, line);
    istringstream in(line);
    int count = 0;
    while (in >> word) {               // >> skips any amount of whitespace
        reverse(word.begin(), word.end());
        if (count++) out += ' ';
        out += word;
    }
    cout << count << "\n" << out << "\n";
}
Python
line = input()
words = line.split()          # split() with no argument collapses multiple spaces
print(len(words))
print(" ".join(w[::-1] for w in words))
# Input:  "Tech   Mahindra rocks"
# Output: 3
#         hceT ardnihaM skcor

Other commonly practised problems for this level: prime check and primes in a range, palindrome number or string, factorial and Fibonacci, array rotation, frequency of characters, removing duplicates, GCD and LCM, binary to decimal conversion, and sum of digits. Our data structures questions for freshers list covers the basics behind these.

Tech Mahindra Technical Interview Questions

The technical interview usually starts from your resume. Interviewers want to see that you understand what you claim and can write simple code.

Questions commonly reported

  • Explain your final-year project: the problem, your role, the tech stack, and one challenge.
  • What are the four pillars of OOP? Give a real example of polymorphism.
  • Difference between an abstract class and an interface.
  • What is the difference between DELETE, TRUNCATE and DROP?
  • Write a SQL query to find the second-highest salary.
  • What is normalisation? Explain 1NF, 2NF, 3NF briefly.
  • Difference between a stack and a queue, with real-life examples.
  • Write a program to check whether a string is a palindrome.
  • What is a pointer? (for C/C++ candidates) What is garbage collection? (for Java candidates)
  • What do you know about cloud computing, or 5G? (Tech Mahindra has a large telecom business, so telecom awareness can help.)

How to answer the project question well

Use a 90-second structure: problem (who had it), solution (what you built), your part (specific modules), tech (and why you chose it), result (what worked, what you would improve). Be ready for the follow-up "what was the hardest bug?" Our guide on explaining projects in interviews has templates.

Tech Mahindra HR Interview Questions and Answers

QuestionWhat HR checksStrong answer direction
Tell me about yourselfCommunication, structureEducation, skills, project, one achievement, why IT services. Under 90 seconds.
Why Tech Mahindra?ResearchMention its telecom and digital transformation work, global clients, training for freshers
Are you willing to relocate?FlexibilityYes, honestly. Mass recruiters allocate locations based on project needs.
Are you comfortable with night shifts?FlexibilityBe honest; if you have a genuine constraint, state it politely.
Are you okay with the service agreement?CommitmentAsk clarifying questions; say yes only if you understand and accept the terms.
Where do you see yourself in 5 years?Ambition and stabilityGrowing technical depth, leading modules, contributing to client delivery
Do you plan higher studies?Attrition riskBe truthful; if not immediately, say so.

For more model answers, see HR interview questions for freshers and how to answer "tell me about yourself".

Tech Mahindra Fresher Salary and the Service Agreement

Role (commonly reported)Approximate CTC (LPA)
Associate Software Engineer / standard fresher role~3.25 to 4.5
Higher-package tracks for strong performers or specialised skills~5 to 8
Software Engineer after 2 to 3 years~5 to 8

Approximate 2026 ranges from public sources such as AmbitionBox, Glassdoor and levels.fyi; varies by role, location and negotiation. Fresher packages at mass recruiters change slowly, but role names and special tracks change between drives.

What to know about the service agreement

Some Tech Mahindra fresher offers have been reported to include a service agreement: a commitment to stay for a minimum period, with an amount payable if you leave earlier. Terms are not the same every year. Before you sign:

  • Read the exact duration, amount, and what counts as a breach.
  • Check whether training costs or certifications are linked to it.
  • Ask HR in writing how the amount is calculated if you leave midway.
  • Do not sign anything you do not understand; it is normal to ask questions.
⚠️
Joining dates can be delayedLike other large IT services firms, Tech Mahindra has at times taken months to issue joining dates for freshers depending on demand. Keep preparing and applying while you wait, and do not reject other opportunities purely on the assumption of an early joining date.

A 3-Week Tech Mahindra Study Plan

  1. Week 1: Aptitude and reasoning. One topic per day (percentages, ratios, time and work, speed, probability, series, blood relations). 30 timed questions daily. Write one essay every other day.
  2. Week 2: English, pseudocode and coding. Two verbal sets daily, 20 pseudocode tracing questions, 15 easy coding problems with edge cases (empty input, duplicates, negatives).
  3. Week 3: Interviews and mocks. Revise OOP, DBMS, SQL and your project; take two full-length mock tests; do one mock technical and HR interview with a friend.

Tech Mahindra is a good first job for building delivery experience, and many engineers later move to product companies with the right preparation. If that is your long-term plan, start a slow DSA habit from day one; the service-to-product 90-day roadmap shows exactly how to do it while working full time.

Frequently Asked Questions

What is the Tech Mahindra test pattern for freshers in 2026?▾
The commonly reported pattern includes English and essay writing, quantitative aptitude, logical reasoning, technical or pseudocode questions, sometimes coding, and a personality or psychometric section. The sections and timings change between drives, so check the instructions shared with your test invite.
Is the Tech Mahindra essay round an elimination round?▾
Many candidates report the essay as part of the screening, and a weak essay with grammar errors or off-topic content can hurt your chances. Treat it seriously: write a clear structure with an introduction, two or three points and a conclusion within the word limit.
What is the salary for Tech Mahindra freshers?▾
Approximate 2026 figures from public sources such as AmbitionBox and Glassdoor suggest standard fresher software roles around 3.25 to 4.5 LPA, with higher packages for specialised or high-performer tracks. Exact figures depend on the role and drive, so confirm from your offer letter.
Does Tech Mahindra have a bond for freshers?▾
Some Tech Mahindra fresher offers have been reported to include a service agreement requiring a minimum period of employment or a payment if you leave early. Terms vary by year and role, so read the agreement clause in your offer letter carefully and ask HR to clarify before signing.
Which programming language is best for the Tech Mahindra coding round?▾
Use the language you are most comfortable with, typically C, C++, Java or Python if allowed. The problems are usually basic to moderate, such as array manipulation, strings and number logic, so accuracy matters more than language choice.
How many rounds are there in Tech Mahindra recruitment?▾
Typically there is an online assessment followed by a technical interview and an HR interview. Some drives combine technical and HR into a single conversation, and some add a communication or voice assessment.
What questions are asked in the Tech Mahindra technical interview?▾
Freshers are commonly asked about their final-year project, basics of a programming language, OOP concepts, DBMS and SQL queries, simple data structures, and to write or explain small programs such as reversing a string or checking for a prime number.

Go Beyond Your First Service-Company Offer

Prepflix helps freshers clear mass-recruiter tests today and build the DSA and design skills to move to product companies later.

Explore the Prepflix Course →
Pranjal Jain
Pranjal Jain

Ex-Microsoft SDE · IIT Kanpur · Founder of Prepflix. Helps engineers crack startup and product company interviews across India.