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

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

Questions No: 2/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: 3/50

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

Questions No: 4/50

What will be the output of the following ?

import math
print(math.fact(5))

Questions No: 5/50

What will be the output of the following Python code?

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

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

What value does the following expression evaluate to ?

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

Questions No: 8/50

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

Questions No: 9/50

What is the output of the following code?

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

Questions No: 10/50

What will be the value of the following Python expression?

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

Questions No: 11/50

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

Questions No: 12/50

Which of the following expressions results in an error?
निम्नलिखित में से कौन सा एक्सप्रेशन में एक एरर है?

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

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

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

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

Questions No: 17/50

What does the following code print ?

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

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?

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

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

What will be the output of the following Python code?

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

Questions No: 26/50

Function range(0, 5, 2) will yield on iterable sequence like
फ़ंक्शन रेंज (0, 5, 2) चलने योग्य अनुक्रम पर उत्पन्न होगी जैसे

Questions No: 27/50

What is the output of the following ?

print(int())

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

What will be the output of the following Python code?

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

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

What is true about a break statement?
ब्रेक स्टेटमेंट के बारे में क्या सच है?

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

What will be the value of the following Python expression?

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

Questions No: 36/50

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

Questions No: 37/50

What will be the output of the following Python code?

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

Questions No: 38/50

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

Questions No: 39/50

What is the output of the code print(7%2).
कोड print(7%2) का आउटपुट क्या है।

Questions No: 40/50

What will be the output of the following Python code?

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

Questions No: 41/50

What is the output of the following?

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

Questions No: 42/50

What will be the output of the following Python code?

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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