Question 1
Which function is used to create a diagonal array from a given array?
Question 2
Which of the following methods can be used to create an array of zeros in numpy?
Question 3
What does np.empty((2, 2)) create?
Question 4
What is the function used to create a numpy array form a python list?
Question 5
What is the function used to create an array of evenly spaced values over a specified range?
Question 6
Which of the following methods can be used to create an identity matrix in numpy?
Question 7
What does the function np.arange(5) return?
Question 8
What does np.full((3, 3), 7) do?
Question 9
Which of the following methods creates a copy of the array in memory?
Question 10
Which of the following methods creates an array filled with random values?