i
Tech Mahindra
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Jan 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
Find the largest common prefix among an array of strings
Iterate through the characters of the first string and compare with the corresponding characters of other strings
Stop when a mismatch is found or when reaching the end of any string
Return the prefix found so far
It's a general aptitude test with 60 questions in 1hr
Gave a topic to discuss
Reverse a string by iterating through the characters and swapping them
Create a function that takes a string as input
Initialize two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move them towards the center until they meet
What people are saying about Tech Mahindra
Tech Mahindra interview questions for designations
I applied via Approached by Company and was interviewed in May 2024. There were 3 interview rounds.
I was asked to write a program to reverse a string using Java.
As a Senior Software Engineer, your roles and responsibilities include leading development projects, mentoring junior team members, and ensuring high-quality code.
Leading development projects from conception to completion
Mentoring and providing guidance to junior team members
Ensuring the quality of code through code reviews and testing
Collaborating with cross-functional teams to deliver software solutions
Staying update
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example of compile-time polymorphism: function overloading in C++.
Example of runtime polymorphism: method overriding in Java.
Regression testing is testing the entire application after changes, while retesting is testing a specific bug fix.
Regression testing involves testing the entire application to ensure that new code changes have not negatively impacted existing functionality.
Retesting involves testing a specific bug fix to ensure that the issue has been resolved.
Regression testing is typically done after every code change, while retestin...
Pega testing is a software testing process specifically designed for applications built on the Pega platform.
Pega testing involves testing the functionality, performance, and security of applications developed using Pega technology.
It includes testing various components such as user interfaces, business logic, integrations, and workflows.
Test cases are designed to validate the behavior of Pega applications based on bus...
Automation framework is a set of guidelines, best practices, tools, and libraries used to automate testing of software applications.
Provides structure and guidelines for automated testing
Helps in organizing test scripts and test data
Supports reusability of code and components
Facilitates easy maintenance and scalability
Examples: Selenium WebDriver, TestNG, Cucumber
Get interview-ready with Top Tech Mahindra Interview Questions
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Sql and pyhton moderate level questions
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
CAN FD stands for Controller Area Network Flexible Data Rate, it is required for high-speed communication in automotive and industrial applications.
CAN FD allows for higher data rates compared to traditional CAN networks
It is necessary for transmitting large amounts of data quickly and efficiently
Used in applications where real-time communication and reliability are crucial, such as automotive ECUs
Example: CAN FD is us...
LKA stands for Lane Keep Assist, while LDW stands for Lane Departure Warning.
LKA helps keep the vehicle centered in its lane by providing steering input if necessary.
LDW alerts the driver if the vehicle is unintentionally drifting out of its lane.
LKA is more proactive in assisting the driver with lane keeping, while LDW is more of a warning system.
Some vehicles may have both LKA and LDW features integrated for enhanced
ASPICE (Automotive SPICE) model is a framework for software development in the automotive industry. ITR (Integrated Test Requirement) is a part of ASPICE focusing on testing requirements.
ASPICE is a framework for software development in the automotive industry
ITR is a part of ASPICE that focuses on testing requirements
ASPICE helps in ensuring high-quality software development in automotive projects
Writing test cases for ADAS ECU involves verifying functionality and performance of the electronic control unit.
Identify the input and output requirements of the ADAS ECU
Create test cases to cover different scenarios such as normal operation, edge cases, and failure modes
Include test cases for communication protocols, sensor inputs, and system responses
Verify the integration of ADAS ECU with other components in the sys...
Calculate average of integer arrays using Java 8 streams
Use IntStream to convert the array to a stream of integers
Use average() method to calculate the average of the integers
Collect the result using getAsDouble() method
Idempotency is the property of an operation where applying it multiple times has the same effect as applying it once.
Idempotency ensures that repeating the same operation multiple times will not change the result.
Examples include GET requests in RESTful APIs, where multiple identical requests will return the same response.
Idempotency is important in distributed systems to prevent duplicate operations.
PUT and DELETE req
CSRF token in CodeIgniter is a security feature to prevent cross-site request forgery attacks.
CSRF protection is enabled by default in CodeIgniter.
To generate a CSRF token, use the form_open() function in views.
To validate the CSRF token, use the form_validation library in controllers.
XXE stands for XML External Entity and is a type of attack that exploits vulnerabilities in XML parsers.
XXE attacks involve injecting malicious XML entities into an XML document to exploit vulnerabilities in the parser.
These attacks can lead to sensitive data disclosure, server-side request forgery, and remote code execution.
Preventing XXE attacks involves validating and sanitizing input, disabling external entity proc
SOAP is a protocol, RESTful is an architectural style for APIs.
SOAP is a protocol with strict standards for communication
RESTful APIs are more flexible and use standard HTTP methods
SOAP is XML-based, RESTful APIs can use various formats like JSON
SOAP has built-in security features, RESTful APIs rely on external mechanisms
SOAP is more suitable for complex operations, RESTful APIs are simpler and more lightweight
3 Interview rounds
based on 1.7k reviews
Rating in categories
Software Engineer
26.2k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
21.2k
salaries
| ₹5.5 L/yr - ₹22.6 L/yr |
Technical Lead
11.5k
salaries
| ₹9.4 L/yr - ₹37 L/yr |
Associate Software Engineer
5.2k
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Team Lead
4.9k
salaries
| ₹5.1 L/yr - ₹16.8 L/yr |
Infosys
Cognizant
Accenture
Wipro