🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Functions

Question: 101 Report Error

पहचानकर्ता का अमान्य नाम कौन सा है?

Which is invalid name of identifier?

A)
B)
C)
D)

Question: 102 Report Error

पढ़ने और लिखने के लिए पायथन में फ़ाइल खोलने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?

Which of the following is used to open a file in Python for reading and writing?

A)
B)
C)
D)

Question: 103 Report Error

इनमें से कौन सा कोर डेटा प्रकार नहीं है?

Which of these is not a core data type ?

A)
B)
C)
D)

Question: 104 Report Error

निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक स्ट्रिंग को फ्लोट में परिवर्तित करता है?

Which of the following functions converts a string to a float in python ?

A)
B)
C)
D)

Question: 105
Verified by Expert

निम्नलिखित प्रोग्राम का आउटपुट क्या है?

What is the output of this expression.

3*1**3
A)
B)
C)
D)
Explanation
In most programming languages (like Python), the exponentiation operator (**) has higher precedence than the multiplication operator (*).

Correct Answer: B) 3


Question: 106 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है?

What is the output of the following program

Print( 0.1+0.2==0.3 )
A)
B)
C)
D)

Question: 107 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है?

What is the output of the following code ?

print(bool(0), bool(3.14159), bool(23), bool(1.0+1j))
A)
B)
C)
D)

Question: 108 Report Error

परिवर्तनीय नामों के लिए निम्नलिखित में से कौन सा सत्य है?

Which of the following is true for variable names ?

A)
B)
C)
D)

Question: 109 Report Error

पायथन में, निम्नलिखित में से कौन सा फ़ंक्शन एक अंतर्निहित फ़ंक्शन है?

In python, which of the following functions is a built-in function ?

A)
B)
C)
D)

Question: 110 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है? अगर यूजर 55 डाले

What is the output, if user has entered 55 ?

a=input("Enter a number") 
print(type(a))
A)
B)
C)
D)

Question: 111 Report Error

print((3)** 2) का आउटपुट क्या है?

What is the output of print((3)** 2) ?

A)
B)
C)
D)

Question: 112 Report Error

निम्नलिखित में से कौन सी परिवर्तनीय घोषणा गलत है?

Which of the following variable declaration is incorrect ?

A)
B)
C)
D)

Question: 113 Report Error

पायथन भाषा में कोड के ब्लॉक को परिभाषित करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?

Which of the following is used to define a block of code in Python language ?

A)
B)
C)
D)

Question: 114
Verified by Expert

आउटपुट क्या होगा

What will be the output

0xA + 0xB + 0xC
A)
B)
C)
D)
Explanation
The expression 0xA + 0xB + 0xC in Python treats the inputs as decimal integers: 0xA is 10 0xB is 11 0xC is 12 Sum: 10+11+12=33

Correct Answer: B) 33


Question: 115
Verified by Expert

पायथन में अंतर्निहित फ़ंक्शन है:

The built-in function in Python is:

A)
B)
C)
D)

Question: 116 Report Error

Id() फ़ंक्शन हमेशा ………… प्रकार का मान लौटाता है।

The id() function always returns a value of ……………..type.

A)
B)
C)
D)

Question: 117 Report Error

क्या पायथन कोड संकलित या व्याख्या किया गया है?

Is Python code compiled or interpreted?

A)
B)
C)
D)

Question: 118 Report Error

पायथन में एक चर के डेटा प्रकार को जानने के लिए निम्न में से किस फ़ंक्शन का उपयोग किया जाता है?

Which of the following function is used to know the data type of a variable in Python?

A)
B)
C)
D)

Question: 119 Report Error

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code ?

example = “helle” example.rfind(“e”)
A)
B)
C)
D)

Question: 120 Report Error

>>>‟2‟+‟3‟ का आउटपुट क्या है

What is the output of >>>?2?+?3?

A)
B)
C)
D)

Question: 121 Report Error

निम्नलिखित कोड क्या प्रिंट करता है?

What does the following code print?

x = 'mohan' 
for i in range(len(x)): 
       x[i].upper() 
print (x)
A)
B)
C)
D)

Question: 122 Report Error

निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।

Find the output of following Python Programs.

a = “Meetmeafterparty”
b=13
print(a+b)
A)
B)
C)
D)

Question: 123 Report Error

निम्नलिखित कोड का आउटपुट क्या होगा?

What will be the output of following code ?

x = ['XX', 'YY'] 
for i in x 
i.lower() 
print(x)
A)
B)
C)
D)

Question: 124 Report Error

निम्नलिखित कोड का आउटपुट क्या होगा?

What will following code segment print ?

a = True b = False c = False 
if a or b and c: 
        print "HELLO" 
else: 
       print "hello"
A)
B)
C)
D)

Question: 125 Report Error

स्ट्रिप() विधि का उपयोग इसके लिए किया जाता है:

strip() method is used for :

A)
B)
C)
D)

Question: 126 Report Error

निम्नलिखित का आउटपुट क्या है?

What is the output of the following code snippet ?

print([i.lower() for i in “HELLO”])
A)
B)
C)
D)

Question: 127 Report Error

निम्नलिखित कथन का आउटपुट क्या होगा?

What will be the output of following statement ?

>>>”m”+”nl”
A)
B)
C)
D)

Question: 128 Report Error

निम्नलिखित में से कौन से पायथन में वैध स्ट्रिंग मैनिपुलेशन फ़ंक्शन हैं

Which of the following are valid string manipulation functions in Python ?

A)
B)
C)
D)

Question: 129 Report Error

निम्नलिखित कोड निष्पादित होने पर आउटपुट क्या है?

What is the output when following code is executed ?

>>>str1=”helloworld” .
>>>str1[::-1]
A)
B)
C)
D)

Question: 130 Report Error

एक स्ट्रिंग x='hello' देखते हुए x.count('l') का आउटपुट क्या है?

Given a string x=”hello” What is the output of x.count(‘l’) ?

A)
B)
D)

Question: 131 Report Error

पायथन में सूचियों के साथ प्रयोग किए जाने पर पॉप() विधि क्या करती है?

What does the pop() method do when used with lists in Python?

A)
B)
C)
D)

Question: 132 Report Error

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?

What will be the output of the following expression ?

a = 2 
b = 8 
print(a | b) 
print(a >> 1)
A)
B)
C)
D)

Question: 133 Report Error

नीचे दिए गए प्रोग्राम का आउटपुट क्या है?

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))
A)
B)
C)
D)

Question: 134 Report Error

निम्नलिखित कथनों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?

for i in range(1,6): 
        print(i, end='') 
        if i == 3: 
        break
A)
B)
C)
D)

Question: 135 Report Error

निम्नलिखित अभिव्यक्ति किस मूल्य का मूल्यांकन करती है?

What value does the following expression evaluate to ?

x = 5 
while x < 10: 
    print(x, end='')
A)
B)
C)
D)

Question: 136 Report Error

पायथन में टेल () विधि का उपयोग क्या है?

What is the use of tell() method in python?

A)
B)
C)
D)

Question: 137 Report Error

आइए मान लें कि 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)
A)
B)
C)
D)

Question: 138 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What does the following code print ?

if 2 + 5 == 8:
    print("TRUE") 
else:
    print("FALSE") 
    print("TRUE")
A)
B)
C)
D)

Question: 139 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What will be the output of the following?

print((range(4)))
A)
B)
C)
D)

Question: 140 Report Error

अभिव्यक्ति का आउटपुट क्या है:

What is the output of the expression :

3*1**3 ?
A)
B)
C)
D)

Question: 141 Report Error

आउटपुट निर्धारित करें:

Determine the output :

for i in range(20,30,10) : 
    j=i/2 
    print(j)
A)
B)
C)
D)

Question: 142 Report Error

निम्नलिखित पायथन कोड का आउटपुट क्या है?

What is the output of following Python code ?

>>>print(5*(2//3))
A)
B)
C)
D)

Question: 143 Report Error

पिकल.डंप() विधि के लिए निम्नलिखित में से कौन सा पैरामीटर आवश्यक है

Which of the following parameters required for pickle.dump() method

A)
B)
C)
D)

Question: 144 Report Error

हर बार डंप() कॉल करने पर उपयोगकर्ता को लोड() को कॉल करना होगा।

User need to call load() each time dump() is called.

A)
B)
C)
D)

Question: 145 Report Error

पायथन कंसोल से बाइनरी फ़ाइल में स्टीम डेटा लिखने के लिए निम्नलिखित में से किस फ़ंक्शन का उपयोग किया जाता है?

Which of the following function is used to write steam data from python console to binary file?

A)
B)
C)
D)

Question: 146 Report Error

निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा?

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)
A)
B)
C)
D)

Question: 147 Report Error

निम्नलिखित में से कौन शब्दकोष में 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”}
A)
B)
C)
D)

Question: 148 Report Error

निम्नलिखित में से शब्दकोश का कौन सा फ़ंक्शन शब्दकोश से सभी कुंजियाँ प्राप्त करता है?

Which of the following function of dictionary gets all the keys from the dictionary ?

A)
B)
C)
D)

Question: 149 Report Error

निम्नलिखित में से कौन सा सही है?

What is the output of the following code?

dict={"Joey":1,"Rachel":2} 
dict.update({"Phoebe":2}) 
print(dict)
A)
B)
C)
D)

Question: 150 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of following ?

Y=[2,5J,6] 
Y.sort()
A)
B)
C)
D)

Latest Updates