qobjects = [ { question: "Consider the following code:
import numpy as np
arr = np.array([1, 2, 3, 4])
newarr = np.diff(arr)

What will be the result of newarr?", options: [ "[1 1 1 1]", "[1 1 1]", "-2" ], correct: 1 }, { question: "Consider the following code:
import numpy as np
arr = np.array([5, 7, 3, 4])
newarr = np.diff(arr)

What will be the result of newarr?", options: [ "[ 2 1]", "[ 2 1 1]", "[ 2 -4 1]" ], correct: 2 }, { question: "Consider the following code:
import numpy as np
arr = np.array([1, 2, 3, 4])
newarr = np.diff(arr, n=2)

What will be the result of newarr?", options: [ "[1 1 1]", "[0 0]", "[1 1 1 1]" ], correct: 1 } ]