Data Preprocessing - 1

Data Preprocessing - 1

Professional Development

40 Qs

quiz-placeholder

Similar activities

CS Dept Quiz

CS Dept Quiz

Professional Development

40 Qs

Python Essentials 1 - Exam

Python Essentials 1 - Exam

Professional Development

40 Qs

OH MY ECMA

OH MY ECMA

University - Professional Development

44 Qs

MS office 2016

MS office 2016

1st Grade - Professional Development

40 Qs

Excel

Excel

6th Grade - Professional Development

40 Qs

AI900-03

AI900-03

Professional Development

40 Qs

202508500004

202508500004

Professional Development

40 Qs

Quiz For COC 1 and COC 2

Quiz For COC 1 and COC 2

Professional Development

44 Qs

Data Preprocessing - 1

Data Preprocessing - 1

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Lilesh Pathe

Used 2+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does np.random.rand(2,3) generate?

2D array with random integers

2D array with random floats between 0 and 1

3D array with random integers

Array with random Gaussian distribution

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does np.linspace(0, 10, 5) produce?

Five evenly spaced numbers from 0 to 10

Ten evenly spaced numbers from 0 to 5

Sequence of integers

None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of np.eye(3)?

3×3 identity matrix

3×3 zero matrix

3×3 matrix of ones

None of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which NumPy method is used to check for NaN values?

np.isnan()

np.isnull()

np.missing()

np.check_nan()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which NumPy function is used to compute the cumulative sum?

np.cumsum()

np.sum()

np.add()

np.total()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In NumPy, axis=1 in a sum function means:

Sum across columns

Sum across rows

Sum diagonally

Sum all elements

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function is used to write a DataFrame to a CSV file?

to_csv()

write_csv()

save_csv()

export_csv()

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?