wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Data Analysis Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which library in Python is commonly used for data visualization and is known for its simplicity and versatility?

a)

NumPy

b)

Matplotlib

c)

SciPy

d)

TensorFlow

2.

In Pandas, which function is used to read a CSV file into a DataFrame?

a)

read_excel()

b)

read_csv()

c)

read_table()

d)

read_json()

3.

What is the purpose of the `dropna()` function in Pandas?

a)

To fill missing values

b)

To remove missing values

c)

To sort the DataFrame

d)

To merge two DataFrames

4.

Which of the following is a common technique for handling missing data in a dataset?

a)

Ignoring the missing data

b)

Filling missing data with zeros

c)

Using the mean or median to fill missing data

d)

All of the above

5.

What does the function `describe()` in Pandas provide?

a)

A summary of the DataFrame

b)

A plot of the DataFrame

c)

A list of column names

d)

A list of index values

6.

Which of the following is a measure of central tendency?

a)

Variance

b)

Standard deviation

c)

Mean

d)

Range

7.

In machine learning, what is the term for the data used to train a model?

a)

Test data

b)

Validation data

c)

Training data

d)

Sample data

8.

Which Python library is primarily used for numerical computations and data manipulation?

a)

Pandas

b)

NumPy

c)

Matplotlib

d)

Seaborn

9.

What is the output of the following NumPy operation: `np.array([1, 2, 3]) + np.array([4, 5, 6])`?

a)

[5, 7, 9]

b)

[4, 5, 6]

c)

[1, 2, 3]

d)

[0, 0, 0]

10.

Which of the following is a type of plot that can be created using Matplotlib?

a)

Bar plot

b)

Line plot

c)

Scatter plot

d)

All of the above

11.

In Pandas, how do you select a column named "Age" from a DataFrame `df`?

a)

df.Age

b)

df['Age']

c)

df[Age]

d)

df.select('Age')

12.

Which of the following is a common method for normalizing data?

a)

Min-Max Scaling

b)

Log Transformation

c)

Z-Score Normalization

d)

All of the above

13.

What is the purpose of the `groupby()` function in Pandas?

a)

To group data based on a column

b)

To sort data

c)

To merge data

d)

To filter data

14.

Which of the following is a supervised machine learning algorithm?

a)

K-Means Clustering

b)

Linear Regression

c)

Principal Component Analysis

d)

Apriori Algorithm

15.

In NumPy, what does the function `np.mean()` compute?

a)

The median of an array

b)

The mean of an array

c)

The mode of an array

d)

The sum of an array