Get free ebooK with 50 must do coding Question for Product Based Companies solved
Fill the details & get ebook over email
Thank You!
We have sent the Ebook on 50 Must Do Coding Questions for Product Based Companies Solved over your email. All the best!

Tech Mahindra Interview Questions

Last Updated on March 2, 2023 by Prepbytes

Despite the fact that information technology or IT companies have expanded quite quickly in recent years, notably in India, very few of them are able to provide long-term employment to their employees. With this reason, individuals like working for reputable businesses. Being affiliated with a brand gives you confidence that your career is on the correct track and might help you maintain some level of job security. People believe that working with Tech Mahindra would enable them to advance in their professions while also preserving a positive work-life balance.

About Tech Mahindra

Tech Mahindra is a leading Indian multinational provider of information technology (IT) and business process outsourcing (BPO) services. Founded in 1986, the company has its headquarters in Mumbai, India, and has a presence in over 50 countries across the world.

Tech Mahindra offers a wide range of services, including software development, digital transformation, data analytics, cloud computing, and artificial intelligence (AI) solutions. The company serves clients across a number of industries, including telecom, healthcare, manufacturing, and banking and financial services.

One of the key strengths of Tech Mahindra is its expertise in the telecommunications sector. The company has a long-standing relationship with several leading telecom companies and has been instrumental in enabling the digitization of the sector. Tech Mahindra has also made significant investments in research and development (R&D) to drive innovation and stay ahead of the curve in terms of technology.

In recent years, the company has been focused on expanding its offerings in the digital space. This has involved the development of new technologies such as AI, the Internet of Things (IoT), and robotics, as well as the acquisition of companies that specialize in these areas. This has helped Tech Mahindra to position itself as a leading player in the digital transformation space, and the company has been recognized for its efforts by industry experts and analysts.

Another key aspect of Tech Mahindra’s business strategy is its focus on sustainability. The company has set ambitious targets for reducing its carbon footprint and promoting sustainable practices across its operations. Tech Mahindra has also been proactive in promoting diversity and inclusion and has a strong commitment to creating a positive and inclusive workplace culture.

Tech Mahindra is a leading provider of IT and BPO services, with a strong focus on digital transformation and sustainability. With a global presence and a wide range of offerings, the company is well-positioned to continue its growth and success in the years to come.

Tech Mahindra Recruitment Process

Before directly moving to tech mahindra interview questions lets first discuss the recruitment process.
Here we will discuss all the recruitment processes of tech mahindra with eligibility criteria, the number of rounds in the tech mahindra recruitment process, followed by tech mahindra interview questions, we will discuss all the tech mahindra interview questions which are asked in both technical and HR rounds.

Tech Mahindra Eligibility Criteria

The eligibility criteria of tech mahindra is similar to most organizations but the candidate must look at both graduation and academic criteria.

Graduation Criteria

The following are the graduation criteria for tech mahindra:

Criterion for graduation Details
Branch of study/ Department Bachelor’s of Technology (B. Tech) in one of the following disciplines: CSE/ECE/IT/EEE/TELECOM/EI /Bachelor’s of Engineering (B.E.) / OR M.Sc (Master of Science) in Computer Science & Information Technology.
Percentage of Graduation The minimum percentage should be 60%(sixty)
Mode of Study Part-time courses are not applicable only full-time courses that are recognized by the state or central government.
Backlogs No active backlog is considered.

Academic Criteria

Below is the academic criteria for tech mahindra recruitment process.

Academic Criteria Details
Percentage required in 10th and 12th Standard The marks should be sixty percent or more than that in both 10th and 12th
Educational Gap A maximum gap of one year is allowed after Higher Secondary Exams (12th standard), but not after Secondary School Certificate Exams (10th standard), or between semesters of graduation.

General Criteria

Other than academic and graduation criteria one should also be selected on the basis of general criteria. The candidate must possess some of the skills that are mentioned below:

  • Good knowledge in the respective technical domain.
  • Good Aptitude Skills.
  • Excellent Interpersonal and communication skills.
  • Professional attitude towards work.

Interview Process

With the exception of the severity of the tech mahindra interview questions posed during the various stages and the number of rounds, the Tech Mahindra interview process for freshmen is essentially identical to that for experienced candidates (Experienced Folks may be directly interviewed and may be allowed to skip the first few rounds as decided by the Recruiter).

Interview Rounds

There are mainly five rounds in the overall recruitment process of tech mahindra.
All these rounds will have different questions and the collection of all these is combined in the tech mahindra interview questions.

  1. Written Test
    A written test is used as the first step in the Tech Mahindra hiring process to gauge a candidate’s technical aptitude. The following three pieces make up the whole thing:

    • Essay Writing in English
    • Aptitude
    • Technical Test

    Only a specific defined number of candidates (as determined by the firm) go to round two of the Tech Mahindra Recruitment Process after the first round, which serves as an elimination round.

  2. Psychometric Round
    For those who get through Round One of the Tech Mahindra interview process, a Psychometric Test is administered. A personality psychometric test is being utilized in this round to evaluate employee behavior. This stage is a non-elimination round in which candidates must complete a written test (now online) with roughly 80 questions in 20–30 minutes.

  3. Technical Written Test
    Round 3 of the Tech Mahindra hiring process includes another written test to evaluate a candidate’s technical ability and skills. The following stages of this round must be finished in less than two hours:

    • Linux
    • Pseudo Code
    • Software testing concept
    • Fluid Intelligence
    • Analytical and Numerical ability
    • Hands-on programming
    • Software Testing Methodologies
    • Database Query Language
  4. Technical Interviews
    In this stage, candidates can anticipate questions concerning any part of their academic background. One needs to be quite knowledgeable in the principles of computer science to succeed in this round. A candidate should be knowledgeable in data structures, algorithms, database management systems, operating systems, networking, the principles of object-oriented programming, and their preferred programming language, such as C++, Java, Python, etc. Candidates from fields other than computer science should take courses in their field of study. Candidates for computer science positions will be tested on their coding skills during the interview. Be aware of what you’ve included on your CV because the panel will also ask questions about it (Curriculum Vitae). There may be more puzzle-related questions in this round.

  5. HR Round
    After passing the technical interviews, candidates move on to the HR (Human Resource) Round, in which they are given behavioral questions to see if they would fit in with the company’s culture or not. Most applicants think the HR interview would be straightforward, but even if you’ve passed all other tests, a subpar HR interview might prevent you from receiving the job. The aim is to keep a pleasant and assured demeanor. Because interviews might be drawn-out and boring, have a grin on your face the entire time. At this moment, the hiring process is complete. Although there is room for bargaining at this level, applicants must be flexible.

Tech Mahindra Interview Questions: Technical + Coding

In this section, we will discuss the tech mahindra interview questions of coding and technical domain.

1. What do you mean by a checkpoint in regard to DBMS?
Ans: A checkpoint in a database management system (DBMS) refers to a specific point in the state of a database that has been saved, typically to provide a consistent and recoverable state of the database in case of system failure. During a checkpoint, the DBMS writes the current database state, including all transaction logs, to disk to ensure that the database can be restored to its previous state if necessary. Checkpoints are typically performed at regular intervals or at specific times, such as when a large number of transactions have been processed, to minimize data loss in the event of a system crash or failure.

2. What are transparent database management systems?
Ans: Transparent database management systems (DBMS) refer to database systems where the underlying hardware, software, and storage systems are hidden from the user, providing a layer of abstraction between the user and the physical storage of the database. This abstraction makes it possible for users to interact with the database using a high-level programming interface, rather than having to deal with the low-level details of database storage and management.

In transparent DBMS, the database administrator is responsible for managing the physical storage of the database and optimizing the database for performance, while users can focus on the logic and manipulation of the data stored in the database. This separation of concerns allows for greater scalability and efficiency, as well as easier maintenance and management of the database.

3. What are the ACID characteristics of DBMS?
Ans: ACID stands for Atomicity, Consistency, Isolation, and Durability, and refers to a set of properties that are used to ensure the reliability and integrity of transactions in a database management system (DBMS). The ACID characteristics are as follows:

  • Atomicity: A transaction is an indivisible and irreducible unit of work. Either all changes made during a transaction are committed to the database or none of the changes are committed.
  • Consistency: A transaction brings the database from one valid state to another. The database remains in a consistent state throughout the transaction.
  • Isolation: Each transaction is executed in isolation as if it were the only transaction in the system. This ensures that the results of one transaction are not visible to other transactions until the first transaction is complete.
  • Durability: Once a transaction is committed, its effects are permanent and survive any subsequent failures, such as power outages or crashes.

4. Mention some of the advantages of DBMS.
Ans: The advantages of DBMS

  • Data integration: DBMS provides a centralized view of data from multiple sources.
  • Data consistency: Ensures that data is consistent and accurate across all applications and users.
  • Data security: Supports advanced security features to protect sensitive data.
  • Data sharing: Allows multiple users to access and manipulate data simultaneously.
  • Data independence: Logical and physical data independence reduces the impact of changes to the data structure.

5. With respect to SQL define unary operators in relational algebra.
Ans: In relational algebra, a unary operator operates on a single relation. Common unary operators include SELECT, PROJECT, and RENAME.

  • SELECT (σ) operator is used to select certain rows from a relation that meet a certain condition.
  • PROJECT (π) operator is used to select certain columns from a relation and discard others.
  • RENAME (ρ) operator is used to rename columns in a relation.

6. Explain classloader in java with its all types.
Ans: Classloader is a subsystem of Java Virtual Machine (JVM) that is responsible for loading class files from the file system into the JVM memory, and then linking the class objects to their respective classes in the runtime environment.

In Java, there are three types of classloaders:

  • Bootstrap ClassLoader: This is the parent of all classloaders in Java and it is responsible for loading core Java classes from the rt.jar file in the JRE directory.
  • Extension ClassLoader: This is a child of the bootstrap classloader and it loads classes from the extensions directory (jre/lib/ext).
  • System/Application ClassLoader: This is the classloader that is used by the application and it loads classes from the classpath specified in the command line or in the environment variables.

The classloading process in Java starts with the bootstrap classloader and continues with the extension classloader and then the system/application classloader. The classloaders delegate the loading of a class to their parent classloader if they can’t find the class themselves. This creates a hierarchy of classloaders, with each classloader having a specific responsibility in loading classes.

7. What is the difference between class and object?
Ans: Class is a blueprint or template for creating objects. It is a user-defined data type that contains a set of attributes (data members) and methods (functions) that operate on these attributes. Objects are instances of classes and are created at runtime. Each object has its own unique set of attribute values and can access the methods of its class.

For example, you can create a class called "Car" with attributes like "make," "model," "year," and "color." You can then create multiple objects of the class "Car," each with different values for these attributes. The objects can access methods defined in the class to perform actions like accelerating, turning, and braking.

In essence, a class defines what an object is and what it can do, while an object is a specific instance of a class that has its own attribute values and can access the methods of its class.

8. Explain Destructor in c++ with its syntax.
Ans: A destructor in C++ is a special member function of a class that is automatically called when an object of that class goes out of scope or is explicitly deleted. It is used to perform cleanup operations such as freeing memory or releasing resources that were acquired by the object. The destructor is identified by the tilde (~) symbol followed by the class name and takes no arguments.

Here is the syntax for a destructor in C++:

class ClassName

It’s important to note that a class can have only one destructor and it cannot be overloaded or called explicitly. The destructor is automatically invoked by the system when the object is no longer needed, ensuring that resources are properly cleaned up.

9. What is structured programming?
Ans: Structured programming is a programming paradigm that emphasizes the use of a structured control flow in a program, breaking it down into smaller, well-defined blocks of code, such as functions or procedures. The idea behind structured programming is to make code easier to understand, maintain and debug by breaking it down into smaller, more manageable pieces, and enforcing a clear separation of responsibilities between different parts of the program. This makes it possible to write more complex programs that are easier to maintain, as well as improve the ability to reuse code, as functions and procedures can be called from multiple locations in a program. Structured programming also encourages the use of top-down design, where the high-level structure of a program is defined first, and then the details are added later, making it easier to understand the overall program flow. Overall, structured programming is an important concept for all programmers to understand, as it can greatly improve the quality and maintainability of their code.

10. Name some of the programming languages that support oops?
Ans: Some of the programming languages that support oops are

  • C++
  • Python
  • Java
  • JavaScript
  • PHP

11. What do you mean by function overloading?
Ans: Function overloading is a feature in some programming languages that allows multiple functions to have the same name but different parameter lists. When a function is called, the appropriate version of the function is selected based on the number and type of arguments passed to the function. This allows a single function name to perform different operations based on the context in which it is used, and can lead to more readable and concise code. In function overloading, the implementation of each version of the function can be different, allowing the function to perform a different operation depending on the arguments passed to it. This feature is useful in situations where a single function needs to perform multiple, related operations with different inputs. The specific implementation of function overloading depends on the programming language in question, with some languages having strict rules for overloading, while others provide more flexibility. Overall, function overloading can help to make code more maintainable, as it reduces the need for multiple functions with similar names, making the code easier to read and understand.

12. Differentiate between paging and swapping.
Ans: Paging and swapping are two methods used by operating systems to manage memory allocation for processes.

Paging is a memory management technique that divides physical memory into fixed-sized blocks called pages. When a process needs to access a page, the operating system loads it from disk into physical memory. This allows multiple processes to share physical memory, even if they do not fit into memory simultaneously. Paging is a more efficient method of memory management than swapping, as it avoids moving entire processes between disk and memory.

Swapping, on the other hand, involves moving an entire process from memory to disk or vice versa. This is used when a process is too large to fit into physical memory, or when the operating system needs to free up memory for other processes. Swapping is less efficient than paging, as it requires moving the entire process between disk and memory, whereas with paging, only the necessary pages are transferred.

13. What are request dispatchers and request processors in context with java?
Ans: In the context of Java, Request Dispatchers and Request Processors are two related components used for handling requests in web applications.

A Request Dispatcher is an object that is used to forward or include a request from one resource to another. It can be used to transfer control to a different resource, such as a JSP page or a Servlet, within the same application. Request Dispatchers are typically obtained using the ServletRequest.getRequestDispatcher() method.

A Request Processor, on the other hand, is a component that performs the processing required to handle a request. In the context of Java web applications, the Request Processor is responsible for parsing the request, extracting the necessary information, and determining what action should be taken in response to the request. The Request Processor is responsible for executing the appropriate action and generating the response, which is then returned to the client.

In a Java web application, the Request Dispatcher and Request Processor work together to handle client requests. The Request Dispatcher is responsible for forwarding the request to the appropriate resource, while the Request Processor is responsible for processing the request and generating the response.

14. State the various state of the process.
Ans: A process in a computer system can be in one of several states during its lifetime, including

  • New: The process has just been created and is waiting to be assigned to the operating system for execution.
  • Ready: The process is waiting in the ready queue to be executed. It has been assigned to the operating system and is waiting for its turn to run.
  • Running: The process is currently being executed by the processor.
  • Blocked: The process is temporarily suspended and waiting for an event to occur, such as the completion of an I/O operation or the release of a resource.
  • Waiting: The process is waiting for a specific event or condition to occur, such as the completion of a child process.
  • Terminated: The process has completed execution and is no longer active.
  • Zombie: The process has completed execution but its parent process has not yet retrieved its status.

The operating system periodically changes the state of a process as it is executed. The exact state transitions depend on the operating system and the specific algorithm used for process scheduling. Understanding the different states of a process is important for understanding the behavior and performance of an operating system.

15. What are microkernels in the operating system?
Ans: Microkernels are a design approach to operating system architecture where the core of the operating system, which includes basic tasks such as managing system resources, is kept as small and simple as possible, with other functionalities being implemented as separate processes running outside of the kernel. This allows for more modular and flexible design, as well as improved security and reliability, as issues in one module can be isolated without affecting the entire system.

16. Determine the aggregate interest on a variety of loans.
A 20% interest rate is applied to the remaining amounts in the array, but there is no interest until the sum of 1000 is achieved. In this case, we’ll create a function called "totalInterest" that has two arguments: an array of amounts and the number of amounts in the array. If the first input is 4, for instance, and the sums are 1000, 2000, 3000, and 4000. 20% of $1,000 plus 20% of $2,000 plus 20% of $3,000 plus 20% of 4,000 would be $2,000 in total interest.
Ans: The C++ implementation of the above question is given below:

using namespace std;
double totalInterest(int totalAmounts, vector<int> arr)
   double totalInterestValue = 0;
   for(int i = 0;i < totalAmounts;i ++)
                      if(arr[i] < 1000)continue;
       totalInterestValue = totalInterestValue  + (1.0*(arr[i]-1000)*0.2);
   return totalInterestValue;
int main()
   int totalAmounts;
   cin >> totalAmounts;
   vector<int> arr(totalAmounts);
   for(int i = 0; i < totalAmounts; i ++)cin >> arr[i];
   cout << totalInterest(totalAmounts, arr) << endl;
   return 0;





17. Write some code that returns the differences between the sums of the even and odd values in the supplied array of positive integers.
In this case, we would need to create a function called "evenOddDiff" that has two inputs: the array of positive numbers and the number of positive integers in the array. For instance, the difference between the sums of even and odd numbers is equal to (4+2) – (5) = 6 – 1 = 5 if the original input is 3 integers and the values are 5, 2, and 4.
Ans: Below is the C++ implementation of the above question.

using namespace std;
int OddEvendiff(int n, vector<int> &a)
   int oddSum = 0,evenSum = 0;
   for(int i: a)
       if(i & 1)
           oddSum += i;
           evenSum += i;
   return evenSum - oddSum;
int main()
   int n;
   vector<int> a(n);
   for(int j = 0; j < n; j ++)cin >> a[j];
   cout << OddEvendiff(n, a) << endl;
   return 0;


2 8 5 9 8



Tech Mahindra Interview Questions: HR Round

1. How do you define success?
Ans: Success can be defined as the achievement of desired goals and the realization of one’s aspirations and ambitions. It can be personal or professional and can be different for each individual, depending on their values, priorities, and goals. Success can encompass various aspects of life, such as financial stability, career advancement, meaningful relationships, personal growth, and overall happiness and satisfaction with life. Success is often measured by the attainment of specific milestones, but it can also be subjective and based on a person’s own sense of fulfillment and well-being.

2. Why shouldn’t we hire you?
Ans: I am not the one for you if you’re seeking someone who works alone or independently. I enjoy working in teams since I believe I am most effective when I am among other people. When I work in teams, I create my best work.

3. Who is the current CEO of tech mahindra?
Ans: Cp gurnani is the current CEO of tech mahindra

4. Who is the founder of tech mahindra?
Ans: Anand Mahindra is the founder of tech mahindra.

5. What are your expectations in terms of salary?
Ans: I don’t have any particular wage needs, but I do have a lot of expertise in the area that I believe will be crucial to my future. I’m interested to learn more about what my duties at this organization are. After then, the work will be fairly rewarded.

6. Tell us about some of your time management skills
Ans: Effective time management is essential for a seamless and great result. I always allocate time for these tasks and complete them on time. I will be able to deliver the finest work if I complete these tasks before the due date.

7. Are you a team player or a solo player?
Ans: I’ve done the majority of my work in teams, and I’ve learned that mixing various ideas produces something different and original. I respect collaborating with others because of this. I participated in collegiate sports, so I am aware of how important collaboration is. Because it allows me to generate ideas and communicate with my coworkers, I love working in groups.

8. Where do you see yourself in the next 5 years?
Ans: In five years, I picture myself holding a successful position at a reputable organization like yours. In terms of professionalism, competence, and efficiency, I feel like I’m improving. I want to spend the next several years developing new abilities, taking on a difficult job, working on a variety of projects, giving as much as I can, and making the necessary sacrifices in order to see myself advance.

9. Why should I hire you?
Ans: Try to understand the interviewer’s highest expectations; this will give you an edge over the competition and provide him with the best justification for choosing you over the other applicants.

10. Do you have any questions for me?
Ans: In three years, where do you see this organization? and "What is the competitive advantage of this business from its rivals?"

Tips for Preparation of Tech Mahindra interviews

Below are the tips for the preparation of tech mahindra interviews:

  • Prepare some tech mahindra interview questions.
  • Go through the interview experiences.
  • Be sociable and upbeat.
  • Answer questions concisely and quickly.
  • Understand your strength and weaknesses.

FAQs Related to Tech Mahindra Interview

1. Are the interview rounds of tech Mahindra easy or difficult?
Ans: The response to this question will vary depending on the individual and their level of preparedness. According to widespread consensus, Tech Mahindra interview questions are easy to moderately challenging. If one is confident enough in his or her preparation, they should be set to go and shouldn’t encounter many difficulties during the Tech Mahindra interview process.

2. What are the factors that make you change your current job?
Ans: Among seasoned professionals searching for a change, this is a common query. Saying that you are leaving your current position in order to pursue a promotion is the easiest approach to react to this inquiry. Make sure you refrain from criticizing or disparaging your current workplace.

3. What do you know about tech mahindra?
Ans: Start with a fundamental overview of Tech Mahindra. For instance, you may remark that Tech Mahindra, a division of the Mahindra Group, is a global technology company with headquarters in India that specializes in business process outsourcing and information technology (IT) (BPO). The interviewer will get the impression that you are interested in working for Tech Mahindra if you discuss one or two significant initiatives that Tech Mahindra has undertaken that you truly enjoyed and how they have affected the globe. You can also include a couple of the company’s guiding principles.

4. Why do you want to join Tech mahindra?
Ans: By offering comprehensive long-term roles centered on a digital learning environment that is available at any time, from any location, and on any device, Tech Mahindra attracts and develops top talent. It provides a warm setting, a great work environment, and a pleasant attitude that is good for both individual and business growth. Therefore, there is enough incentive to work at Tech Mahindra.

5. Mention some of the recruitment policies of tech mahindra.
Ans: The following are Tech Mahindra’s hiring guidelines:

  • A applicant is not permitted to reapply until the six-month window has passed if they attended an interview during the previous six months of the date of the new application.
  • A candidate will be ineligible to apply for six months following an interview if Tech Mahindra rejects him or her.
  • If Tech Mahindra chooses to reject an applicant’s application for whatever reason, that applicant is not eligible to apply.
  • The candidate has the choice to reapply and take part in the hiring process if, for any reason, they are unable to provide an interview after applying to Tech Mahindra.

Leave a Reply

Your email address will not be published. Required fields are marked *