qobjects = [
{
question: "Consider the following code:import numpy as np
arr = np.trunc([5.998, 1.455])
print(arr)
What will be the result of arr?",
options: [
"[6. 1.]",
"[5. 1.]",
"[6. 2.]"
],
correct: 1
},
{
question: "Consider the following code:import numpy as np
arr = np.around(5.93)
print(arr)
What will be the result of arr?",
options: [
"6.0",
"5.0",
"5.9"
],
correct: 0
},
{
question: "Consider the following code:import numpy as np
arr = np.ceil([5.998, 1.455])
print(arr)
What will be the result of arr?",
options: [
"[6. 1.]",
"[5. 1.]",
"[6. 2.]"
],
correct: 2
}
]