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

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

Questions No: 2/50

What will be the output of the following Python code?

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

Questions No: 3/50

What will the following code output?

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

Questions No: 4/50

what will be the output of :print( 22//3+3/3)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 22//3+3/3)

Questions No: 5/50

What will be the output of the following pseudocode, where ^ represent XOR operation ?

Integer a, b, c
set b = 4, a = 3
c =a ^ b
Print c

Questions No: 6/50

An empty/null statement in Python is
पायथन में एक खाली/शून्य कथन है

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/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: 10/50

What will be the output of following expression : print(10/2+3*5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10/2+3*5)

Questions No: 11/50

What will be the output of the following Python statement?

print(chr(ord('b')+1))

Questions No: 12/50

Which logical operator returns True if both conditions are True?
कौन सा लॉजिकल ऑपरेटर दोनों शर्तों के सत्य होने पर सत्य मान लौटाता है?

Questions No: 13/50

What will be the value of the following Python expression?

print(4+2**5//10)

Questions No: 14/50

Which of the following has the highest precedence?
निम्नलिखित में से किसका वरीयता स्तर सबसे अधिक है?

Questions No: 15/50

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

Questions No: 16/50

what will the output of x=5+8*((3*5)-9)/10
x=5+8*((3*5)-9)/10 का आउटपुट क्या होगा

Questions No: 17/50

Which term describes a loop that continues repeating without a terminating (ending) condition ?
कौन सा शब्द एक लूप का वर्णन करता है जो बिना किसी समाप्ति (समाप्त) स्थिति के दोहराना जारी रखता है?

Questions No: 18/50

Provide the output for the expression: list = [1, 2] + [3, 4]
list= [1, 2] + [3, 4] का आउटपुट क्या होगा

Questions No: 19/50

Which operator is used for exponentiation?
घातांक करने के लिए किस ऑपरेटर का उपयोग किया जाता है?

Questions No: 20/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: 21/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: 22/50

Which statement is used for debugging?
डिबगिंग के लिए किस कथन का उपयोग किया जाता है?

Questions No: 23/50

What is the output of the following?

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

Questions No: 24/50

What will the following code output?

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

Questions No: 25/50

What is the output of following code

print( 5 in 515)

Questions No: 26/50

Evaluate the expression A%B//A if the value of A= 16 and b= 15
एक्सप्रेशन A%B//A का मूल्यांकन करें यदि A=16 और b=15 का मान है

Questions No: 27/50

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

Questions No: 28/50

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

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

Questions No: 29/50

Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन range(10, 5, -2) एक पुनरावर्तनीय अनुक्रम उत्पन्न करेगा जैसे

Questions No: 30/50

Which bitwise operator represents AND?
कौन सा बिटवाइज़ ऑपरेटर AND को दर्शाता है?

Questions No: 31/50

What will be the output of following code

import math
print(math.pi)

Questions No: 32/50

Give the output of : print((range(4)))
print((range(4))) का आउटपुट क्या होगा

Questions No: 33/50

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

Questions No: 34/50

_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है

Questions No: 35/50

find the output of following code:

import math
print(math.fabs(-3.4))

Questions No: 36/50

What is the output of >>>float('12.6')
>>>float('12.6') का आउटपुट क्या होगा

Questions No: 37/50

What will be the output of the following Python statement?

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

Questions No: 38/50

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

Questions No: 39/50

What will be the output after the following statements?

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

Questions No: 40/50

What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा

Questions No: 41/50

Function range(0, 5, 2) will yield on iterable sequence like
फ़ंक्शन रेंज (0, 5, 2) चलने योग्य अनुक्रम पर उत्पन्न होगी जैसे

Questions No: 42/50

What is the output of following Python code?

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


Questions No: 43/50

What is the output?

x = 5
print(bool(x))

Questions No: 44/50

What is the output of the following code?

for i in range(3):
print(i,end=" ")

Questions No: 45/50

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Questions No: 46/50

What will be the output of the following Python code?

for i in range(5):
    if i == 5:
        break
    else:
        print(i)
else:
    print("Here")

Questions No: 47/50

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

Questions No: 48/50

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

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

Questions No: 49/50

What will be the output of the following Python code?

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

Questions No: 50/50

What does the following code will print ?

x=5
if x>3:
    print("Hello")