qobjects = [
{
question: "Consider the following code:import numpy as np
arr = np.array([-1, 0, 1])
newarr = arr.astype(bool)
print(newarr)
What will be the printed result?",
options: [
"[ True True True]",
"[ True False True]",
"[ False False True]",
"[ False True True]"
],
correct: 1
},
{
fillintheblanks: "exercise_data_types1.htm"
},
{
fillintheblanks: "exercise_data_types2.htm"
},
{
fillintheblanks: "exercise_data_types3.htm"
},
{
fillintheblanks: "exercise_data_types4.htm"
}
]