Q1. NumPy supports which type of arrays?
a. 1 Dimensional array
b. 2 Dimensional array
c. 3 Dimensional array
d. n Dimensional array
Q2. Identify the output of the following code
a. array([25, 35.75, 48, 59, 73])
b. array([25. , 35.75, 48. , 59. , 73. ])
c. array([25, 35, 48, 59, 73])
d. The above code produces error
Q3. Identify the output of the following code
a. array([25, 35.75, 48, 59, 73, ‘Python’], dtype=‘<U32’)
b. array([25, 35.75, 48, 59, 73, ‘Python’], dtype=‘int32’)
c. array([‘25’, ‘35.75’, ‘48’, ‘59’, ‘73’, ‘Python’], dtype=‘<U32’)
d. array([25. , 35.75, 48. , 59. , 73. , ‘Python’], dtype=‘<U32’)
Q4. Identify the output of the following code
a. Value Error
b. [10, 20, 30, 40, 50, 60, 70]
c. [60, 80, 100, 40]
d. Syntax Error
Q5. Which of the following function cannot be used on a NumPy array?
a. sum()
b. mean()
c. Median()
d. count()
e. mode()