मराठी

NCERT solutions for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ chapter 6 - Introduction to NumPy [Latest edition]

Advertisements

Chapters

NCERT solutions for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ chapter 6 - Introduction to NumPy - Shaalaa.com
Advertisements

Solutions for Chapter 6: Introduction to NumPy

Below listed, you can find solutions for Chapter 6 of CBSE NCERT for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११.


Intext QuestionsExercise
Intext Questions [Pages 100 - 111]

NCERT solutions for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ 6 Introduction to NumPy Intext Questions [Pages 100 - 111]

Think and Reflect

1.Page 100

When we may require to create an array initialised to zeros or ones?

Activity 6.1

2.Page 111

Can you write the command to load the data.txt including the header row as well?

Activity 6.1

3.Page 111

Can you create a datafile and import data into multiple NumPy arrays column wise? (Hint: use the unpack parameter)

Exercise [Pages 113 - 114]

NCERT solutions for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ 6 Introduction to NumPy Exercise [Pages 113 - 114]

1. a)Page 113

What is NumPy?

1. b)Page 113

How to install NumPy?

2. a)Page 113

What is Array?

2. b)Page 113

How is an array different from a list?

2. c)Page 113

What is the name of the built-in array class in NumPy ?

3.Page 113

What do you understand by rank of an ndarray?

4. a)Page 113

Create the following NumPy arrays:

A 1-D array called zeros having 10 elements and all the elements are set to zero.

4. b)Page 113

Create the following NumPy arrays:

A 1-D array called vowels having the elements ‘a’, ‘e’, ‘i’, ‘o’ and ‘u’.

4. c)Page 113

Create the following NumPy arrays:

A 2-D array called ones having 2 rows and 5 columns and all the elements are set to 1 and dtype as int.

4. d)Page 113

Create the following NumPy arrays:

Use nested Python lists to create a 2-D array called myarray1 having 3 rows and 3 columns and store the following data:

2.7, -2, -19
0, 3.4, 99.9
10.6, 0, 13
4. e)Page 113

Create the following NumPy arrays:

A 2-D array called myarray2 using arange() having 3 rows and 5 columns with start value = 4, step size 4 and dtype as float.

5.Page 113

Using the arrays created in Question 4 above, write NumPy commands for the following:

  1. Find the dimensions, shape, size, data type of the items and itemsize of arrays zeros, vowels, ones, myarray1 and myarray2.
  2. Reshape the array ones to have all the 10 elements in a single row.
  3. Display the 2nd and 3rd element of the array vowels.
  4. Display all elements in the 2nd and 3rd row of the array myarray1.
  5. Display the elements in the 1st and 2nd column of the array myarray1.
  6. Display the elements in the 1st column of the 2nd and 3rd row of the array myarray1.
  7. Reverse the array of vowels.
6.Page 113

Using the arrays created in Question 4 above, write NumPy commands for the following:

  1. Divide all elements of array ones by 3.
  2. Add the arrays myarray1 and myarray2.
  3. Subtract myarray1 from myarray2 and store the result in a new array.
  4. Multiply myarray1 and myarray2 elementwise.
  5. Do the matrix multiplication of myarray1 and myarray2 and store the result in a new array myarray3.
  6. Divide myarray1 by myarray2.
  7. Find the cube of all elements of myarray1 and divide the resulting array by 2.
  8. Find the square root of all elements of myarray2 and divide the resulting array by 2. The result should be rounded to two places of decimals.
7.Page 114

Using the arrays created in Question 4 above, write NumPy commands for the following:

  1. Find the transpose of ones and myarray2.
  2. Sort the array vowels in reverse.
  3. Sort the array myarray1 such that it brings the lowest value of the column in the first row and so on.
8.Page 114

Using the arrays created in Question 4 above, write NumPy commands for the following:

  1. Use NumPy. split() to split the array myarray2 into 5 arrays columnwise. Store your resulting arrays in myarray2A, myarray2B, myarray2C, myarray2D and myarray2E. Print the arrays myarray2A, myarray2B, myarray2C, myarray2D and myarray2E.
  2. Split the array zeros at array index 2, 5, 7, 8 and store the resulting arrays in zerosA, zerosB, zerosC and zerosD and print them.
  3. Concatenate the arrays myarray2A, myarray2B and myarray2C into an array having 3 rows and 3 columns.
9.Page 114

Create a 2-D array called myarray4 using arange() having 14 rows and 3 columns with start value = -1, step size 0.25 having. Split this array row wise into 3 equal parts and print the result.

10.Page 114

Using the myarray4 created in the above questions, write commands for the following:

  1. Find the sum of all elements.
  2. Find the sum of all elements row wise.
  3. Find the sum of all elements column wise
  4. Find the max of all elements.
  5. Find the min of all elements in each row.
  6. Find the mean of all elements in each row.
  7. Find the standard deviation column wise.

Solutions for 6: Introduction to NumPy

Intext QuestionsExercise
NCERT solutions for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ chapter 6 - Introduction to NumPy - Shaalaa.com

NCERT solutions for इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ chapter 6 - Introduction to NumPy

Shaalaa.com has the CBSE Mathematics इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ CBSE solutions in a manner that help students grasp basic concepts better and faster. The detailed, step-by-step solutions will help you understand the concepts better and clarify any confusion. NCERT solutions for Mathematics इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ CBSE 6 (Introduction to NumPy) include all questions with answers and detailed explanations. This will clear students' doubts about questions and improve their application skills while preparing for board exams.

Further, we at Shaalaa.com provide such solutions so students can prepare for written exams. NCERT textbook solutions can be a core help for self-study and provide excellent self-help guidance for students.

Concepts covered in इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ chapter 6 Introduction to NumPy are .

Using NCERT इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ solutions Introduction to NumPy exercise by students is an easy way to prepare for the exams, as they involve solutions arranged chapter-wise and also page-wise. The questions involved in NCERT Solutions are essential questions that can be asked in the final exam. Maximum CBSE इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ students prefer NCERT Textbook Solutions to score more in exams.

Get the free view of Chapter 6, Introduction to NumPy इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ additional questions for Mathematics इनफार्मेशन प्रेकटिसेस [इंग्रजी] इयत्ता ११ CBSE, and you can use Shaalaa.com to keep it handy for your exam preparation.

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×