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+1,b+2,c+3
print(a,” ”,b,” ”,c)

Questions No: 2/50

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

Questions No: 3/50

What is the output of the following ?

print(int())

Questions No: 4/50

What will the following code output?

a=5 
a*=10
print(a)

Questions No: 5/50

What will be the value of p when p= int(17/2+11.5)?
p का ​​मान क्या होगा जब p= int(17/2+11.5)?

Questions No: 6/50

What is 'pass' in python?
पायथन में 'pass' क्या है?

Questions No: 7/50

which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?

Questions No: 8/50

What will be the output of the following Python code?

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

Questions No: 9/50

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

Questions No: 10/50

Which expression is equivalent to A=A*8
कौन सा व्यंजक A=A*8 के समतुल्य है

Questions No: 11/50

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Questions No: 12/50

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

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

What will be the output of the following Python code?

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

Questions No: 15/50

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

Questions No: 16/50

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

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

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

Questions No: 19/50

What will be the output of the following Python code?

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

Questions No: 20/50

What is the output of following Python code?

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


Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

What will be the output of the following Python code?

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

Questions No: 24/50

What will be the output of the following Python code?

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

Questions No: 25/50

What will the following code output?

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

Questions No: 26/50

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

Questions No: 27/50

find the output of following code:

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

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

What will be the output of the following Python code?

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

___ in Python is a counter-controlled loop.
पायथन में काउन्टर कन्ट्रोल्ड लूप है ।

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

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

What will be the output of the following expression

x=14
print(x>>2)


Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
पायथन में निम्नलिखित अभिव्यक्ति "2 ** 3 + 5 ** 2" का परिणाम क्या होगा?

Questions No: 48/50

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

Questions No: 49/50

What does the following code print ?

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

Questions No: 50/50

What will be the output of the following Python code?

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