9/12/25, 1:56 PM Python for Data Science - - Unit 6 - Week 3
Answer Submitted.
X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
[email protected]
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Python for Data Science (course)
If already
registered, click
to check your
Week 3: Practice Assignment 3
payment status Assignment not submitted
Note : This assignment is only for practice purpose and it will not be counted towards the
Final score
Course
outline 1) Which of the following can be inferred from scatter plot of ‘mpg’ (Miles per 1 point
gallon) vs ‘wt’ (Weight of car) from the dataset mtcars.csv
About NPTEL (https://drive.google.com/file/d/1Ua21bZfbtN4DUw4fK9XCF3AJmcIqSn4w/view?
() usp=sharing)?
As weight of the car increases, the mpg decreases
How does an
NPTEL online As weight of the car increases, the mpg increases
course work? There is no relation between weight of the car and mpg
()
When weight increases, mpg increases exponentially
Week 0 () No, the answer is incorrect.
Score: 0
Accepted Answers:
Week 1 ()
As weight of the car increases, the mpg decreases
Week 2 ()
2) Plot a boxplot for “price” vs “cut” from the dataset “diamond.csv 1 point
(https://drive.google.com/file/d/1oSRxlHG8NcK9jNgIn4Q1Y5GGi6Jm5asX/view?
Week 3 ()
usp=sharing)”. Which of the categories under “cut” have the highest median price?
Reading data
Good
(unit?
unit=41&lesson Ver Good
=42) Premium
https://onlinecourses.nptel.ac.in/noc25_cs104/unit?unit=41&assessment=170 1/3
9/12/25, 1:56 PM Python for Data Science - - Unit 6 - Week 3
Pandas Fair
Dataframes I
No, the answer is incorrect.
(unit?
Score: 0
unit=41&lesson
Accepted Answers:
=43)
Fair
Pandas
3) In the churn.csv (https://drive.google.com/open? 1 point
Dataframes II
id=14eJFzce4nMREzCsd4tCTewnFdz6GZAD4) dataframe, what are the total no. of missing
(unit?
unit=41&lesson values for the variable TotalCharges?
=44)
10
Pandas
23
Dataframes III
(unit? 15
unit=41&lesson 5
=45)
No, the answer is incorrect.
Control Score: 0
structures & Accepted Answers:
Functions 15
(unit?
unit=41&lesson 4) The command used for line plot from the package Matplotlib? 1 point
=46)
plot( )
Exploratory
data analysis line( )
(unit? join( )
unit=41&lesson
plt( )
=47)
Yes, the answer is correct.
Data Score: 1
Visualization- Accepted Answers:
Part I (unit? plot( )
unit=41&lesson
=48)
5) The probability of two different events occurring at the same time is known as 1 point
Data
Visualization- Marginal probability
Part II (unit? Conditional probability
unit=41&lesson
Joint probability
=49)
Marginal and Joint probability
Dealing with
missing data No, the answer is incorrect.
Score: 0
(unit?
unit=41&lesson
Accepted Answers:
=50)
Joint probability
Datasets (unit? Check Answers and Submit
unit=41&lesson
=51) Your score is: 1/5
Week 3:
Lecture slides
(unit?
https://onlinecourses.nptel.ac.in/noc25_cs104/unit?unit=41&assessment=170 2/3
9/12/25, 1:56 PM Python for Data Science - - Unit 6 - Week 3
unit=41&lesson
=52)
Week 3 - FAQs
(unit?
unit=41&lesson
=53)
Week 3
Feedback Form
: Python for
Data Science!!
(unit?
unit=41&lesson
=115)
Quiz: Week 3 :
Assignment 3
(assessment?
name=169)
Practice:
Week 3:
Practice
Assignment 3
(assessment?
name=170)
Week 4 ()
Supporting
material for
Week 4 ()
Download
Videos ()
Problem
Solving
Session -
July 2025 ()
https://onlinecourses.nptel.ac.in/noc25_cs104/unit?unit=41&assessment=170 3/3