ЁЯЪА Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

NumPy Basics

Question: 1 Report Error

eye() method __________ рдореЗрдВ рдЙрдкрд▓рдмреНрдз рд╣реИ ?

eye() method is available in __________?

A)
B)
C)
D)

Question: 2 Report Error

numpy library рдХреЛ_________рд╡рд░реНрд╖ рдореЗрдВ рдмрдирд╛рдпрд╛ рдЧрдпрд╛ ?

Numpy library was created in_________ year?

A)
B)
C)
D)

Question: 3 Report Error

[ :: -1] array рдпрд╛ sequence рдХреЛ reverse рдХрд░рддрд╛ рд╣реИ ?

[ :: -1] reverses the array or sequence?

A)
B)
C)
D)

Question: 4 Report Error

рд╣рдо python рдореЗрдВ Numpy array рдХрд╛ рдЖрдХрд╛рд░(shape) рдХреИрд╕реЗ рдмрджрд▓ рд╕рдХрддреЗ рд╣реИрдВ?

How can we change the shape of Numpy array in python?

A)
B)
C)
D)

Question: 5 Report Error

рд╣рдо рд╕рд┐рд╕реНрдЯрдо(Computer) рдореЗрдВ Numpy рдХреИрд╕реЗ Install рдХрд░рддреЗ рд╣реИрдВ?

How do we install Numpy in the system (computer)?

A)
B)
C)
D)

Question: 6 Report Error

рд╣рдо рд╕рд┐рд╕реНрдЯрдо рдореЗрдВ Numpy рдХреИрд╕реЗ install рдХрд░рддреЗ рд╣реИрдВ?

How do we install Numpy in the system?

A)
B)
C)
D)

Question: 7 Report Error

рдирд┐рдореНтАНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХрд┐рд╕ рдлрдВрдХреНтАНрд╢рди рдХрд╛ рдЗрд╕реНтАНрддреЗрдорд╛рд▓ numpy array рдореЗрдВ рдПрд▓рд┐рдореЗрдВрдЯреНрд╕ рдХреА рдХреБрд▓ рд╕рдВрдЦреНтАНрдпрд╛ рдЬреНрдЮрд╛рдд рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИ

Which of the following functions is used to find the total number of elements in a numpy array?

A)
B)
C)
D)

Question: 8 Report Error

............... рдлрд╝рдВрдХреНрд╢рди original array рдХреЛ рд╕рдВрд╢реЛрдзрд┐рдд рдХрд░рддрд╛ рд╣реИ рдФрд░ .............. рдлрд╝рдВрдХреНрд╢рди array рдХрд╛ рдПрдХ рдирдпрд╛ instance рдмрдирд╛рддрд╛ рд╣реИред

...............function modifies the original array and ...............function creates a new instance of the array.

A)
B)
C)
D)

Question: 9 Report Error

рд╕рдВрдЦреНрдпрд╛рдУрдВ рдХрд╛ рдЕрдиреБрдХреНрд░рдо рдмрдирд╛рдиреЗ рдХреЗ рд▓рд┐рдП, NumPy рдПрдХ рдлрд╝рдВрдХреНрд╢рди рдкреНрд░рджрд╛рди рдХрд░рддрд╛ рд╣реИ рдЬреЛ рд░реЗрдВрдЬ рдХреЗ рдЕрдиреБрд░реВрдк рд╣реЛрддрд╛ рд╣реИ рдЬреЛ рд╕реВрдЪрд┐рдпреЛрдВ рдХреЗ рдмрдЬрд╛рдп рд╕рд░рдгреА рджреЗрддрд╛ рд╣реИ

To create sequences of numbers, NumPy provides a function corresponding to ranges that returns arrays instead of lists.

A)
B)
C)
D)

Question: 10 Report Error

Python рдореЗрдВ NumPy рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдХреНрдпрд╛ рд╣реИ?

What is the purpose of NumPy in Python?

A)
B)
C)
D)

Question: 11 Report Error

NumPy рдХрд╛ рдорддрд▓рдм рд╣реИ?

NumPy means?

A)
B)
C)
D)

Question: 12 Report Error

NumPy рдореЗрдВ рдкрд░рд┐рднрд╛рд╖рд┐рдд рд╕рдмрд╕реЗ рдорд╣рддреНрд╡рдкреВрд░реНрдг рд╡рд╕реНрддреБ рдПрдХ N-рдЖрдпрд╛рдореА рд╕рд░рдгреА рдкреНрд░рдХрд╛рд░ рд╣реИ рдЬрд┐рд╕реЗ рдХрд╣рд╛ рдЬрд╛рддрд╛ рд╣реИ?

The most important object defined in NumPy is an N-dimensional array type called?

A)
B)
C)
D)

Question: 13 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдХрдерди рдЕрд╕рддреНрдп рд╣реИ?

Which of the following statements is false?

A)
B)
C)
D)

Question: 14 Report Error

рдирд┐рдореНрди рдореЗрдВ рд╕реЗ рдХреМрди ufuncs рдореЗрдВ рдкреНрд░рдпреБрдХреНрдд рдмрдлрд░ рдХреЗ рдЖрдХрд╛рд░ рдХреЛ рд╕реЗрдЯ рдХрд░рддрд╛ рд╣реИ?What is Fortran order in NumPy?

Which of the following sets the size of the buffer used in ufuncs? What is Fortran order in NumPy?

A)
B)
C)
D)

Question: 15 Report Error

NumPy рдореЗрдВ рдлреЛрд░рдЯреНрд░рд╛рди рдСрд░реНрдбрд░ рдХреНрдпрд╛ рд╣реИ?

What is Fortran order in NumPy?

A)
B)
C)
D)

Question: 16 Report Error

NumPy рдРрд░реЗ рдХреА рд╡рд┐рд╢реЗрд╖рддрд╛рдПрдБ рдХреНрдпрд╛ рд╣реИрдВ?

What are the properties of NumPy array?

A)
B)
C)
D)

Question: 17 Report Error

NumPy рдХрд┐рд╕рдХреЗ рджреНрд╡рд╛рд░рд╛ рд╡рд┐рдХрд╕рд┐рдд рдХрд┐рдпрд╛ рдЧрдпрд╛ рд╣реИ?

NumPy is developed by?

A)
B)
C)
D)

Question: 18 Report Error

рд╣рдо python рдореЗрдВ NumPy рд╕рд░рдгреА рдХреЗ рдЖрдХрд╛рд░ рдХреЛ рдХреИрд╕реЗ рдмрджрд▓ рд╕рдХрддреЗ рд╣реИрдВ?

How can we change the size of NumPy array in python?

A)
B)
C)
D)

Question: 19 Report Error

рд╣рдо рд╕рд┐рд╕реНрдЯрдо рдореЗрдВ numPy рдХреИрд╕реЗ рд╕реНрдерд╛рдкрд┐рдд рдХрд░рддреЗ рд╣реИрдВ?

How do we install numPy in the system?

A)
B)
C)
D)

Question: 20 Report Error

NumPy рдореЙрдбреНрдпреВрд▓ рдХреИрд╕реЗ рдЗрдореНрдкреЛрд░реНрдЯ рдХрд░реЗрдВ?

How to import NumPy modules?

A)
B)
C)
D)

Question: 21 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдкрд╛рдпрдерди рдХреЛрдб рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be the output of the following Python code?

import numpy
A=numpy.array([2,3,4,6])
B=numpy.array([5,7,8,4])
print(numpy.dot(A,B))
A)
B)
C)
D)

Question: 22 Report Error

рд╕рдВрдЦреНрдпрд╛рддреНрдордХ рдореЗрдВ рдкрд╣рдЪрд╛рди рдореИрдЯреНрд░рд┐рдХреНрд╕

Identity matrix in numpy

A)
B)
C)
D)

Question: 23 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХреЗ рд▓рд┐рдП рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be output for the following code?

import numpy as np 
a = np.array([1, 2, 3], dtype = complex) 
print a
[[ 1.+0.j, 2.+0.j, 3.+0.j]]
A)
B)
C)
D)

Question: 24 Report Error

рдЬрд┐рдирдореЗрдВ рд╕реЗ Python рд▓рд╛рдЗрдмреНрд░реЗрд░реА Pandas рдХреЗ рд╕рдорд╛рди рд╣реИред

Amongst which Python library is similar to Pandas.

A)
B)
C)
D)

Question: 25 Report Error

NumPy рдореЗрдВ рдХрд┐рди рд╡рд┐рдзрд┐рдпреЛрдВ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рдХреЗ рджреЛ рд╕рд░рдгрд┐рдпреЛрдВ рдХреЛ рдЬреЛрдбрд╝рд╛ рдЬрд╛ рд╕рдХрддрд╛ рд╣реИ?

Two arrays can be joined in NumPy using which methods.

A)
B)
C)
D)

Question: 26 Report Error

NumPy np.delete() рдлрд╝рдВрдХреНрд╢рди рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд┐рд╕реА рд╕рд░рдгреА рд╕реЗ _________ рддрддреНрд╡реЛрдВ рдХреЛ рд╣рдЯрд╛рдиреЗ рдХреЗ рд▓рд┐рдП рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИред рдпрд╣ рдЗрдирдкреБрдЯ рдРрд░реЗ рд╕реЗ рд╣рдЯрд╛рдП рдЧрдП рдирд┐рд░реНрджрд┐рд╖реНрдЯ рд╕рдмрд░реЗ рдХреЗ рд╕рд╛рде рдПрдХ рдирдпрд╛ рдРрд░реЗ рд▓реМрдЯрд╛рддрд╛ рд╣реИред

The NumPy np.delete() function is used to delete _______________ elements from an array. It returns a new array with the specified subarray deleted from the input array.

A)
B)
C)
D)

Question: 27 Report Error

рдЗрди рджреЛ рдХрдердиреЛрдВ рдкрд░ рд╡рд┐рдЪрд╛рд░ рдХрд░реЗрдВ:

Consider these two statements:

A)
B)
C)
D)

Question: 28 Report Error

рдЗрдирдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдкрд╛рдпрдерди рдХрд╛ рдЙрдкрдпреЛрдЧрдХрд░реНрддрд╛ рдкрд░рд┐рднрд╛рд╖рд┐рдд рдбреЗрдЯрд╛ рдкреНрд░рдХрд╛рд░ рд╣реИ?

Which of these is user defined data type of Python ?

A)
B)
C)
D)

Question: 29 Report Error

рдкрд╛рдпрдерди рдХрд╛ _____ рдореЛрдб рдЯрд╛рдЗрдк рдХрд┐рдП рдЧрдП рд╕реНрдЯреЗрдЯрдореЗрдВрдЯ рдХрд╛ рддреБрд░рдВрдд рдкрд░рд┐рдгрд╛рдо рджреЗрддрд╛ рд╣реИред

The _____ mode of Python gives instant result of typed statement.

A)
B)
C)
D)

Question: 30 Report Error

рдбреЗрдЯрд╛ рдкреНрд░рдХрд╛рд░реЛрдВ рдХреЗ рд╕рдВрдЦреНрдпрд╛рддреНрдордХ рдкреНрд░рдХрд╛рд░ рдХреНрдпрд╛ рд╣реИрдВ?

What is Numeric Types of Data Types?

A)
B)
C)
D)

Question: 31 Report Error

рд╕реБрдиреНрди рд╕рд░рдгреА рдХреЗ рдбреЗрдЯрд╛ рдкреНрд░рдХрд╛рд░ рдХреЛ рдЦреЛрдЬрдиреЗ рдХреЗ рд▓рд┐рдП рдХрд┐рд╕ рд╡рд┐рд╢реЗрд╖рддрд╛ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИ?

Which attribute is used to find the data type of numpy array ?

A)
B)
C)
D)

Question: 32 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be the output of the following ?

import numpy as np
a = np.array( [ [ 1, 2, 3, 4 ], [ 5, 6, 7, 8 ], [ 9, 10, 11, 12, ] ])
print (a[ 2, 2 ])
A)
B)
C)
D)

Question: 33 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be output for the following code ?

import numpy as np
a = np.array ( [ 1, 2, 1, 5, 8 ])
b = np.array ( [ 0, 1, 5, 4, 2 ])
c = a - b
print ( c[ 4 ] )
A)
B)
D)

Question: 34 Report Error

рд╕реБрдиреНрди рд╕рд░рдгреА рдХреА рд╡рд┐рд╢реЗрд╖рддрд╛рдПрдБ рдХреНрдпрд╛ рд╣реИрдВ?

What are the attributes of numpy array ?

A)
B)
C)
D)

Question: 35 Report Error

NumPY рдХрд╛ рдорддрд▓рдм рд╣реИ?

NumPY stands for ?

A)
B)
C)
D)

Question: 36 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдХреНрдпрд╛ рд╣реИ?

What is the purpose of the following code ?

import numpy as np 
z=[1,2,3] 
y=np.array(z)
A)
B)
C)
D)

Question: 37 Report Error

Numpy рд╕рд╛рд░рдгреА рдореЗрдВ рдкреНрд░рдпреБрдХреНрдд рд╢реВрдиреНрдп () рдлрд╝рдВрдХреНрд╢рди рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдХреНрдпрд╛ рд╣реИ?

What is the purpose of zeros() function used in Numpy array ?

A)
B)
C)
D)

Question: 38 Report Error

NumPY рдХрд╛ рдЕрд░реНрде рд╣реИ:

NumPY stands for :

A)
B)
C)
D)

Question: 39 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What is the output of the following code ?

import numpy as np
a = np.array ( [ [ 1, 2, 3 ] ] )
print (a. shape )
A)
B)
C)
D)

Question: 40 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be the output of the following?

import numpy as np 
a = np. array ( [ 1, 5, 4, 7, 8 ] )
a = a + 1
print ( a [ 1 ])
A)
B)
C)
D)

Question: 41 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be the output of the following ?

import numpy as np
print ( np. maximum( [ 2, 3, 4, ], [ 1, 5, 2 ]))
A)
B)
C)
D)

Question: 42 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be the output of the following ?

import numpy as np
a = np.array (4)
b = np. arange ( 4 )
print( a + b )
A)
B)
C)
D)

Question: 43 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What is the output of the following code ?

import numpy as np
y = np.array( [ [ 11, 12, 13, 14, ], [ 32, 33, 34, 35 ] ] )
print (y.ndim)
A)
B)
C)
D)

Question: 44 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What is the output of the following code ?

import numpy as np 
a = np.array( [ 1.1, 2, 3 ] )
print(a.dtype )
A)
B)
C)
D)

Question: 45 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХрд╛ рдЖрдЙрдЯрдкреБрдЯ рдХреНрдпрд╛ рд╣реЛрдЧрд╛?

What will be output for the following code ?

import numpy as np
a = np.array( [11, 2, 3 ] )
print(a.min())
A)
B)
C)
D)

Question: 46 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХрд╛ рдкрд░рд┐рдгрд╛рдо рдХреНрдпрд╛ рд╣реИ ?

What is the output of the following code ?

import numpy as np 
a = np.array( [ [1, 2, 3, ], [4, 5, 6 ], [7, 8, 9 ] ] )
print(a.shape )
A)
B)
C)
D)

Question: 47 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХрд╛ рдкрд░рд┐рдгрд╛рдо рдХреНрдпрд╛ рд╣реИ ?

What is the output of the following code ?

import numpy as np
a = np.array( [ [1, 2, 3 ] ] )
print(a.ndim )
A)
B)
C)
D)

Question: 48 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХрд╛ рдЙрджреНрджреЗрд╢реНрдп рдХреНрдпрд╛ рд╣реИ?

What will be output for the following code ?

import numpy as np 
a = np.array( [ [1, 2, 3 ], [0, 1, 4 ], [11, 22, 33 ] ] )
print (a.size )
A)
B)
C)
D)

Question: 49 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХрд╛ рдкрд░рд┐рдгрд╛рдо рдХреНрдпрд╛ рд╣реИ ?

What is the output of the following code ?

import numpy as np 
a = np.array( [ 1, 2, 3, 4, 8 ] )
b = np.array( [ 0, 3, 4, 2, 1 ] )
c = b*a
c = c + b
print (c[ 1 ])
A)
B)
C)
D)

Question: 50 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдХреЛрдб рдХрд╛ рдкрд░рд┐рдгрд╛рдо рдХреНрдпрд╛ рд╣реИ ?

What is the output of following code ?

import numpy as np 
a = np.array([[1,2,3],[4,5,6]]) 
print(a.shape)
A)
B)
C)
D)

Latest Updates