Skip To Content
    Dashboard
    • Login
    • Dashboard
    • Courses
    • Calendar
    • 0
      Inbox
    Close
    • My Dashboard
    • Assignments
    • Tutorial- 1 - Numpy
    2023-24 (Even)
    • Home
    • Modules
    • Syllabus
    • Files
    • Assignments

    Tutorial- 1 - Numpy

    • Due Dec 31, 2023 by 11:59pm
    • Points 10
    • Submitting a file upload
    • File Types doc, pdf, and ipynb
    • Available Dec 27, 2022 at 12pm - Mar 31, 2024 at 11:59pm over 1 year
    This assignment was locked Mar 31, 2024 at 11:59pm.

    Tutorial : 1  - Explore Numpy library to analyze data.

     

    1. Import NumPy library.
    2. Create 1D array with 5 elements.
    3. Create 1D array with 5 elements random value. (by default values between 0 to 1)
    4. Generate random value from range 5 to 15 with 1D array size 10.
    5. Create 2D array - 4 by 3 size.
    6. Create 2D array with size 3 by 3. Elements values are random number(by default values between 0 to 1)
    7. Generate random value from range 5 to 15 with 2D array size 3 by 3.
    8. Create 3D array with size 2 * 3 * 2.
    9. Initialize 5 by 5 array with all values are zeros.
    10. Initialize 5 by 5 array with all values are ones.
    11. Initialize 5 by 5 array with all values are particular values (consider 4).
    12. Create identity matrix with all diagonal values are 1 and rest all values are zeros.
    13. Find out shape of array.
    14. Find dimension of array.
    15. Find no. of elements of from above any array.
    16. Find type of array.
    17. Find maximum value from array.
    18. Find minimum value from array.
    19. Find average (mean) values from array.
    20. Find location of maximum value from array.
    21. Create two 2D array of size 3 by 3 and perform four basic mathematical operations
    22. Print index 2 value (indexing)
    23. Print value of index 2 to 5 (slicing)
    24. Print from index 0 to 5 values
    25. Print from index 5 to all
    26. Reassign value for particular index.
    27. Extract elements from index 1 to 7 with a step of 2.
    28. Print Reverse the array.
    1704047340 12/31/2023 11:59pm
    Additional Comments:
    Rating max score to > pts

    Rubric

     
     
     
     
     
         
    Can't change a rubric once you've started using it.  
    Find a Rubric
    Find Rubric
    Title
    You've already rated students with this rubric. Any major changes could affect their assessment results.
    Title
    Criteria Ratings Pts
    Edit criterion description Delete criterion row
    This criterion is linked to a Learning Outcome Description of criterion
    view longer description
    threshold: 5 pts
    Edit rating Delete rating
    5 to >0 pts
    Full Marks
    blank
    Edit rating Delete rating
    0 to >0 pts
    No Marks
    blank_2
    This area will be used by the assessor to leave comments related to this criterion.
    pts
      / 5 pts
    --
    Additional Comments
    Total Points: 5 out of 5
    In order to create video or audio recordings your computer needs to be webcam-enabled. If you don't have a webcam on your computer, you can still record audio-only messages by first installing the Google Video Chat plugin.
    Install the Video Plugin
    Don't have a webcam?