Looking for ADS1001 - Data challenges 1 - S1 2025 test answers and solutions? Browse our comprehensive collection of verified answers for ADS1001 - Data challenges 1 - S1 2025 at learning.monash.edu.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
How do you add label to the vertical axis of a plot?
Which of the plots below corresponds to the following snippet:
import numpy as npimport matplotlib.pyplot as plt
xdata = np.linspace(0, 10, 11)ydata = [5, 11, 10, 9, 11, 13, 14, 9, 13, 15, 10]plt.plot(xdata, ydata, '*g')
What does plt.savefig("figure.png")
do?
What is the output of the following code:
import numpy as np
A = np.array([[200, 300], [100, 400]])
B = np.array([[150, 100], [400, 100]])
result = A + B
print(result)
How do you create a NumPy array from a list [1, 2, 3, 4]
?
What is the output of the following snippet:
import numpy as npimport math
print(np.round(list(map(math.exp,[0,1,2])),2))
Which of the following functions is used to compute the square root in the math
module?
What is the result of the following code:
import numpy as np
ar = np.array([0.5, 1, 7, 66, 234, 1000, 0.01])
print(ar[3:6])
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!