i
Tech Mahindra
Filter interviews by
Postman is a popular API development tool used for testing, documenting, and sharing APIs.
Postman allows developers to send HTTP requests and receive responses from APIs
It provides a user-friendly interface for creating and managing API requests
Postman also offers features like automated testing, mock servers, and collaboration tools
It supports various authentication methods and formats like JSON and XML
Authentication is the process of verifying the identity of a user or system.
Authentication ensures that only authorized users have access to a system or application.
It involves the use of credentials such as usernames and passwords, or other methods like biometrics.
Examples of authentication include logging into a website or accessing a secure network.
Authentication is often followed by authorization, which determines
Data can be sent to the database using SQL queries or an ORM like Django's ORM.
Use SQL queries to insert, update or delete data in the database.
Use an ORM like Django's ORM to interact with the database using Python code.
Ensure that the data being sent is properly formatted and validated to prevent errors or security issues.
A global variable is a variable that can be accessed from any part of the program.
Global variables are declared outside of any function or class.
They can be accessed and modified from any part of the program.
Using global variables can make the code harder to read and debug.
Example: x = 10 (declared outside of any function or class)
Python
Maths
I applied via Recruitment Consultant and was interviewed in May 2019. There were 3 interview rounds.
What people are saying about Tech Mahindra
I applied via Recruitment Consultant and was interviewed in May 2019. There were 3 interview rounds.
Tech Mahindra interview questions for designations
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
List is mutable, tuple is immutable in Python.
List uses square brackets [], tuple uses parentheses ().
List elements can be changed, added, or removed, tuple elements cannot be changed.
Lists are used for collections of items that may need to be modified, tuples are used for fixed collections of items.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
Namespace is a way to organize variables and functions in a program to avoid naming conflicts.
Namespace helps in avoiding naming conflicts by providing a unique space for each identifier.
Types of namespaces include global namespace, local namespace, built-in namespace, and module namespace.
Example: In Python, each module has its own namespace where all the variables and functions defined in that module reside.
Multiple inheritance in Python allows a class to inherit attributes and methods from more than one parent class.
Python supports multiple inheritance by allowing a class to inherit from multiple parent classes.
The order of parent classes in the inheritance list matters, as methods are searched for in the order they appear.
Diamond problem can occur in multiple inheritance when two parent classes have a common ancestor cl...
Lambda function is an anonymous function defined using the lambda keyword in Python.
Lambda functions are used for creating small, one-time use functions without a name.
Syntax: lambda arguments: expression
Example: double = lambda x: x * 2
Avg aptitude questions
2 easy coding questions
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
Tuples in Python are immutable sequences of elements, similar to lists but cannot be changed once created.
Tuples are created using parentheses ()
Elements in a tuple can be of different data types
Tuples are immutable, meaning their elements cannot be changed once created
Tuples can be used as keys in dictionaries
Dict comprehension is a concise way to create dictionaries in Python using a single line of code.
Dict comprehension uses curly braces {} to create a dictionary with key-value pairs.
It can include conditions and loops to filter or modify the elements being added to the dictionary.
Example: {key: value for key, value in iterable if condition}
based on 7 reviews
Rating in categories
Software Engineer
26.4k
salaries
| ₹2 L/yr - ₹9.2 L/yr |
Senior Software Engineer
21.4k
salaries
| ₹5.5 L/yr - ₹23 L/yr |
Technical Lead
11.7k
salaries
| ₹9.5 L/yr - ₹38 L/yr |
Associate Software Engineer
5.5k
salaries
| ₹1.8 L/yr - ₹8.2 L/yr |
Team Lead
5k
salaries
| ₹5.2 L/yr - ₹17 L/yr |
Infosys
Cognizant
Accenture
Wipro