Sjmit-Q2-[Workshop-MAR-25]

Sjmit-Q2-[Workshop-MAR-25]

12th Grade

20 Qs

quiz-placeholder

Similar activities

ML Training - Pretest Quiz

ML Training - Pretest Quiz

12th Grade

20 Qs

IP - Internal Test1 [16-07-2021]

IP - Internal Test1 [16-07-2021]

12th Grade

25 Qs

Python Workshop Day - 2

Python Workshop Day - 2

University

15 Qs

Python - Pandas-2

Python - Pandas-2

12th Grade

20 Qs

python-series

python-series

12th Grade

20 Qs

Introduction to Data Wrangling

Introduction to Data Wrangling

University

15 Qs

10QZ02_01_Pandas_estructuras de datos y operaciones

10QZ02_01_Pandas_estructuras de datos y operaciones

University

20 Qs

Season 5 #Spaic Python Weekly Quiz

Season 5 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

Sjmit-Q2-[Workshop-MAR-25]

Sjmit-Q2-[Workshop-MAR-25]

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Manjunatha M

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function is used to create a Numpy array from a list?

numpy.array

numpy.create_array

numpy.array_from_list

numpy.list

2.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

How do you create a 2D Numpy array with shape (3, 4)?

numpy.ones((4, 3))

numpy.zeros((3, 4))

numpy.empty((2, 6))

numpy.array((3, 4))

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is the default data type of a Numpy array if not specified?

int32

complex128

float64

float32

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How can you access the first element of a Numpy array named 'arr'?

arr.first()

arr.get(0)

arr[1]

arr[0]

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What method is used to create a Pandas DataFrame from a dictionary?

pd.DataFrame()

pd.createDataFrame()

pd.DataFrameBuilder()

pd.DataFrameFromDict()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you display the first 5 rows of a DataFrame in Pandas?

df.slice(0, 5)

df.head()

df.show(5)

df.first(5)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function is used to check for missing values in a DataFrame?

checknull()

findMissing()

isna()

isnull()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?