You have a request ? Contact Us Join Us

Data Visualization with Python | Coursera Quiz Answers

Answer on Coursera: Data Visualization with Python. IBM Data Analyst Professional Certificate.
Estimated read time: 19 min
Coursera: Data Visualization with Python Answers
Data Visualization with Python | Coursera

Graded Quiz: Introduction to Data Visualization Tools 

1. Matplotlib was created by:
  • John Hunter, an American neurobiologist
  • James Gosling, a Canadian computer scientist
  • Cleve Moler, an American mathematician and computer programmer
  • Daniel Johnson, a German physicist
2. Using the inline backend, at what point can you not modify a figure?
  • After it is created
  • Before it is rendered
  • After it is rendered
  • After it is coded
3. Using Matplotlib magic functions which code starts the command?
  • %matplotlib inline
  • $matplotlib outline
  • %matplotlib
  • %matplotlib notebook
4. True or False. A line plot displays information as a series of data points connected by straight lines.
  • True
  • False
5. True or False. Matplotlibs three main layers are: Backend, Artist, and Scripting.
  • False
  • True 
6. What is Jupyter Notebook?
  • A Python library with a number of different backends available
  • It is a tool used for creating conventional visualization tools using the plot function
  • An open-source web application that allows you to create and share documents that contain live code, visualizations, and some explanatory text as well
  • A well-established data visualization library that can be integrated into different environments
7. Matplotlib was initially developed as what kind of tool?
  • Chart creation
  • Graphing
  • Data analyzer
  • Visualization
8. True or False. The backend layers three built-in interface classes are FigureCanvas, Renderer, and Event.
  • False
  • True 
9. True or False. Line plots capture trends and changes over time, allowing us to see patterns and fluctuations.
  • False
  • True
10. Which of the following plots is ideal for comparing different categories or groups?
  • Scatter plots
  • Line plots
  • Bar plots
  • Pie plots

Graded Quiz: Basic and Specialized Visualization Tools

1. What does a scatter plot display?
  • Values pertaining to typically two variables against each other.
  • Graphs 
  • Data
  • Numbers
2. The ______ module offers a convenient way to create and customize plots quickly?
  • Pyplot
  • Numpy
  • Folium
  • Plotly
3. Fill in the blank. A pie chart is a circular statistical graphic, divided into _______, to illustrate numerical proportion.
  • Segments 
  • Plots
  • Graphs
  • Columns
4. True or False. A box plot has five primary dimensions to statistically represent the distribution of a given data?
  • True 
  • False
5. Area plots are like a line plot but with the area below the line filled with color to emphasize the cumulative _______ of the variables.
  • Magnitude
  • Longitude 
  • Significance
  • Latitude 
6.
In the above chart, what do the letters in the box plot above represent?
  • A = Median, B = Third Quartile, C = Mean, D = Inter Quartile Range, E = Lower Quartile, and F = Outliers
  • A = Median, B = Third Quartile, C = First Quartile, D = Inter Quartile Range, E = Minimum, and F = Outliers
  • A = Mean, B = Third Quartile, C = First Quartile, D = Inter Quartile Range, E = Minimum, and F = Maximum
  • A = Mean, B = Upper Mean Quartile, C = Lower Mean Quartile, D = Inter Quartile Range, E = Minimum, and F = Outliers
7. What is the correct combination of function and parameter to create a box plot in Matplotlib?
  • Function = plot, and Parameter = type with value = "box"
  • Function = boxplot, and Parameter = type with value = "plot"
  • Function = plot, and Parameter = kind with value = "boxplot"
  • Function = plot, and Parameter = kind with value = "box"
8. True or False. The first step when creating a histogram in matplotlib is to import matplotlib as mpl and its scripting interface as plt.
  • False
  • True
9. True or False. The process of creating a scatter plot involves importing Matplotlib to visualize a large set of data.
  • True
  • False
10. True or False. A bar chart is also known as a Bar graph.
  • False
  • True

Graded Quiz: Advanced Visualizations and Geospatial Data

1. Although Seaborn is another data visualization library, it is based on _______.
  • NumPy
  • SciPy
  • Matplotlib
  • Pandas
2. The default map style in Folium is the ___________.
  • Stamen Terrain
  • Open Street Map
  • Arial
  • Stamen Toner 
3. What is the code for setting the initial zoom level in Folium? 
  • zoom-start parameter
  • {zoom_start} parameter
  • (zoom_start) parameter
  • zoom_start=parameter
4. What parameter specify the latitude and longitude coordinates of the map’s center point?
  • Destination
  • Location
  • Navigation
  • Geographic
5. __________ represent specific locations or points of interest, providing additional information when clicked.
  • Navigation
  • Markers
  • Locations
  • Zoom function
6. What type of map does a Choropleth map represent?
  • Stamen Terrain
  • Open Street Map
  • Stamen Toner
  • Thematic
7. Folium is a _______ library used for creating interactive maps and visualizations.
  • Python
  • Data
  • Folium
  • Choropleth
8. True or False. To create a choropleth map of a region of interest, Folium requires a GeoJson file that includes geospatial data of the region.
  • False
  • True 
9. True or False. Seaborn provides specialized plot types such as regression, distribution, and categorical plots that are particularly useful for analyzing data and modeling relationships.
  • False
  • True
10. True or False. Waffle charts are a visualization technique that represents categorical data in the form of square tiles or cells.
  • True
  • False

Graded Quiz: Creating Dashboards with Plotly and Dash

1. True or False. Web-based visualizations created using Plotly Python can be displayed in Jupyter Notebook, saved to standalone HTML files, or served as part of pure Python-built web applications using Dash.
  • True
  • False
2. True or False. The Plotly graph objects module provides an automatically generated hierarchy of classes. It is the low-level interface to figures, traces, and layouts. 
  • False
  • True
3. Which Plotly.graph object has a dictionary structure?
  • Graph
  • Figure
  • JSON
  • Plotly 
4. Fill in the bank. Dashboards offer _____ in real-time.
  • Chat
  • Videos
  • Messages
  • Visuals
5. _______ is a comprehensive library for creating static, animated, and interactive visualizations in Python.
  • Dash
  • Matplotlib
  • Plotly
  • JSON
6. True or False. Data can be presented by using different types of dashboards.
  • True
  • False
7. _____ Express is a high-level wrapper for Plotly.
  • Matplotlib
  • Python
  • JSON
  • Plotly
8. What is a callback function?
  • A decorator
  • An extension
  • A line of Code
  • A file
9. Dash is an Open-Source User Interface Python library for creating reactive, _________.
  • Web-based applications
  • Graphs
  • Data
  • Code
10. True or False. Output sets results returned from the callback function to a component id.
  • False
  • True

Final Exam: Data Visualization with Python - Timed Quiz

1. Which data visualization feature helps data scientists gain access to original data?
  • Support recommendations to different stakeholders
  • Share unbiased representation of data
  • Communicate data early
  • Explore a given dataset
2. Which layer within the Matplotlib architecture generates graphics and plots quickly and easily?
  • FigureCanvas
  • Figure Layer
  • Backend Layer
  • Scripting Layer
3. Which plot library is an excellent choice for geospatial data visualization and helps to create interactive and customizable maps?
  • PyWaffle
  • Folium
  • Matplotlib
  • Seaborn
4. Using Matplotlib magic functions which code starts the command?
  • %matplotlib inline
  • %matplotlib
  • %matplotlib notebook
  • $matplotlib outline
5. For what purpose is an area plot commonly used?
  • Retrieve data
  • Sorting the data frame
  • To compare two or more quantities
  • Create a new data frame
6. What is a way of statistically representing the distribution of the data through five main dimensions?
  • Scatter plot
  • Line plot
  • Box plot
  • Histogram
7. Which dimension of the box plot signifies the smallest number in the sorted data?
  • Median
  • First quartile
  • Third quartile
  • Minimum
8. Where can Waffle Charts be applied?
  • Customer feedback analysis
  • Social media analysis
  • Budget allocation
  • Market research
9. Which tool depicts the importance of different words in the body of text?
  • A Regression Plot
  • A Box Plot
  • A Waffle Chart
  • A Word Cloud
10. What type of file does Folium require to create a Choropleth map of a specific region?
  • HTML
  • Geo
  • Json
  • GeoJson
11. What feature enhances interactivity and provides contextual information to maps?
  • Longitude
  • Zoom function
  • Markers
  • Latitude
12. Which tool would you use for creating static, animated, and interactive visualizations in Python?
  • Bowtie
  • Flask
  • Matplotlib
  • ipywidgets
13. What is the key difference between Plotly Graph Objects and Plotly Express?
  • Plotly Graph Objects requires fewer commands, while Plotly Express automatically generates layout and figure objects.
  • Plotly Graph Objects focuses on 3-dimensional data, while Plotly Express focuses on statistical analysis.
  • Plotly Graph Objects is a high-level wrapper, while Plotly Express is a low-level interface.
  • Plotly Graph Objects provides a simpler syntax, while Plotly Express offers more customization options.
14. What does the @app.callback decorator in Dash indicate?
  • It specifies the output component’s ID.
  • It defines the callback function.
  • It connects the input and output components.
  • It specifies the input component’s ID.
15. What is a callback function?
  • A decorator
  • A line of code
  • An extension
  • A file

Related Articles

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.