O Level - Numpy Basics
Questions No: 1/50

What is a correct method to join two or more arrays?
दो या दो से अधिक सरणियों में शामिल होने का सही तरीका क्या है?

Questions No: 2/50

How can you create a NumPy array from a Python list?
आप Python सूची से NumPy सरणी कैसे बना सकते हैं?

Questions No: 3/50

What is the output of the following code?

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


Questions No: 4/50

empty( ) function used to create a NumPy array which contained the values
empty() फ़ंक्शन का उपयोग NumPy सरणी बनाने के लिए किया जाता है जिसमें मान होते हैं

Questions No: 5/50

What is the use of the zeros() function in Numpy array in python ?
पायथन में Numpy ऐरे में zero() फंक्शन का उपयोग है

Questions No: 6/50

What will be the output of the following ?

import numpy as np
a = np.array( [2, 3, 4, 5] )
b = np.arange(4)
print(a+b)

Questions No: 7/50

What will be the output of the following ?

import numpy as np
a = np.arange(5,1)
print(a)

Questions No: 8/50

which one is the correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?

Questions No: 9/50

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])

Questions No: 10/50

What is the main object type in NumPy that represents homogeneous arrays?
NumPy में मुख्य ऑब्जेक्ट प्रकार क्या है जो सजातीय सरणियों का प्रतिनिधित्व करता है?

Questions No: 11/50

Attribute of array determines
ऐरे के एट्रिब्यूट से क्या क्या पता कर सकते है

Questions No: 12/50

What will be the output?

import numpy as np
a = np.array([[1,2],[3,4]])
print(a.shape)

Questions No: 13/50

NumPy arrays used over lists because
NumPy ऐरे का उपयोग लिस्ट पर किया जाता है क्योंकि

Questions No: 14/50

What is NumPy?
NumPy क्या है?

Questions No: 15/50

What is the primary purpose of NumPy in Python?
Python में NumPy का प्राथमिक उद्देश्य क्या है?

Questions No: 16/50

What is zeros() function in numpy use to?
numpy उपयोग में zeros() फ़ंक्शन क्या है?

Questions No: 17/50

Which function creates a NumPy array from a list?
कौन सा फ़ंक्शन किसी सूची से NumPy ऐरे बनाता है?

Questions No: 18/50

Which of the following argument we need to pass in reshape function.
निम्नलिखित में से कौन सा आर्गुमेन्ट हमें reshape फंक्शन में पास करने की आवश्यकता होती है।

Questions No: 19/50

What will be the output of the following ?

import numpy as np
a=np.array([2,4,1])
b=a.copy()
a[1]=3
print(b)

Questions No: 20/50

What will be the output of the following ?

import numpy as np
a=np.array([2,4,1])
b=np.array([3,5])
c=a+b
print(c)

Questions No: 21/50

Which function creates linearly spaced values?
कौन सा फ़ंक्शन रैखिक रूप से व्यवस्थित मान उत्पन्न करता है?

Questions No: 22/50

What will be the output of the following Python code?

len(["hello",2, 4, 6])

Questions No: 23/50

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)

Questions No: 24/50

Regarding creating ndarray, choose the build in functions in numpy.
Ndarray बनाने के संबंध में, numpy में बिल्ड इन फ़ंक्शंस चुनें।

Questions No: 25/50

The most important object defined in NumPy is an N-dimensional array type called?
NumPy में परिभाषित सबसे महत्वपूर्ण एक ऑब्जेक्ट न डायमेंशन ऐरे का प्रकार है जिसे कहा जाता है?

Questions No: 26/50

Which of the following returns an array of ones with the same shape and type as a given array?
निम्नलिखित में से कौन दिए गए ऐरे के समान आकार और प्रकार का एक ऐरे देता है?

Questions No: 27/50

What is a correct method to split arrays?
सरणियों को विभाजित करने का सही तरीका क्या है?

Questions No: 28/50

Getting and setting the value of individual array elements:
पर्टिकुलर ऐरे एलिमेंट का मान प्राप्त करना और सेट करना

Questions No: 29/50

Which of the following Numpy operation are correct?
निम्नलिखित में से कौन सा Numpy ऑपरेशन सही है?

Questions No: 30/50

What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?

Questions No: 31/50

What are the attributes of numpy array?
Numpy सरणी के गुण क्या हैं?

Questions No: 32/50

What does size attribute in numpy use to find?
numpy में numpy एट्रिब्यूट का क्या उपयोग है

Questions No: 33/50

What is the purpose of the np.array() function in NumPy?
NumPy में np.array() फ़ंक्शन का उद्देश्य क्या है?

Questions No: 34/50

What is a correct syntax to check the number of dimensions in an array?
ऐरे में डायमेंशन की संख्या की जांच करने के लिए सही सिंटैक्स क्या है?

Questions No: 35/50

What is the output of the following code?

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

Questions No: 36/50

What will be the output of the following ?

import numpy as np
a=np.array([2,4])
b=np.array([3,5])
c=a*b
print(c)

Questions No: 37/50

What is the purpose of zeros() function used in NumPy array ?
NumPy सरणी में उपयोग किए जाने वाले शून्य () फ़ंक्शन का उद्देश्य क्या है?

Questions No: 38/50

Using ndim we can find
ndim का उपयोग करके हम पा सकते हैं

Questions No: 39/50

What is a correct syntax to create a NumPy array?
NumPy array बनाने के लिए सही सिंटैक्स क्या है?

Questions No: 40/50

Getting and setting smaller subarrays within a larger array
एक बड़े ऐरे से छोटे ऐरे को प्राप्त करना और सेट करना

Questions No: 41/50

The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।

Questions No: 42/50

Which syntax would print the last 3 numbers from the array below:

arr = np.array([1,2,3,4,5,6,7])

Questions No: 43/50

What is a correct syntax to print the numbers [3, 4, 5] from the array below:

arr = np.array([1,2,3,4,5,6,7])

Questions No: 44/50

What will be output for the following code?

import numpy as np
a=np.array([[1,2,3],[0,1,4]])
print (a.size)

Questions No: 45/50

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)

Questions No: 46/50

Which of the following is used to find the largest element in numpy array
नमपाई ऐरे में सबसे बड़े डाटा को खोजने के लिए निम्नलिखित में से किसका उपयोग किया जाता है

Questions No: 47/50

Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?

Questions No: 48/50

What will be the output of the following ?

import numpy as np
arr=np.array([1,2,3])
print(arr.shape)

Questions No: 49/50

NumPy arrays can be
NumPy ऐरे में क्या क्या हो सकता है

Questions No: 50/50

What is the output of the following code ?

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