Functions
पहचानकर्ता का अमान्य नाम कौन सा है?
Which is invalid name of identifier?
पढ़ने और लिखने के लिए पायथन में फ़ाइल खोलने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
Which of the following is used to open a file in Python for reading and writing?
इनमें से कौन सा कोर डेटा प्रकार नहीं है?
Which of these is not a core data type ?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक स्ट्रिंग को फ्लोट में परिवर्तित करता है?
Which of the following functions converts a string to a float in python ?
निम्नलिखित प्रोग्राम का आउटपुट क्या है?
What is the output of this expression.
3*1**3 Correct Answer: B) 3
निम्नलिखित प्रोग्राम का आउटपुट क्या है?
What is the output of the following program
Print( 0.1+0.2==0.3 ) निम्नलिखित प्रोग्राम का आउटपुट क्या है?
What is the output of the following code ?
print(bool(0), bool(3.14159), bool(23), bool(1.0+1j)) परिवर्तनीय नामों के लिए निम्नलिखित में से कौन सा सत्य है?
Which of the following is true for variable names ?
पायथन में, निम्नलिखित में से कौन सा फ़ंक्शन एक अंतर्निहित फ़ंक्शन है?
In python, which of the following functions is a built-in function ?
निम्नलिखित प्रोग्राम का आउटपुट क्या है? अगर यूजर 55 डाले
What is the output, if user has entered 55 ?
a=input("Enter a number")
print(type(a)) print((3)** 2) का आउटपुट क्या है?
What is the output of print((3)** 2) ?
निम्नलिखित में से कौन सी परिवर्तनीय घोषणा गलत है?
Which of the following variable declaration is incorrect ?
पायथन भाषा में कोड के ब्लॉक को परिभाषित करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
Which of the following is used to define a block of code in Python language ?
आउटपुट क्या होगा
What will be the output
0xA + 0xB + 0xC Correct Answer: B) 33
पायथन में अंतर्निहित फ़ंक्शन है:
The built-in function in Python is:
Id() फ़ंक्शन हमेशा ………… प्रकार का मान लौटाता है।
The id() function always returns a value of ……………..type.
क्या पायथन कोड संकलित या व्याख्या किया गया है?
Is Python code compiled or interpreted?
पायथन में एक चर के डेटा प्रकार को जानने के लिए निम्न में से किस फ़ंक्शन का उपयोग किया जाता है?
Which of the following function is used to know the data type of a variable in Python?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code ?
example = “helle” example.rfind(“e”) >>>‟2‟+‟3‟ का आउटपुट क्या है
What is the output of >>>?2?+?3?
निम्नलिखित कोड क्या प्रिंट करता है?
What does the following code print?
x = 'mohan'
for i in range(len(x)):
x[i].upper()
print (x) निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
Find the output of following Python Programs.
a = “Meetmeafterparty”
b=13
print(a+b) निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of following code ?
x = ['XX', 'YY']
for i in x
i.lower()
print(x) निम्नलिखित कोड का आउटपुट क्या होगा?
What will following code segment print ?
a = True b = False c = False
if a or b and c:
print "HELLO"
else:
print "hello" स्ट्रिप() विधि का उपयोग इसके लिए किया जाता है:
strip() method is used for :
निम्नलिखित का आउटपुट क्या है?
What is the output of the following code snippet ?
print([i.lower() for i in “HELLO”]) निम्नलिखित कथन का आउटपुट क्या होगा?
What will be the output of following statement ?
>>>”m”+”nl” निम्नलिखित में से कौन से पायथन में वैध स्ट्रिंग मैनिपुलेशन फ़ंक्शन हैं
Which of the following are valid string manipulation functions in Python ?
निम्नलिखित कोड निष्पादित होने पर आउटपुट क्या है?
What is the output when following code is executed ?
>>>str1=”helloworld” .
>>>str1[::-1] एक स्ट्रिंग x='hello' देखते हुए x.count('l') का आउटपुट क्या है?
Given a string x=”hello” What is the output of x.count(‘l’) ?
पायथन में सूचियों के साथ प्रयोग किए जाने पर पॉप() विधि क्या करती है?
What does the pop() method do when used with lists in Python?
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?
What will be the output of the following expression ?
a = 2
b = 8
print(a | b)
print(a >> 1) नीचे दिए गए प्रोग्राम का आउटपुट क्या है?
What is the output of below program ?
def maximum(x, y):
if x > y:
return x
elif x == y:
return 'The numbers are equal'
else:
return y
print(maximum(2, 3)) निम्नलिखित कथनों के बाद आउटपुट क्या होगा?
What will be the output after the following statements?
for i in range(1,6):
print(i, end='')
if i == 3:
break निम्नलिखित अभिव्यक्ति किस मूल्य का मूल्यांकन करती है?
What value does the following expression evaluate to ?
x = 5
while x < 10:
print(x, end='') पायथन में टेल () विधि का उपयोग क्या है?
What is the use of tell() method in python?
आइए मान लें कि 4 बाइनरी में 100 है और 11 1011 है। निम्नलिखित बिटवाइज़ ऑपरेटरों का आउटपुट क्या है?
Let us assume 4 is 100 in binary and 11 is 1011. What is the output of the following bitwise operators ?
a = 4
b = 11
print(a | b)
print(a >> 2) निम्नलिखित कोड का परिणाम क्या है ?
What does the following code print ?
if 2 + 5 == 8:
print("TRUE")
else:
print("FALSE")
print("TRUE") निम्नलिखित कोड का परिणाम क्या है ?
What will be the output of the following?
print((range(4))) अभिव्यक्ति का आउटपुट क्या है:
What is the output of the expression :
3*1**3 ? आउटपुट निर्धारित करें:
Determine the output :
for i in range(20,30,10) :
j=i/2
print(j) निम्नलिखित पायथन कोड का आउटपुट क्या है?
What is the output of following Python code ?
>>>print(5*(2//3)) पिकल.डंप() विधि के लिए निम्नलिखित में से कौन सा पैरामीटर आवश्यक है
Which of the following parameters required for pickle.dump() method
हर बार डंप() कॉल करने पर उपयोगकर्ता को लोड() को कॉल करना होगा।
User need to call load() each time dump() is called.
पायथन कंसोल से बाइनरी फ़ाइल में स्टीम डेटा लिखने के लिए निम्नलिखित में से किस फ़ंक्शन का उपयोग किया जाता है?
Which of the following function is used to write steam data from python console to binary file?
निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा?
What will be the output of the following code snippet ?
numbers = (4, 7, 19, 2, 89, 45, 72, 22)
sorted_numbers = sorted(numbers)
odd_numbers = [x for x in sorted_numbers if x % 2 != 0]
print(odd_numbers) निम्नलिखित में से कौन शब्दकोष में key=”tiger” के लिए कुंजी-मूल्य युग्म को हटा देगा?
Which of the following will delete key-value pair for key=”tiger” in dictionary ?
dic={“lion”:”wild”,”tiger”:”wild”,”cat”:”domestic”, “dog”.”domestic”} निम्नलिखित में से शब्दकोश का कौन सा फ़ंक्शन शब्दकोश से सभी कुंजियाँ प्राप्त करता है?
Which of the following function of dictionary gets all the keys from the dictionary ?
निम्नलिखित में से कौन सा सही है?
What is the output of the following code?
dict={"Joey":1,"Rachel":2}
dict.update({"Phoebe":2})
print(dict) निम्नलिखित का आउटपुट क्या होगा?
What will be the output of following ?
Y=[2,5J,6]
Y.sort()