Direction: Choose the correct option
Q1.
What is NumPy?
Direction: Choose the correct option
Q2.
How do you create a NumPy array from a list?
Direction: Choose the correct option
Q3.
What does `np.arange(5)` produce?
Direction: Choose the correct option
Q4.
How do you get the shape of a NumPy array `a`?
Direction: Choose the correct option
Q5.
What does `np.zeros((2,3))` create?
Direction: Choose the correct option
Q6.
What is the data type of elements in a NumPy array `np.array([1,2,3])`?
Direction: Choose the correct option
Q7.
How do you convert a list to a NumPy array with float type?
Direction: Choose the correct option
Q8.
What is the output of `np.array([1,2,3]) + np.array([4,5,6])`?
Direction: Choose the correct option
Q9.
What does `np.ones((2,2))` produce?
Direction: Choose the correct option
Q10.
What is the attribute that gives the number of dimensions of a NumPy array?
