page-banner
Python M3-R5.1 MCQs SET-9
Q1.
निम्नलिखित कोड के लिए आउटपुट क्या होगा?

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. 1
B. 3
C. 9
D. 4
View Answer
Q2.
निम्नलिखित बयानों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?
a = 0
b = 3
while a + b < 8:
    a += 1
    print(a, end='')
A. 0 1 2 3 4
B. 1 2 3 4 5 6
C. 1 2 3 4 5
D. None of these
View Answer
Q3.
एक वेरिएबल को असाइन किए गए रॉ डेटा को __________ कहा जाता है।

Raw data assigned to a variable is called as __________.
A. variable
B. literal
C. identifier
D. comment
View Answer
Q4.
Numpy array में इस्तेमाल किए गए zeros() फ़ंक्शन का उद्देश्य क्या है?

What is the purpose of zeros() function used in Numpy array ?
A. To make a Matrix with all diagonal element 0
B. To make a Matrix with first row 0
C. To make a Matrix with all element 0
D. None of the above
View Answer
Q5.
NumPY का मतलब है?

NumPY stands for?
A. Numbering Python
B. Number in Python
C. Numerical Python
D. Number for Python
View Answer

Create Account