qobjects = [ { question: "One of these functions can be used to split an array into multiple arrays. Which one?", options: [ "array_split()", "decatenate()", "decat()" ], correct: 0 }, { question: "Consider the following code:
import numpy as np
arr = np.array([1, 2, 3, 4, 5, 6])
newarr = np.array_split(arr, 3)
print(newarr[0])

What will be the printed result?", options: [ "[1 2]", "1", "3" ], correct: 0 }, { question: "Consider the following code:
import numpy as np
arr = np.array(['a', 'b', 'c'])
newarr = np.array_split(arr, 3)

How many arrays will newarr contain?", options: [ "1", "2", "3", "4" ], correct: 2 } ]