wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to Python II Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.
What library is Pandas primarily built on?
a)
Matplotlib
b)
NumPy
c)
SQLAlchemy
d)
Scikit-learn
2.
Which of the following are advantages of using Pandas? (Select all that apply)
a)
Handles missing data
b)
Difficult to install
c)
Built-in Series functions
d)
Supports data merging
3.
What is a Pandas Series most similar to?
a)
SQL query
b)
A row in a table
c)
A column in a spreadsheet
d)
A dictionary
4.
What type of data structure is a Pandas Series?
a)
2D matrix
b)
Labeled 1D array
c)
SQL row
d)
JSON object
5.
What can be used as indexes in a Pandas Series? (Select all that apply)
a)
Labels
b)
Integers
c)
Strings
d)
Lists
6.
What is a Pandas DataFrame?
a)
A 3D plot
b)
A relational database
c)
A 2D labeled data structure
d)
A function for plots
7.

A DataFrame consists of data, rows, and (a)   .

8.
Which features make Pandas better than pure Python for data analysis?
a)
Speed and performance
b)
Simple data structures
c)
Label-based indexing
d)
Data alignment
9.
What is the relationship between Series and DataFrame?
a)
Series are not part of DataFrames
b)
DataFrames are made up of Series
c)
They are unrelated
d)
Series are rows of DataFrames
10.
How is missing data represented in Pandas?
a)
NULL
b)
None
c)
NaN
d)
Blank
11.
Which operations does Pandas support for reshaping data? (Select all that apply)
a)
Pivoting
b)
Merging
c)
Clustering
d)
Joining
12.
What is the main benefit of using GroupBy in Pandas?
a)
Summarizing grouped data
b)
Removing NaNs
c)
Visualizing columns
d)
Appending Series
13.
What does the head() function return in a DataFrame?
a)
The first few rows
b)
All column names
c)
The last few rows
d)
Summary statistics
14.
Which of the following are true about Pandas DataFrames? (Select all that apply)
a)
Columns can be added and deleted
b)
It works only with CSV files
c)
It supports labeled axes
d)
It does not handle time series
15.
What kind of structure is a Pandas DataFrame most similar to?
a)
A pie chart
b)
A spreadsheet
c)
A neural network
d)
A histogram