qobjects = [
{
question: "Consider the following code:import numpy as np
arr = np.array([15, 38, 41, 46])
x = np.where(arr%2 == 1)
print(x)
What will be the printed result?",
options: [
"(array([1, 3]),)",
"(array([15, 41]),)",
"(array([0, 2]),)",
"(array([38, 46]),)"
],
correct: 2
},
{
fillintheblanks: "exercise_array_search1.htm"
},
{
question: "Which NumPy function can be used to find where specifed elements belong in the array?",
options: [
"searchsorted()",
"findindex()",
"searchindex()"
],
correct: 0
}
]