Search Header Logo

Sjmit-Q2-[Workshop-MAR-25]

Authored by Manjunatha M

Computers

12th Grade

Used 1+ times

Sjmit-Q2-[Workshop-MAR-25]
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?