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

What is the output of the following code?

print(True and False)

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?

Questions No: 5/50

What is range() Funciton ?
रेंज क्या है?

Questions No: 6/50

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

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

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

What is the output of the following ?

print(int())

Questions No: 10/50

What will be the output after following statements?

x = 2
if x < 5:
     print(x)
else:
    pass

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

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

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

elif can be considered to be abbreviation of
elif किसका संक्षिप्त रूप माना जा सकता है

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

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

Questions No: 17/50

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

Questions No: 18/50

How many times will loop run? for a in "56247839"
लूप कितनी बार चलेगा? for a in "56247839"

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

What will be the output after the following statements?

a = 0
b = 3
while a + b < 8:
       a += 1
       print(a, end='')

Questions No: 24/50

What will be the output of the following Python code?

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

Questions No: 25/50

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

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

What will the following code output?

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

Questions No: 28/50

What will be the output of the following python code?

from math import *
 floor(11.7)

Questions No: 29/50

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

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

range(3) in Python is equivalent to:
पायथन में रेंज (3) के बराबर है:

Questions No: 32/50

find the output of following code:

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

Questions No: 33/50

It is a combination of Operators, Operands and Constants

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

What will be the output of the following Python expression?

print(4.00/(2.0+2.0))

Questions No: 37/50

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

Questions No: 38/50

What will be the output of the following Python code?

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

Questions No: 39/50

The data type of an expression int(m)/int(n) will result in:
एक अभिव्यक्ति का डेटा प्रकार int(m)/int(n) परिणाम देगा:

Questions No: 40/50

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

Questions No: 41/50

The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?

Questions No: 42/50

How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?

Questions No: 43/50

The for loop in Python is an ____ .
पॉयथन में फॉर लूप...... है ।

Questions No: 44/50

Which of the following is an invalid statement in python.
निम्नलिखित में से कौन सा पायथन मे इनवैलिड स्टेटमेन्ट है ।

Questions No: 45/50

Which of the following is not a logical operator?
निम्नलिखित में से कौन एक लॉजिकल ऑपरेटर नहीं है?

Questions No: 46/50

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

Questions No: 47/50

What will be the output of the following expression ?

x =4
print(x<<2)

Questions No: 48/50

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

Questions No: 49/50

What is the output of the following code? print(not False)
निम्नलिखित कोड का परिणाम क्या है? print(not False)

Questions No: 50/50

which one is an Assignment Operator
एसाइन्मेंट आपरेटर है :