Class 12 IP Chapter 1 Back Exercise Part B Solutions Sumita Arora New Syllabus / Listing12IPSA, Uncategorized / By Neha 1. If a Python list is having 7 integers and a numpy array is also having 7 integers, then how are these two data structures similar or different from one another ? ...click here for answer 2. Given a list L = [3, 4, 5] and an ndarray N having elements 3, 4, 5. What will be the result produced by : ...click here for answer 3. Write shapes of following ndarrays : ...click here for answer 4. Write code to create an ndarray having six zeros in it. Write statements to change 3rd and 5th elements of this ndarray to 15 and 25 respectively. ...click here for answer 5. Create a 3 x 4 two-dimensional ndarray from the range of integers 13..24. ...click here for answer 6. Consider following ndarrays : ...click here for answer 7. Predict the output of the following code fragments. Note library NumPy has been imported as np. ...click here for answer 8. Predict the output of the following code fragments. Library NumPy has been imported as np. ...click here for answer 9. Predict the output of the following code fragment. ...click here for answer 10. Write commands to split the following array as depicted below. Give alternate solutions. ...click here for answer 11. Write commands to perform following operations on two 4 x 4 ndarrays namely P and Q : ...click here for answer 12. Given two ID arrays A and B with same shape containing the data observations. Calculate the covariance, correlation and linear regression. ...click here for answer