page-banner
Python M3-R5.1 MCQs SET-5
Q11.
numpy array के डाटा टाइप को खोजने के लिए किस एट्रिब्यूट का प्रयोग किया जाता है ?

Which attribute is used to find the data type of numpy array?
A. type(array)
B. dtype
C. objects.type(array)
D. numpy(type)
View Answer
Q12.
निम्नलिखित कोड के लिए आउटपुट क्या होगा?

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
c = c*a
print(c[2])
A. 6
B. 10
C. Zero
D. None of these
View Answer
Q13.
नीचे दिए गए प्रोग्राम का आउटपुट क्या है?

What is the output of the below program ?

def func(a, b=5, c=10):
    print('a is', a, 'and b is', b, 'and c is', c)
func(3, 7)
func(25, c=24)
func(c=50, a=100)
A. a is 7 and b is 3 and c is 10<break-line>a is 25 and b is 5 and c is 24<break-line>a is 5 and b is 100 and c is 50
B. a is 3 and b is 7 and c is 10<break-line>a is 5 and b is 25 and c is 24<break-line>a is 50 and b is 100 and c is 5
C. a is 3 and b is 7 and c is 10<break-line>a is 25 and b is 5 and c is 24<break-line>a is 100 and b is 5 and c is 50
D. None of the mentioned
View Answer
Q14.
कोई भी एल्गोरिथम उचित सिंटैक्स के अनुसार लिखा गया प्रोग्राम है।

Any algorithm is a program written according to proper syntax.
A. True
B. False
C. Can’t say
D. May be
View Answer
Q15.
सीएसवी का फुल फॉर्म क्या होता है?

What is full form of CSV?
A. Comma Separation Value
B. Comma Separated Variable
C. Comma Separated Values
D. Common Syntax Value
View Answer

Create Account