page-banner
Python M3-R5.1 MCQs SET-15
Q11.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>t = (1, 2, 4, 3) t[1:3]</code></pre>
A. (1, 2)
B. (1, 2, 4)
C. (2, 4)
D. (2, 4, 3)
View Answer
Q12.
निम्नलिखित पायथन कोड मान्य है?<break-line><break-line>Is the following Python code valid?<pre><code>a, b, c = 1, 2, 3 a, b, c</code></pre>
A. Yes, [1,2,3] is printed
B. No, invalid syntax
C. Yes, (1,2,3) is printed
D. 1 is printed
View Answer
Q13.
निम्नलिखित में से कौन सा पायथन में डेटा प्रकार नहीं है?<break-line><break-line>Which of the following is not a data type in python?
A. String
B. numbers
C. Slice
D. List
View Answer
Q14.
पीवीएम को अक्सर _________ कहा जाता है।<break-line><break-line>PVM is often called _________.
A. Python Interpreter.
B. Python compiler
C. Python Volatile machine
D. Portable virtual machine
View Answer
Q15.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>a = (1, 2) b = (3, 4) c = a + b print(c)</code></pre>
A. (4,6)
B. (1,2,3,4)
C. Error as tuples are immutable
D. None
View Answer