O Level - Operators Expressions And Python Statements
Questions No: 1/50

How many times will loop run? for a in "56247839"
लूप कितनी बार चलेगा? for a in "56247839"

Questions No: 2/50

What will be the output of the following Python statement?

print(chr(ord('A')+32))

Questions No: 3/50

Which among the following list of operators has the highest precedence?

+, -, **, %, /, <<, >>, |

Questions No: 4/50

What is the output of the following?

m=0
while m<5:
    m+=1
    if m==3:
        break
    else: print(0)

Questions No: 5/50

which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :

Questions No: 6/50

What will the following code output? print(4 & 5)
निम्नलिखित कोड आउटपुट क्या होगा? print(4 & 5)

Questions No: 7/50

What will the following code output? print(5/0)
निम्नलिखित कोड आउटपुट क्या होगा? print(5/0)

Questions No: 8/50

What will the following code output?

a=555 
b=55
print( b in a)

Questions No: 9/50

Can we write if / else into one line in python?
क्या हम पाइथन में एक लाइन में if / else लिख सकते हैं?

Questions No: 10/50

What will be the value of the following Python expression?

print(float(4+int(2.39)%2))

Questions No: 11/50

What is the the value of x when x=math.factorial(0)
x का मान क्या है जब x=math.factorial(0)

Questions No: 12/50

What will the following code output?

x=0
if x:
print("True")
else:
print("False")

Questions No: 13/50

What will be the output of the following Python code?

x = "abcdef"
i = "i"
while i in x:
    print(i, end=" ")

Questions No: 14/50

Which of the following is not a valid keyword of Python associated with loops?
निम्नलिखित में से कौन लूप से सम्बन्धित पायथन का वैलिड कीवर्ड नहीं है?

Questions No: 15/50

Which of the following refers to mathematical function?
निम्नलिखित में से कौन गणितीय फंक्शन को संदर्भित करता है

Questions No: 16/50

For two objects x and y, the expression x is y will yield True, if and only if
दो वस्तुओं x और y के लिए, व्यंजक x, y है, सत्य प्राप्त करेगा, यदि और केवल यदि

Questions No: 17/50

What will be the output of the following Python code?

for i in range(2.0):
    print(i)

Questions No: 18/50

How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?

Questions No: 19/50

Which of the following expressions is an example of type conversion?
निम्न में से कौन सा एक्सप्रेशन्स कन्वर्श़न प्रकार का एक उदाहरण है?

Questions No: 20/50

What will be the output of the following :print( (5*2-4*8)%7)
निम्नलिखित कोड का आउटपुट क्या होगा? : print( (5*2-4*8)%7)

Questions No: 21/50

What will be the output of the following Python code snippet?

x = 2
for i in range(x):
    x += 1
    print (x)

Questions No: 22/50

What is the output of the following?
n=5
while n>0:
    n-=1
    if n==2:
        continue
    print(n,end=' ')

Questions No: 23/50

What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?

Questions No: 24/50

Changing one data type to another is known as
एक डेटा प्रकार को दूसरे में बदलना कहलाता है

Questions No: 25/50

Which symbol is used for bitwise XOR operator
बिटवाइज़ XOR ऑपरेटर के लिए कौन सा प्रतीक प्रयोग किया जाता है?

Questions No: 26/50

What will be the output of the following Python code?

i = 1
while True:
    if i%2 == 0:
        break
    print(i)
    i += 2

Questions No: 27/50

What will be the output of the following Python code snippet?

 x = 'abcd'
for i in range(len(x)):
    x = 'a'
    print(x)

Questions No: 28/50

What will be the output of the following Python code?

i = 1
while True:
    if i%7 == 0:
        break
    print(i)
    i += 1

Questions No: 29/50

What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)

Questions No: 30/50

Which one of the following has the highest precedence in the expression?
निम्नलिखित में से किसकी एक्सप्रेशन में हाईएस्ट प्रेसिडेन्स है?

Questions No: 31/50

Which of the following operators has the highest precedence?
निम्नलिखित में से किस ऑपरेटर की सर्वोच्च प्राथमिकता है?

Questions No: 32/50

Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है

Questions No: 33/50

Which of the following function returns the ASCII/Unicode value character?
निम्नलिखित में कौन सा फक्शन ASCII/Unicode वैल्यू कैरेक्टर रिटर्न करता है?

Questions No: 34/50

What will be the output of the following Python code?

x = 'abcd'
for i in range(x):
    print(i)

Questions No: 35/50

What is the return value of trunc()?
trunc() फंक्शन क्या रिटर्न करेगा ?

Questions No: 36/50

What will be the output of this code? print(2 ** 3)
इस कोड का आउटपुट क्या होगा? print(2 ** 3)

Questions No: 37/50

Which of the following will give error ?
निम्नलिखित में से कौन त्रुटि देगा?

Questions No: 38/50

What will be the output of the following Python code?

x = ['ab', 'cd']  
for i in x:      
    x.append(i.upper())  
print(x)

Questions No: 39/50

_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।

Questions No: 40/50

What is the output of following Python code?

>>print(5*(2//3))


Questions No: 41/50

What will be the result of the expression: 15 and 10?
व्यंजक 15 और 10 का परिणाम क्या होगा?

Questions No: 42/50

What will be the output of the following Python code?

i = 2
while True:
    if i%3 == 0:
        break
    print(i)
    i += 2

Questions No: 43/50

which function is used to get the ASCII value of any Character in PYthon?
पायथन में किसी भी वर्ण का ASCII मान प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

Questions No: 44/50

what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)

Questions No: 45/50

What will the following code output?

a=55	
b=’55’
print( a is not b)

Questions No: 46/50

what will the output of following : print(2+9*((3*12)-8)/10)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 2+9*((3*12)-8)/10)

Questions No: 47/50

elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है

Questions No: 48/50

What will the following code output?

a=5 
a*=10
print(a)

Questions No: 49/50

_____ function convert an integer to octal string in python.
पायथन में ______ फंक्शन एक इंटीजर को ऑक्टल स्ट्रिंग में परिवर्तित करता है।

Questions No: 50/50

The result of abs() is equal to math.fabs()?
क्या abs() फंक्शन math.fabs() के बराबर है?