Chapter-14 Question 1 What is the syntax for inserting elements into an ndarray at a specific index? np.insert(arr, obj, values, axis=None). np.add(arr, obj, values). np.append(arr, obj, values). np.update(arr, obj, values, axis=None). Question 2 In numpy, how can you insert elements into an ndarray without modifying the original array? Use the copy method. Use the resize method. Use the np.insert function with a copy of the array. Use the np.copy function. Question 3 Which parameter specifies the index at which to insert elements? arr obj values axis Question 4 Which axis parameter value should be used to insert elements along the rows in a 2D ndarray? 0 1 -1 None Question 5 What is the default value of the axis parameter in the np.insert function? 0 1 -1 None Question 6 In numpy, how can you insert multiple elements at once into an ndarray? Use multiple np.insert calls. Use np.concatenate. Use np.insert with a list of indices. Use np.insert with a list of values. Question 7 Which numpy function is used to insert elements into an ndarray? add Insert append update Question 8 Which of the following is a valid way to insert a row into a 2D ndarray? np.insert(arr, 0, [1, 2, 3], axis=0). np.insert(arr, 1, [1, 2, 3], axis=1). np.insert(arr, 0, [1, 2, 3]). np.insert(arr, 0, [1, 2, 3], axis=-1). Question 9 What happens if you insert elements into an ndarray at an index that already contains a value? The existing value is replaced. A new element is inserted before the existing one. The existing value is shifted to the right. An error is raised. Question 10 How can you insert a column into a 2D ndarray? Use np.hstack Use np.insert(arr, 0, values, axis=1). Use np.vstack Use np.append(arr, values, axis=1). Name Email Phone