NumPy Data Science

@T-Bone

This question paper focuses on the "NumPy" of Data Science. These Multiple Choice Questions (mcq) should be practiced to improve the Data Science skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

This question paper focuses on the "NumPy" of Data Science. These Multiple Choice Questions (mcq) should be practiced to improve the Data Science skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

Questions

1. NumPY stands for?

Mark the correct option

2. NumPy is often used along with packages like?

Mark the correct option

3. The most important object defined in NumPy is an N-dimensional array type called?

Mark the correct option

4. What will be output for the following code? import numpy as np a = np.array([1,2,3]) print a

Mark the correct option

5. What will be output for the following code? import numpy as np a = np.array([1, 2, 3], dtype = complex) print a

Mark the correct option

6. Which of the following statement is false?

Mark the correct option

7. If a dimension is given as ____ in a reshaping operation, the other dimensions are automatically calculated.

Mark the correct option

8. Which of the following sets the size of the buffer used in ufuncs?

Mark the correct option

9. What will be output for the following code? import numpy as np dt = dt = np.dtype('i4') print dt

Mark the correct option

10. Each built-in data type has a character code that uniquely identifies it.What is meaning of code "M"?

Mark the correct option

11. Numpy developed by?

Mark the correct option

12. Which of the following Numpy operation are correct?

Mark the correct option

13. The basic ndarray is created using?

Mark the correct option

14. What will be output for the following code? import numpy as np a = np.array([1, 2, 3,4,5], ndmin = 2) print a

Mark the correct option

15. What is the syntax for dtype object?

Mark the correct option

16. Which of the following function stacks 1D arrays as columns into a 2D array?

Mark the correct option

17. Which of the following statement is true?

Mark the correct option

18. Which of the following set the floating-point error callback function or log object?

Mark the correct option

19. What will be output for the following code? import numpy as np dt = np.dtype([('age',np.int8)]) a = np.array([(10,),(20,),(30,)], dtype = dt) print a['age']

Mark the correct option

20. What is the range of uint32 data type?

Mark the correct option

Index of Questions