Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Mahindra & Mahindra Team. If you also belong to the team, you can get access from here

Mahindra & Mahindra Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Mahindra & Mahindra Data Science Intern Interview Questions and Answers

Updated 1 Sep 2024

10 Interview questions

A Data Science Intern was asked 9mo ago
Q. Write an SQL query to find customers who have ordered all products from all categories.
Ans. 

Use a SQL query to find customers who have ordered all products from all categories.

  • Join the Customers, Orders, and Products tables

  • Group by customer and count the distinct products ordered

  • Filter for customers who have ordered the total number of products available in each category

A Data Science Intern was asked 9mo ago
Q. Given a table of students and their marks in 11th and 12th grade, find the students who scored more than the average marks in both grades.
Ans. 

Find students who scored more than avg marks in both 11th and 12th grades.

  • Calculate the average marks for each student in 11th and 12th grades.

  • Compare each student's marks with the respective average marks to find those who scored higher in both grades.

Data Science Intern Interview Questions Asked at Other Companies

Q1. Rotate Matrix by 90 Degrees Problem Statement Given a square matr ... read more
Q2. Given an array (duplicates allowed), how do you find the second h ... read more
asked in Altimetrik
Q3. What is gradient descent, why does gradient descent follow tan an ... read more
asked in Uber
Q4. What new feature would you like to add to Uber?
asked in Siemens
Q5. How do you implement a machine learning algorithm based on a give ... read more
A Data Science Intern was asked 9mo ago
Q. What is the Gini coefficient?
Ans. 

Gini coefficient is a measure of statistical dispersion intended to represent the income or wealth distribution of a nation's residents.

  • Gini coefficient ranges from 0 to 1, where 0 represents perfect equality and 1 represents perfect inequality.

  • A Gini coefficient of 0.4 is considered moderate inequality, while 0.6 or higher is considered high inequality.

  • It is commonly used in economics to measure income inequality...

A Data Science Intern was asked 9mo ago
Q. Write a Python function to generate all subsets of a given list.
Ans. 

Generate all possible subsets of a given list in Python.

  • Use itertools.combinations to generate all possible combinations of the list elements.

  • Convert the combinations to lists and store them in a new list to get all subsets.

What people are saying about Mahindra & Mahindra

View All
tyrin24
Verified Icon
1w
works at
Mahindra & Mahindra
Offer Letter Not as per Expectation
I am working in a reputed mnc OEM, got a job offer from a good company but not OEM, also the salary hike is 30% while I was expecting around 50%. What are your thoughts on this?
Got a question about Mahindra & Mahindra?
Ask anonymously on communities.
A Data Science Intern was asked 9mo ago
Q. What is the importance of feature engineering?
Ans. 

Feature engineering is crucial in data science as it involves selecting, transforming, and creating new features to improve model performance.

  • Feature engineering helps in improving model accuracy by providing relevant and meaningful input variables.

  • It involves techniques like one-hot encoding, scaling, normalization, and creating interaction terms.

  • Feature engineering can help in reducing overfitting and improving ...

A Data Science Intern was asked 9mo ago
Q. What is a cost function?
Ans. 

Cost function is a mathematical function that measures the error between predicted values and actual values in a machine learning model.

  • Cost function helps in optimizing the parameters of a model to minimize the error.

  • Common cost functions include Mean Squared Error (MSE) and Cross Entropy Loss.

  • It is used in training machine learning models through techniques like gradient descent.

  • The goal is to find the parameter...

A Data Science Intern was asked 9mo ago
Q. What is entropy?
Ans. 

Entropy is a measure of disorder or randomness in a system.

  • Entropy is used in information theory to quantify the amount of uncertainty involved in predicting the value of a random variable.

  • It is often used in machine learning to measure the impurity or disorder in a dataset.

  • In thermodynamics, entropy is a measure of the amount of energy in a physical system that is not available to do work.

Are these interview questions helpful?
A Data Science Intern was asked 9mo ago
Q. What will happen if linear regression is used for classification?
Ans. 

Using linear regression for classification can lead to inaccurate predictions and unreliable results.

  • Linear regression assumes a continuous output, making it unsuitable for discrete classification tasks.

  • It may not handle outliers well, leading to incorrect classification boundaries.

  • The predicted values may fall outside the 0-1 range for binary classification.

  • Logistic regression is a more appropriate choice for cla...

A Data Science Intern was asked 9mo ago
Q. Given a table containing student name, class, 11th marks, and 12th marks, write an SQL query to determine whether class 11 marks or class 12 marks are greater.
Ans. 

Analyze student marks to determine if Class 11 or Class 12 marks are higher.

  • Compare the '11th marks' and '12th marks' columns for each student.

  • Use SQL query: SELECT student_name, CASE WHEN class_11_marks > class_12_marks THEN 'Class 11' ELSE 'Class 12' END AS higher_class FROM students;

  • Example: If 'John' has 85 in Class 11 and 90 in Class 12, the result will show 'Class 12' as higher.

  • Aggregate results to see ho...

A Data Science Intern was asked 9mo ago
Q. What is GAN.Have you worked with it.
Ans. 

GAN stands for Generative Adversarial Network, a type of neural network used for generating new data.

  • Consists of two neural networks - generator and discriminator

  • Generator creates new data samples while discriminator tries to distinguish between real and generated data

  • Used in image generation, text generation, and other creative applications

Mahindra & Mahindra Data Science Intern Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Mar 2024.

Round 1 - Coding Test 

45 mins 15 min mcq data science and 30 mins 1 dsa problem

Round 2 - Technical 

(5 Questions)

  • Q1. Python - All subsets of a list.
  • Ans. 

    Generate all possible subsets of a given list in Python.

    • Use itertools.combinations to generate all possible combinations of the list elements.

    • Convert the combinations to lists and store them in a new list to get all subsets.

  • Answered by AI
  • Q2. Sql query - Customers who have ordered all products from all categories.
  • Ans. 

    Use a SQL query to find customers who have ordered all products from all categories.

    • Join the Customers, Orders, and Products tables

    • Group by customer and count the distinct products ordered

    • Filter for customers who have ordered the total number of products available in each category

  • Answered by AI
  • Q3. Importance of feature engineering.
  • Ans. 

    Feature engineering is crucial in data science as it involves selecting, transforming, and creating new features to improve model performance.

    • Feature engineering helps in improving model accuracy by providing relevant and meaningful input variables.

    • It involves techniques like one-hot encoding, scaling, normalization, and creating interaction terms.

    • Feature engineering can help in reducing overfitting and improving model...

  • Answered by AI
  • Q4. Questions on project.
  • Q5. What is GAN.Have you worked with it.
  • Ans. 

    GAN stands for Generative Adversarial Network, a type of neural network used for generating new data.

    • Consists of two neural networks - generator and discriminator

    • Generator creates new data samples while discriminator tries to distinguish between real and generated data

    • Used in image generation, text generation, and other creative applications

  • Answered by AI
Round 3 - Technical 

(7 Questions)

  • Q1. Discussion on project.Demo of project.
  • Q2. Analysis sql query - whether class 11 marks or class 12 marks is greater., table given which contains student name,class,11th marks,12th marks.
  • Ans. 

    Analyze student marks to determine if Class 11 or Class 12 marks are higher.

    • Compare the '11th marks' and '12th marks' columns for each student.

    • Use SQL query: SELECT student_name, CASE WHEN class_11_marks > class_12_marks THEN 'Class 11' ELSE 'Class 12' END AS higher_class FROM students;

    • Example: If 'John' has 85 in Class 11 and 90 in Class 12, the result will show 'Class 12' as higher.

    • Aggregate results to see how man...

  • Answered by AI
  • Q3. Similar table. Find students who scored more than avg marks of both 11th and 12th.
  • Ans. 

    Find students who scored more than avg marks in both 11th and 12th grades.

    • Calculate the average marks for each student in 11th and 12th grades.

    • Compare each student's marks with the respective average marks to find those who scored higher in both grades.

  • Answered by AI
  • Q4. What is Cost function.
  • Ans. 

    Cost function is a mathematical function that measures the error between predicted values and actual values in a machine learning model.

    • Cost function helps in optimizing the parameters of a model to minimize the error.

    • Common cost functions include Mean Squared Error (MSE) and Cross Entropy Loss.

    • It is used in training machine learning models through techniques like gradient descent.

    • The goal is to find the parameters tha...

  • Answered by AI
  • Q5. What is entropy.
  • Ans. 

    Entropy is a measure of disorder or randomness in a system.

    • Entropy is used in information theory to quantify the amount of uncertainty involved in predicting the value of a random variable.

    • It is often used in machine learning to measure the impurity or disorder in a dataset.

    • In thermodynamics, entropy is a measure of the amount of energy in a physical system that is not available to do work.

  • Answered by AI
  • Q6. What is ginni coefficient.
  • Ans. 

    Gini coefficient is a measure of statistical dispersion intended to represent the income or wealth distribution of a nation's residents.

    • Gini coefficient ranges from 0 to 1, where 0 represents perfect equality and 1 represents perfect inequality.

    • A Gini coefficient of 0.4 is considered moderate inequality, while 0.6 or higher is considered high inequality.

    • It is commonly used in economics to measure income inequality with...

  • Answered by AI
  • Q7. What will happen if linear regression is used for classification
  • Ans. 

    Using linear regression for classification can lead to inaccurate predictions and unreliable results.

    • Linear regression assumes a continuous output, making it unsuitable for discrete classification tasks.

    • It may not handle outliers well, leading to incorrect classification boundaries.

    • The predicted values may fall outside the 0-1 range for binary classification.

    • Logistic regression is a more appropriate choice for classifi...

  • Answered by AI
Round 4 - One-on-one 

(2 Questions)

  • Q1. Pair sum problem in python.Discussion on space time complexity.
  • Q2. Discussion on project.What algorithms used and why.

Skills evaluated in this interview

Interview questions from similar companies

Interview Questionnaire 

1 Question

  • Q1.  Why do you want to join Tata?
  • Ans. Sir,everybody wants to join in a reputed company. and i know that tata steel is a reputed company. i always want to that company where i can utilize my knowledge and skills and to acquire knowledge from my seniors. this organisation ,where i can get it..
  • Answered by Mk Bittu

Data Science Intern Interview Questions Asked at Other Companies

Q1. Rotate Matrix by 90 Degrees Problem Statement Given a square matr ... read more
Q2. Given an array (duplicates allowed), how do you find the second h ... read more
asked in Altimetrik
Q3. What is gradient descent, why does gradient descent follow tan an ... read more
asked in Uber
Q4. What new feature would you like to add to Uber?
asked in Siemens
Q5. How do you implement a machine learning algorithm based on a give ... read more

I applied via Campus Placement and was interviewed before Nov 2020. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. How the diesel engine works?
  • Ans. 

    Diesel engine works by compressing air in the cylinder and injecting fuel at the right time to ignite the mixture.

    • Air is compressed in the cylinder by the piston

    • Fuel is injected into the cylinder at the right time

    • The heat generated by the compressed air ignites the fuel

    • The expanding gases push the piston down, creating power

    • Diesel engines are more efficient than gasoline engines

  • Answered by AI
  • Q2. What do you mean by cc
  • Ans. 

    CC stands for carbon copy, a term used in email communication to indicate additional recipients of a message.

    • CC is used to send a copy of an email to someone other than the primary recipient

    • CC recipients are visible to all other recipients of the email

    • CC is often used for informational purposes or to keep others in the loop

    • CC can also be used to show transparency in communication

  • Answered by AI
  • Q3. What is the compression ratio
  • Ans. 

    Compression ratio is the ratio of the volume of gas in a cylinder when the piston is at the bottom of its stroke to the volume of gas when the piston is at the top of its stroke.

    • It is a measure of how much the engine compresses the air/fuel mixture before ignition.

    • Higher compression ratios can lead to better fuel efficiency and more power.

    • Compression ratio is calculated by dividing the volume of the cylinder at bottom ...

  • Answered by AI
  • Q4. What is swept volume
  • Ans. 

    Swept volume is the volume of space swept by a piston in an engine cylinder during one stroke.

    • It is the volume of the combustion chamber when the piston is at the bottom of its stroke subtracted from the volume of the combustion chamber when the piston is at the top of its stroke.

    • It is used to calculate the engine displacement.

    • For example, a four-cylinder engine with a 500cc swept volume has a total displacement of 2,0...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Its good there are two types of interview techanical and relate to personality development which is understanding

Skills evaluated in this interview

I applied via Referral and was interviewed before Sep 2021. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - HR 

(2 Questions)

  • Q1. Questions related to your life and society to check your presence of mind and awareness of the world.
  • Q2. Question from ic engines,about their working and processes involved.

Interview Preparation Tips

Topics to prepare for Tata Motors Associate interview:
  • Automobile,ic engines,excel.
Interview preparation tips for other job seekers - Be yourself,prepare well and hope for the best...

What people are saying about Mahindra & Mahindra

View All
tyrin24
Verified Icon
1w
works at
Mahindra & Mahindra
Offer Letter Not as per Expectation
I am working in a reputed mnc OEM, got a job offer from a good company but not OEM, also the salary hike is 30% while I was expecting around 50%. What are your thoughts on this?
Got a question about Mahindra & Mahindra?
Ask anonymously on communities.

I applied via Referral and was interviewed before Nov 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Education, experience and ambition

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and honest in the interview

I applied via Walk-in and was interviewed before Mar 2021. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - HR 

(1 Question)

  • Q1. Why should we hire you?

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident , trust on yourself .
In every interview your confidence is most important

Interview Questionnaire 

1 Question

  • Q1. Related to accounts

Interview Preparation Tips

Interview preparation tips for other job seekers - Basic accounts knowledge required
Are these interview questions helpful?

I applied via LinkedIn and was interviewed in May 2021. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Tell me about yourself
  • Q2. Answer truly. Don’t try to talk filmy which is not encouraged at all

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before Dec 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Group Discussion 

First off all, we ought to have some sortoff automobile and production knowledge because they will definitely check our technical skill secondly, listening skill and fluency plays significant factor

Round 3 - HR 

(2 Questions)

  • Q1. It was more like technical round moreover you have to be clear in purpose of your life based upon they are recruiting
  • Q2. Define tqbm ? What is bom?
  • Ans. 

    TQBM stands for 'Tudo Que Bem' which means 'Everything is fine' in Portuguese. BOM means 'good' in Portuguese.

    • TQBM is a common phrase used in Brazil to ask if everything is okay.

    • BOM is often used as a response to TQBM to indicate that everything is good.

    • Both TQBM and BOM are informal and commonly used in everyday conversations.

    • Example: A friend asks 'TQBM?' and you respond 'BOM, e voce?' which means 'Everything is fine...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Believe in yourself and consistency plays major part always give your 100%
Round 1 - One-on-one 

(1 Question)

  • Q1. Be strong in your basics

Interview Preparation Tips

Interview preparation tips for other job seekers - Know about yourself and your profile very well before attending any interview

Mahindra & Mahindra Interview FAQs

How many rounds are there in Mahindra & Mahindra Data Science Intern interview?
Mahindra & Mahindra interview process usually has 4 rounds. The most common rounds in the Mahindra & Mahindra interview process are Technical, Coding Test and One-on-one Round.
What are the top questions asked in Mahindra & Mahindra Data Science Intern interview?

Some of the top questions asked at the Mahindra & Mahindra Data Science Intern interview -

  1. Analysis sql query - whether class 11 marks or class 12 marks is greater., tabl...read more
  2. similar table. Find students who scored more than avg marks of both 11th and 12...read more
  3. Sql query - Customers who have ordered all products from all categori...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

Tata Motors Interview Questions
4.2
 • 1.1k Interviews
Maruti Suzuki Interview Questions
4.2
 • 644 Interviews
Hero MotoCorp Interview Questions
4.1
 • 368 Interviews
TVS Motor Interview Questions
3.9
 • 348 Interviews
Bajaj Auto Interview Questions
3.8
 • 294 Interviews
Ashok Leyland Interview Questions
4.1
 • 269 Interviews
Ford Motor Interview Questions
4.3
 • 161 Interviews
Honda Interview Questions
4.1
 • 105 Interviews
View all
Mahindra & Mahindra Data Science Intern Salary
based on 7 salaries
₹1 L/yr - ₹8 L/yr
33% more than the average Data Science Intern Salary in India
View more details
Deputy Manager
2.9k salaries
unlock blur

₹9.7 L/yr - ₹16.5 L/yr

Assistant Manager
2.2k salaries
unlock blur

₹4.3 L/yr - ₹13.5 L/yr

Manager
1.5k salaries
unlock blur

₹14.7 L/yr - ₹25 L/yr

Senior Engineer
1k salaries
unlock blur

₹6.5 L/yr - ₹18 L/yr

Team Lead
844 salaries
unlock blur

₹1.5 L/yr - ₹9.3 L/yr

Explore more salaries
Compare Mahindra & Mahindra with

Tata Motors

4.2
Compare

Maruti Suzuki

4.2
Compare

Ashok Leyland

4.1
Compare

Hero MotoCorp

4.1
Compare
write
Share an Interview