NEW
Font size
WorksheetsGoogle Colab Quiz
Total questions: 15
Worksheet time: 8mins
What is Google Colab?
A text editor
A cloud-based Jupyter notebook environment
A web browser
A Python library
Which command is used to install libraries in Google Colab?
install library
pip install library
!pip install library
import library
Which library is commonly used for creating static, animated, and interactive visualizations in Python?
NumPy
Pandas
Matplotlib
Scikit-learn
What is the primary function of the seaborn library?
Data manipulation
Statistical data visualization
Machine learning
Text processing
Which command is used to display plots inline within a Google Colab notebook?
%matplotlib inline
plt.show()
sns.show()
display()
What is the purpose of the plt.plot() function in Matplotlib?
To create a bar chart
To create a line plot
To create a scatter plot
To create a histogram
Which Seaborn function is used to create a heatmap?
sns.heatmap()
sns.lineplot()
sns.scatterplot()
sns.barplot()
What is the primary use of the plotly library in Python?
Creating static plots
Creating interactive plots
Data cleaning
Machine learning
Which command is used to import the Matplotlib library in Python?
import matplotlib as plt
import matplotlib.pyplot as plt
import matplotlib.plot as plt
import matplotlib.graph as plt
What does the sns.set() function do in Seaborn?
Sets the style and color palette for plots
Creates a scatter plot
Loads a dataset
Displays a plot
Which function is used to create a histogram in Matplotlib?
plt.hist()
plt.bar()
plt.scatter()
plt.pie()
What is the purpose of the sns.pairplot() function in Seaborn?
To create a single plot
To create a grid of scatter plots for all pairs of variables
To create a bar plot
To create a line plot
Which library provides high-level commands for creating a variety of plot types useful for statistical data exploration?
NumPy
Pandas
Seaborn
Scikit-learn
What is the purpose of the plt.xlabel() function in Matplotlib?
To set the title of the plot
To set the label for the x-axis
To set the label for the y-axis
To display the plot
Which command is used to mount Google Drive in Google Colab?
!mount drive
import drive
from google.colab import drive
drive.mount()
