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

What is the output of : print(2*3**3*4)
इसका आउटपुट क्या है: print(2*3**3*4)

Questions No: 2/50

What will be the output of the following ?

import math
print(math.fact(5))

Questions No: 3/50

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

Questions No: 4/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: 5/50

find the output of following code:

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

Questions No: 6/50

What will be the result of the expression : print(10 or 0) ?
print(10 or 0 ) : का परिणाम क्या होगा?

Questions No: 7/50

What will be the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

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

Questions No: 11/50

What will be the output of following code

import math
print(math.pi)

Questions No: 12/50

What will the following code output?

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

Questions No: 13/50

Which of the following is a valid arithmetic operator in Python ?
निम्नलिखित में से कौन पायथन में एक मान्य अंकगणित ऑपरेटर है?

Questions No: 14/50

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

Questions No: 15/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: 16/50

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Questions No: 17/50

What is the output of following Python code?

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


Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

What will be the value of the following Python expression?

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

Questions No: 21/50

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

Questions No: 22/50

What will be the output of the following Python code?

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

Questions No: 23/50

What will be the output of the following expression ?

print (7//2)
print (-7//2)

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

What does ~~~~~~5 evaluate to?
~~~~~~5 का मूल्यांकन किससे होता है?

Questions No: 27/50

What will be the output of the following Python code?

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

Questions No: 28/50

What does the following code print ?

if 2 + 5 == 8:
    print("TRUE")
else:
    print("FALSE")
print("TRUE")

Questions No: 29/50

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

Questions No: 30/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: 31/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: 32/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: 33/50

In python language, which of the following operators is the correct option for raising k to the power 1?
पायथन भाषा में, k को पावर 1 तक बढ़ाने के लिए निम्नलिखित में से कौन सा ऑपरेटर सही विकल्प है?

Questions No: 34/50

What will the following code output?

a=5;b=7	
b=a
print(a,” ”,b)

Questions No: 35/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: 36/50

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

Questions No: 37/50

Which statement can be use to swap the values of an and b
a और b के मानों को स्वैप करने के लिए किस कथन का उपयोग किया जा सकता है?

Questions No: 38/50

What will be the output of the following Python code?

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

Questions No: 39/50

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

Questions No: 40/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: 41/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: 42/50

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

Questions No: 43/50

What will the following code output?

a=5 
a*=10
print(a)

Questions No: 44/50

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

Questions No: 45/50

What is the output of the code print (9//2)
कोड प्रिंट का आउटपुट क्या है (9//2)

Questions No: 46/50

Which of the following is a floor division operator?
निम्न में से कौन फ्लोर डिवीजन ऑपरेटर है?

Questions No: 47/50

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

Questions No: 48/50

What will the following code output?

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

Questions No: 49/50

A loop block in python starts with a.. -
पायथन में एक लूप ब्लॉक एक... से शुरू होता है

Questions No: 50/50

What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?