wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Visualization and Exploration Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the main reason NumPy is faster than traditional Python lists?

a)

NumPy arrays are more complex

b)

NumPy arrays are stored in a continuous block of memory

c)

NumPy arrays are larger in size

d)

NumPy arrays require more processing power

2.

What is the function used to sort a specified array in NumPy?

a)

arrange()

b)

order()

c)

sort()

d)

sequence()

3.

Which of the following is NOT a type of splitting in NumPy?

a)

Vertical splitting

b)

Horizontal splitting

c)

Both horizontal and vertical splitting

d)

Diagonal splitting

4.

What is the primary data structure used in Pandas?

a)

Array

b)

DataFrame

c)

List

d)

Matrix

5.

Which method is used to access the last row of a DataFrame in Pandas?

a)

dataset.last()

b)

dataset.iloc[-1]

c)

dataset.loc.last()

d)

dataset.get_last()

6.

What is the purpose of filtering in NumPy?

a)

To sort elements

b)

To combine arrays

c)

To reshape an array

d)

To create a new array from existing elements

7.

Which of the following is an advantage of using Pandas over NumPy?

a)

Higher level of abstraction

b)

More applicable

c)

Faster processing

d)

Less disk space

8.

What does the term 'slicing' refer to in NumPy?

a)

Combining multiple arrays

b)

Filtering elements based on conditions

c)

Taking elements from one index to another

d)

Accessing a single element

9.

Which function is used to iterate over rows in a Pandas DataFrame?

a)

iteritems()

b)

iterrows()

c)

itertools()

d)

itercolumns()

10.

What is the purpose of reshaping an array in NumPy?

a)

To change the data type

b)

To filter the elements

c)

To sort the elements

d)

To change the shape or dimensions of the array