page-banner
Python M3-R5.1 MCQs SET-12
Q11.
निम्नलिखित कोड का परिणाम क्या है?<break-line><break-line>What is the output of the following code ?<pre><code>def disp(*arg): for i in arg: print(i) disp(name="Rajat", age="20")</code></pre>
A. TypeError
B. Rajat 20
C. Name age
D. None of these
View Answer
Q12.
निम्नलिखित में से कौन लाइन दर लाइन प्रोग्रामिंग कोड को क्रियान्वित करता है?<break-line><break-line>Which of the following executes the programming code line by line?
A. Compiler
B. Interpreter
C. Executer
D. Translator
View Answer
Q13.
निम्नलिखित फ़ंक्शन का रिटर्न प्रकार क्या है?<break-line><break-line>What is the return type of following function ?<pre><code>def func1(): return “mnp”,22</code></pre>
A. List
B. dictionary
C. string
D. tuple
View Answer
Q14.
निम्नलिखित कोड का परिणाम क्या है?<break-line><break-line>What is the output of the following code ?<pre><code>def fun(a, b=6): a=a+b print(a) fun(5, 4)</code></pre>
A. 11
B. 9
C. 5
D. 4
View Answer
Q15.
निम्न में से कौन सा अमान्य मोड है?<break-line><break-line>Which of the following is an invalid mode ?
A. a
B. ar+
C. r+
D. w
View Answer