4.4.5.Practice Quiz Numpy - sj50179/IBM-Data-Science-Professional-Certificate GitHub Wiki

TOTAL POINTS 4

Question 1

What is the Python library used for scientific computing and is a basis for Pandas?

  • Requests
  • datetime
  • Numpy
  • Tkinter

Correct

Question 2

What attribute is used to retrieve the number of elements in an array?

  • a.size
  • a.ndim
  • a.shape
  • a.dtype

Correct

Question 3

How would you change the first element to "10" in this array c:array([100,1,2,3,0])?

  • c[0]=10
  • c[1]=10
  • c[4]=10
  • c[2]=10

Correct

Question 4

What attribute is used to return the number of dimensions in an array?

  • a.size
  • a.dtype
  • a.ndim
  • a.shape

Correct