
Mashdemy 11-15 AI/ML
Authored by Mashdemy Tutor
Computers
9th - 12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to concatenate two DataFrames in Pandas?
pd.append()
pd.concat()
pd.merge()
pd.join()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pandas method can be used to find the unique values in a DataFrame column?
A).unique_values()
B) .distinct()
C).unique()
D) .nunique()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of plot would you use to visualize the distribution of a dataset?
Bar Graph
Histogram
Scatter Plot
Pie Chart
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Matplotlib function is used to create a line plot?
plt.line()
plt.plot()
plt.lineplot()
plt.plotline()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the value_counts() method in pandas?
A) The count of non-null values in a DataFrame column.
B) The sum of all values in a DataFrame column.
C) The frequency of each distinct value in a DataFrame column.
D) The average of all values in a DataFrame column.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you select rows in a DataFrame where the values in the 'Study_Hours' column are greater than 3?
A) df[df['Study_Hours'] < 3]
B) df[df['Study_Hours'] > 3]
C) df.loc[df['Study_Hours'] > 3]
D) Both B and C
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What parameter is used in plt.plot() to set the marker type?
A) markerstyle
B) markertype
C) marker
D) mark
Answer: C) marker
A) markerstyle
B) marker
C) markertype
D) mark
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?