page-banner
Python M3-R5.1 MCQs SET-16
Q1.
पायथन में खाली सेट बनाने के लिए कौन से विकल्प सही हैं?<break-line><break-line>Which options are correct to create an empty set in Python?
A. {}
B. []
C. ()
D. Set ()
View Answer
Q2.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Python code?<pre><code>a={3,4,5} b={5,6,7} print(a|b)</code></pre>
A. Invalid operation
B. {3, 4, 5, 6, 7}
C. {5}
D. {3,4,6,7}
View Answer
Q3.
निम्नलिखित कोड का परिणाम क्या है<break-line><break-line>What is the output of the following code<pre><code>x = 100 y = 50 print(x and y)</code></pre>
A. True
B. 100
C. False
D. 50
View Answer
Q4.
पायथन में टिप्पणियों को जोड़ने के लिए किस विशेष प्रतीक का उपयोग किया जाता है?<break-line><break-line>Which is the special symbol used in python to add comments?
A. $
B. //
C. /*………..*/
D. #
View Answer
Q5.
निम्नलिखित पायथन कोड का मूल्य क्या है<break-line><break-line>What is the value of the following Python code<pre><code>print(36 / 4)</code></pre>
A. 36
B. 9.0
C. 9
D. 4.0
View Answer