8. Predict the output of the following code fragments. Library NumPy has been imported as np.