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

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

Questions No: 2/50

What will the following code output?

x=0
if x:
print("True")
else:
print("False")

Questions No: 3/50

What is the output of following code

print( 5 in 515)

Questions No: 4/50

What is the output of the following?
n=5
while n>0:
    n-=1
    if n==2:
        continue
    print(n,end=' ')

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

What will the following code output?

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

Questions No: 9/50

What value does the following expression evaluate to ?

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

Questions No: 10/50

What will be the output of the following expression ?

x =4
print(x<<2)

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

In a Python program, a control structure:
एक पायथन कार्यक्रम में, एक नियंत्रण संरचना:

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

What is the output of the following program:

i = 0
while i < 3:
    print (i)
    i=i+1
    print (i+1)

Questions No: 21/50

What will be the output of the following Python code?

i = 1
while True:
    if i%7 == 0:
        break
    print(i)
    i += 1

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

Which operator is used for assignment in Python?
पाइथन में असाइनमेंट के लिए किस ऑपरेटर का उपयोग किया जाता है?

Questions No: 24/50

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

Questions No: 25/50

What will be the output of the following Python code?

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

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

What is the output of the following?

m=0
while m<5:
    m+=1
    if m==3:
        break
    else: print(0)

Questions No: 29/50

Which of the following expressions is an example of type conversion?
निम्न में से कौन सा एक्सप्रेशन्स कन्वर्श़न प्रकार का एक उदाहरण है?

Questions No: 30/50

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

Questions No: 31/50

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

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

What will be the output of the following Python code?

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

Questions No: 34/50

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

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

What will be the output of the following ?

import math
print(math.fact(5))

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

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

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

Questions No: 42/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: 43/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: 44/50

What will be the value of the following Python expression?

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

Questions No: 45/50

What is the output of this expression, 3*1**3?
इस एक्सप्रेशन का आउटपुट क्या है, 3 * 1 ** 3?

Questions No: 46/50

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

Questions No: 47/50

What will be the output of the following Python code?

from math import*
print(floor(3.7))

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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