page-banner
Python M3-R5.1 MCQs SET-16
Q1.
पायथन में खाली सेट बनाने के लिए कौन से विकल्प सही हैं?

Which options are correct to create an empty set in Python?
A. {}
B. []
C. ()
D. Set ()
View Answer
Q2.
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?
a={3,4,5}
b={5,6,7}
print(a|b)
A. Invalid operation
B. {3, 4, 5, 6, 7}
C. {5}
D. {3,4,6,7}
View Answer
Q3.
निम्नलिखित कोड का परिणाम क्या है

What is the output of the following code
x = 100
y = 50
print(x and y)
A. True
B. 100
C. False
D. 50
View Answer
Q4.
पायथन में टिप्पणियों को जोड़ने के लिए किस विशेष प्रतीक का उपयोग किया जाता है?

Which is the special symbol used in python to add comments?
A. $
B. //
C. /*………..*/
D. #
View Answer
Q5.
निम्नलिखित पायथन कोड का मूल्य क्या है

What is the value of the following Python code
print(36 / 4)
A. 36
B. 9.0
C. 9
D. 4.0
View Answer

Create Account