Total Questions : 50
Expected Time : 50 Minutes

1. What does the NumPy function 'np.percentile()' calculate?

2. What is the purpose of the `np.save` and `np.load` functions in NumPy?

3. How do you create a NumPy array with regularly spaced values between two numbers?

4. What does the NumPy function 'np.interp()' do?

5. How can you perform matrix multiplication in NumPy?

6. How do you perform matrix multiplication in NumPy?

7. What is the purpose of the `np.eye` function in NumPy?

8. How can you concatenate two NumPy arrays vertically?

9. What is the purpose of the `np.max` function in NumPy?

10. What is broadcasting in NumPy, and how does it work?

11. What is the purpose of the `np.ma.masked_where` function in NumPy?

12. Explain the concept of a NumPy structured array.

13. Explain the concept of masking in NumPy and provide an example.

14. What is the role of the `np.mean` function in NumPy?

15. What is the purpose of the `np.random.seed` function in NumPy?

16. What does the `np.ravel` function do in NumPy?

17. What is the result of the expression `np.arange(2, 10, 2)`?

18. How do you calculate the inverse of a matrix in NumPy?

19. What is the purpose of the `np.arange` function in NumPy?

20. What does the `np.clip` function do in NumPy?

21. What is the purpose of the NumPy function 'np.fft.fft()'?

22. In NumPy, what does the 'np.random.seed()' function do?

23. What is the purpose of the `np.zeros` function in NumPy?

24. What does the NumPy function 'np.unique()' return?

25. How can you transpose a NumPy array?

26. How can you calculate the mean of a NumPy array along a specific axis?

27. What is the difference between `np.concatenate` and `np.stack` in NumPy?

28. How can you create a diagonal matrix from a one-dimensional NumPy array?

29. How do you access the element at the 3rd index of a NumPy array named `my_array`?

30. What is the purpose of the `np.ma.masked_array` function in NumPy?

31. How can you perform element-wise exponentiation in NumPy?

32. How can you perform element-wise multiplication of two NumPy arrays?

33. How can you perform element-wise addition of two NumPy arrays `arr1` and `arr2`?

34. How do you check the data type of a NumPy array named `my_array`?

35. How do you perform element-wise multiplication of two NumPy arrays `arr1` and `arr2`?

36. How can you perform element-wise comparison between two NumPy arrays `arr1` and `arr2`?

37. How can you find the sum of all elements in a NumPy array?

38. Examine the purpose of the `np.histogram` function in NumPy.

39. How can you create a NumPy array from a Python list?

40. What is the purpose of the NumPy function 'np.ma.masked_where()'?

41. What does the `np.std` function calculate in NumPy?

42. How do you apply a function element-wise to a NumPy array?

43. How can you calculate the standard deviation of a NumPy array?

44. What does the function `np.arange(5)` do?

45. How do you calculate the cumulative sum of elements along a specified axis in a NumPy array?

46. In NumPy, what does the 'np.pad()' function do?

47. What does the NumPy function 'np.unravel_index()' do?

48. How can you find the index of the maximum value in a NumPy array?

49. What is the purpose of the NumPy function 'np.argsort()'?

50. Explain the difference between a Python list and a NumPy array.