You are on page 1of 10

16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

Go Back to Python for Data Science

 Course Content

PDS-Quiz on Visualization
Type : Graded Quiz
Attempts : 1/1

Questions : 10

Time : 45m
Due Date : Jul 17, 11:59 PM

Your Marks : 1/10

Instructions

Attempt History

Attempt #1
Marks: 1
Jul 16, 10:53 PM

Q No: 1 Incorrect Answer

Marks: 0/1

Run the below code to create two histograms where the number of bins are 10 & 700.
Analyse the histogram & choose the most appropriate option which matches.

sns.histplot(data=df, x='Price', bins=10, kde=True);

sns.histplot(data=df, x='Price', bins=700, kde=True);

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 1/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

      

None of the above mentioned is correct.

KDE plot is visualizing the distribution of data over discrete intervals

KDE plot for both the histograms vary as it depends on frequency Correct Option
count.

The number of bins doesn’t change the scale of KDE plot. You Selected

Q No: 2 Incorrect Answer

Marks: 0/1
Plot a boxplot to compare the type of books with price, where Type is on x-axis and Price on
y-axis. Analyse and name the types which have outliers.

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 2/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

Hardcover, Kindle Edition You Selected

There are no outliers

ebook, Kindle Edition

Hardcover and Paperback Correct Option

Q No: 3 Incorrect Answer

Marks: 0/1
Which function is most suited to calculate the number of observations for the type of books.
Also, name the type of book which is most available?

sns.stripplot(data=df, x='Type'); Hardcover

sns.countplot(data=df, x='Type'); Hardcover

sns.countplot(data=df, x='Type'); Paperback Correct Option

All of the above You Selected

Q No: 4 Incorrect Answer

Marks: 0/1
Choose the right option which displays Violinplot & median for the variable ‘Rating’.

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 3/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

You Selected

Correct Option
 

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 4/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning
 

Q No: 5 Correct Answer

Marks: 1/1

Choose the correct code to get the Output shown below:

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 5/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

sns.pairplot(data=df[['Number_Of_Pages' , ‘Price’, ‘Reviews’ , ‘Rating’]])

sns.pairplot(data=df[['Rating','Reviews','Price','Number_Of_Pages']]) You Selected

sns.pairplot(data=df[[Rating,Reviews,Price,Number_Of_Pages]])

sns.pairplot(data=df[[Number_Of_Pages , Price, Reviews , Rating]])

Q No: 6 Incorrect Answer

Marks: 0/1

This question contains two statements Statement 1 and Statement 2 . Of the four choices
given below, choose the one that best describes both the statements.

Statement 1:  A strip plot is basically a scatter plot that differentiates different categories.

Statement 2: Strip plots are considered a good alternative to a box plot or a violin plot for
comparing data distributions when we have fewer data points.

Statement 1 is True but Statement 2 is false

Both the statements are false. You Selected

Both the statements are true Correct Option

Statement 1 is False but Statement 2 is True

Q No: 7 Incorrect Answer

Marks: 0/1

Choose the most appropriate answer based upon the strip plot shown below:

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 6/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

CSR Score: Corporate Social Responsibility Score of South Asia & West Location

CSR adoption is not as advanced in the South Asia location as Correct Option
compared to West location

CSR adoption is not as advanced in the West location as compared to South Asia
location

CSR adoption is nearly equal in South Asia & West Location

None of the above You Selected

As most of CSR scores for South Asian are between 50 to 150, however for West it is
more than 100 and maximum scores are between 150 to 200

Q No: 8 Incorrect Answer

Marks: 0/1

What can be inferred from the Swarmplots between price & clarity. This question contains
two statements: Statement 1 and Statement 2 . Of the four  choices given below, choose the
one that best describes both the statements.

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 7/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

Statement 1: We can say that there are only a few “C7” clarity diamonds

Statement 2: Most of the diamonds have "C3" & "C6" clarity 

Statement 1 is True but Statement 2 is false You Selected

Both the statements are true Correct Option

Statement 2 is True but Statement 1 is False

Both the statements are False

Q No: 9 Incorrect Answer

Marks: 0/1

What does the below plot tell about correlation between the Rating & Reviews?

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 8/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

There is negative correlation between the variables

There is no correlation between the variables Correct Option

There is positive correlation between the variables

None of the above You Selected

Q No: 10 Incorrect Answer

Marks: 0/1

What can you infer from the lineplot shown below:

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 9/10
16/07/2022, 22:55 PDS-Quiz on Visualization: Python for Data Science - Great Learning

All options are correct Correct Option

It is not suitable to use lineplot in this case as it looks messy

Only ebook has a rating of 5. You Selected

the maximum books price is below 100.

Comments:

+ Add comments

Previous Next

Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.

© 2022 All rights reserved

Privacy Terms of service Help

https://olympus.mygreatlearning.com/courses/80289/quizzes/429399 10/10

You might also like