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

What will be the value of the following Python expression?

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

Questions No: 2/50

What will be the output of the following expression ?

x =4
print(x<<2)

Questions No: 3/50

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

Questions No: 4/50

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा

Questions No: 8/50

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

Questions No: 9/50

What does the following code print ?

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

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

Which translator is used to convert assembly language into machine language?
असेंबली भाषा को मशीन भाषा में को बदलने के लिए किस अनुवादक का उपयोग किया जाता है

Questions No: 13/50

Which keyword skips current iteration?
कौन सा कीवर्ड वर्तमान पुनरावृति को छोड़ देता है?

Questions No: 14/50

Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)

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

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

Questions No: 17/50

What will be the output of the following Python statement?

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

Questions No: 18/50

What will be the output of the following Python code?

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

What will the following code output?

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

Questions No: 22/50

What will be the output of the following Python code?

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

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

What will be the output of the following expression

x=14
print(x>>2)


Questions No: 27/50

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

print(not(3>4))
print(not(1&1))

Questions No: 28/50

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

Questions No: 29/50

What will be the output of the following Python code?

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

Questions No: 30/50

What will the following code output?

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

Questions No: 31/50

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

Questions No: 32/50

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

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

What will be the output of following code

import math
print(math.pi)

Questions No: 35/50

Python programming language allows to use one loop inside another loop known as ?
पायथन प्रोग्रामिंग भाषा एक लूप को दूसरे लूप के अंदर उपयोग करने की अनुमति देती है जिसे जाना जाता है?

Questions No: 36/50

If the else statement is used with a while loop, the else statement is executed when the condition becomes _____ .
यदि else स्टेटमेंट का प्रयोग 'व्हाइल' लूप के साथ किया जाता है, तो else स्टेटमेंट तब निष्पादित होता है जब कंडीशन हो जाती है।

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

What will be the output of the following Python code?

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

Questions No: 40/50

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

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 is the output of the code print (9//2)
कोड प्रिंट का आउटपुट क्या है (9//2)

Questions No: 43/50

What will be the output of the following Python code?

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

Questions No: 44/50

What is the output of the following ?

print(int())

Questions No: 45/50

find the output of following code:

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

Questions No: 46/50

The condition in the if statement should be in the form of
if स्टेटमेंट में शर्त इस प्रकार होनी चाहिए

Questions No: 47/50

What is the output?

x = 5
print(bool(x))

Questions No: 48/50

____ is the output you get when '2'==2 is executed
____ वह आउटपुट है जो आपको तब मिलता है जब '2'==2 निष्पादित होता है-

Questions No: 49/50

What value does the following expression evaluate to ?

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

Questions No: 50/50

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