qobjects = [ { question: "Consider the following code:
import numpy as np
arr = np.array(['a', 'b', 'c'])
for x in arr:
  print('Hello ' + x)

What will be the printed result?", options: [ "Hello a b c", "Hello ['a', 'b', 'c']", "Hello a
Hello b
Hello c
" ], correct: 2 }, { question: "Consider the following code:
import numpy as np
arr = np.array([[1, 2, 3], [4, 5, 6]])
for x in arr:
  print(x)

What will be the printed result?", options: [ "[1 2 3]
[4 5 6]
", "1
2
3
4
5
6
", "Array()
Array()
" ], correct: 0 }, { question: "Consider the following code:
import numpy as np
arr = np.array([1, 2, 3, 4, 5, 6, 7, 8])
for x in np.nditer(arr[::2]):
  print(x)

What will be the printed result?", options: [ "1
3
5
7
", "2
4
6
8
", "3
4
5
6
7
8
" ], correct: 0 } ]