page-banner
Python M3-R5.1 MCQs SET-8
Q11.
किस डेटा प्रकार में अनुक्रमण मान्य नहीं है?<break-line><break-line>In which data type, indexing is not valid?
A. list
B. dictionary
C. string
D. none of the above
View Answer
Q12.
पायथन में एक सूची को दूसरे में कैसे कॉपी करें?<break-line><break-line>How to copy one list to another in Python?
A. a1 = list(a2)
B. a1 = a2.copy()
C. a1[] = a2[:]
D. All of these
View Answer
Q13.
निम्नलिखित कोड का परिणाम क्या है ?<break-line><break-line>What is the output of the following code ?<pre><code>a = 50 b = a= a*5 print(b)</code></pre>
A. 250
B. 10
C. 50
D. Syntax Error
View Answer
Q14.
पायथन किस भाषा में लिखा गया है?<break-line><break-line>In which language is Python written?
A. C
B. C++
C. Java
D. None of these
View Answer
Q15.
सही फ़ंक्शन हेडर की पहचान करें।<break-line><break-line>Identify the correct function header.
A. def fun(a=2, b=3, c)
B. def fun(a=2, b, c=3)
C. def fun(a, b=2, c=3)
D. def fun(a, b, c=3, d)
View Answer