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 the following code output? print(5/0)
निम्नलिखित कोड आउटपुट क्या होगा? print(5/0)

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

What will the following code output?

a=5 
a*=10
print(a)

Questions No: 6/50

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

Questions No: 7/50

Which among the following list of operators has the highest precedence?

+, -, **, %, /, <<, >>, |

Questions No: 8/50

What will be the output of the following Python code?

from math import*
print(floor(3.7))

Questions No: 9/50

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

Questions No: 10/50

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

Questions No: 11/50

What will be the output of the following ?

import math
print(math.fact(5))

Questions No: 12/50

What does the following code print ?

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

Questions No: 13/50

What will be the output of following code

import math
print(math.pi)

Questions No: 14/50

What will be the output of the following Python code?

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

Questions No: 15/50

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

Questions No: 16/50

What is the output of the following code?

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

What will be the output : 24//6%3,24//4//2
इसका आउटपुट क्या होगा: 24//6%3,24//4//2

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

What is the output of the following ?

print(int())

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

What does the following code will print ?

x=5
if x>3:
    print("Hello")

Questions No: 26/50

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

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

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

Questions No: 29/50

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

Questions No: 30/50

What will be the output of the following Python code?

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

Questions No: 31/50

find the output of following code:

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

Questions No: 32/50

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

Questions No: 33/50

The output of this expression, >>>6*1**3 is ____ .
इस एक्सप्रेशन >>>6*1**3 का आउटपुट ____ है।

Questions No: 34/50

What is the output of the following code?

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

Questions No: 35/50

What value does the following expression evaluate to ?

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

Questions No: 36/50

What will be the output of the following Python statement?

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

Questions No: 37/50

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

Questions No: 38/50

What will the following code output?

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

Questions No: 39/50

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

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

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

What will be the output of the following python code?

from math import *
 floor(11.7)

Questions No: 47/50

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

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

Questions No: 48/50

It is a combination of Operators, Operands and Constants

Questions No: 49/50

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

Questions No: 50/50

What will be the result of the expression: 15 and 10?
व्यंजक 15 और 10 का परिणाम क्या होगा?