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

What will the following code output?

a,b,c=3,5,6 
b,c,a=a,b,c
print(a,” ”,b,” ”,c)

Questions No: 2/50

Which loop is used for definite iteration?
निश्चित पुनरावृति के लिए किस लूप का उपयोग किया जाता है?

Questions No: 3/50

Which loop is preferred when number of iterations is known?
जब iterations की संख्या पहले से ज्ञात हो तो कौन-सा loop preferred है?

Questions No: 4/50

Which loop condition is used in the algorithm to find the GCD of two numbers using Euclid's method?
Euclid's method से GCD निकालने वाले algorithm में कौन-सी loop condition उपयोग होती है?

Questions No: 5/50

What will be the output of the following Python code?

from math import pow
print(math.pow(2,3))

Questions No: 6/50

What is the output of following Python code?

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


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

Which relational operator means not equal to?
कौन सा संबंधवाचक संवाहक 'बराबर नहीं' का अर्थ दर्शाता है?

Questions No: 9/50

What will be the output of the following expression ?

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

Questions No: 10/50

What will be the output of the following Python code?

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

Questions No: 11/50

What will be the output of the following Python code?

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

Questions No: 12/50

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

Questions No: 13/50

What value does the following expression evaluate to ?

x = 5
while x < 10:
 print(x, end='')

Questions No: 14/50

It is a combination of Operators, Operands and Constants

Questions No: 15/50

Which keyword exits a loop?
कौन सा कीवर्ड लूप से बाहर निकलता है?

Questions No: 16/50

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

Questions No: 17/50

What is the output of following code?

x = 1
y = 2
z = 3
print(x < y < z == True)

Questions No: 18/50

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

Questions No: 19/50

What will be the output of the following expression ?

x =4
print(x<<2)

Questions No: 20/50

What will the following code output?

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

Questions No: 21/50

Which of the following is not a relational opeartor in Python?
निम्नलिखित में से कौन पायथन में एक रिलेशनल ऑपरेटर नहीं है?

Questions No: 22/50

What will be the output of the following ?

import math
print(math.fact(5))

Questions No: 23/50

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

Questions No: 24/50

What will be the output of the following Python code?

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

Questions No: 25/50

What value does the following expression evaluate to ?

print(5 + 8 * ((3*5)-9)/10)

Questions No: 26/50

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Questions No: 27/50

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

Questions No: 28/50

What will be the output of the following Python statement?

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

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

What is the output of the following code?

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

Questions No: 36/50

What will be the value of the following Python expression?

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

Questions No: 37/50

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

Questions No: 38/50

What is the output of following code

print( 5 in 515)

Questions No: 39/50

What will be the value of X in the following Python expression?

x = 2+9*((3*12)-8)/10

Questions No: 40/50

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

Questions No: 41/50

What is the output?

x = 5
y = 10
print(x > 3 or y < 5 and x == 5)

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

What is the output of the following code?

print(True and False)

Questions No: 45/50

Leading white space at the beginning of each statement, which is used to determine the group of statement.

Questions No: 46/50

Which of the following types of loops are not supported in Python?
निम्नलिखित में से किस प्रकार के लूप पायथन में सपोर्ट नहीं करता हैं?

Questions No: 47/50

What is the output of the following code?

count=0
while count<3:
print(count,end=" ")
count+=1

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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