wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Data Science / AI

Total questions: 15

Worksheet time: 2mins

Name
Class
Date
1.

Pandas is used for 

a)

Model Training

b)

Model Evaluation

c)

Data Manipulation

d)

Data Visualization

2.

Which of the following data types in Python is mutable?

a)

Integer

b)

String

c)

Tuple

d)

List

3.

In Python, which keyword is used to define a function?

a)

define

b)

function

c)

func

d)

def

4.

Seaborn is used for

a)

Data Visualization

b)

Data Manipulation

c)

Model Evaluation

d)

Model Training

5.

What is the function used to read a CSV file into a Pandas DataFrame?

a)

load_csv()

b)

read_csv()

c)

import_csv()

d)

read_file()

6.

Which of the following is the primary data structure in NumPy?

a)

DataFrame

b)

Series

c)

Array

d)

List

7.

How do you import the Matplotlib library in Python?

a)

import matplotlib.pyplot as plt

b)

import mpl

c)

import matplot

d)

import matplotlib

8.

What is the purpose of the subplot() function in Matplotlib?

a)

To adjust the size of the plot

b)

To create multiple plots in the same figure

c)

To set the limits of the plot

d)

To add annotations to the plot

9.

In classification tasks, what does the term "label" or "target" refer to?

a)

The input data

b)

The output variable

c)

The model parameters

d)

The evaluation metric

10.

Which phone has AI feature introduced recently?

a)

Iphone 15 pro

b)

Samsung Galaxy s23

c)

Samsung Galaxy s24

d)

iPhone 15 pro max

11.

Which of the following is not a performance metrics for classification problems?

a)

R-squared

b)

Recall

c)

Precision

d)

Accuracy

12.

Overfitting occurs when a machine learning model:

a)

Fails to capture the underlying patterns in the data

b)

Generalizes well to unseen data

c)

Performs optimally on the training set but poorly on the test set

d)

Produces biased predictions

13.

What is the primary goal of clustering algorithms in unsupervised learning?

a)

To classify data points into predefined categories

b)

To find the relationship between input and output variables

c)

To discover hidden patterns or groupings in data

d)

To predict numerical values based on input features

14.

What does the describe() method in Pandas do?

a)

Returns the number of rows and columns in the DataFrame

b)

Returns basic statistics for numeric columns in the DataFrame

c)

Describes the structure of the DataFrame

d)

Computes the correlation matrix for the DataFrame

15.

Which is the parent company for ChatGPT?

a)

X (formerly Twitter)

b)

Alphabet

c)

OpenAI

d)

Amazon