Tech Mahindra interview questions
2 min readDec 18, 2021
Python interview questions in Tech Mahindra
This is a part of my job interviews series. This post is originally posted at https://blog.soumendrak.com/tech-mahindra-interview-questions
Background
- Years of Experience: 4 years
- Relevant Python experience: 1.5 years
- Year: February 2016
- Campus: Dairy circle, Bengaluru (now closed permanently)
- Position: Python developer
- Company: Tech Mahindra
Interview discussions
I have mentioned the main questions and the ladder questions around that question under it.
First round
- What is Class?
- Entities of an application under development is called objects.
- In Python, every entity is an object.
- Class defines objects.
- Method defines the behaviour of the class.
2. What is inheritance?
- Inheritance is the property of OOP where
- A class extends/inherits the methods and properties of another base class
- It maintains the hierarchy