Python - Operators And Expressions
Questions No: 1/25

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

Questions No: 2/25

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

Questions No: 3/25

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

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

Questions No: 4/25

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

Questions No: 5/25

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

Questions No: 6/25

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

Questions No: 7/25

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

Questions No: 8/25

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

Questions No: 9/25

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

Questions No: 10/25

What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?

Questions No: 11/25

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

Questions No: 12/25

What will be the output of the following expression ?

x =4
print(x<<2)

Questions No: 13/25

What will the following code output?

a=5 
a*=10
print(a)

Questions No: 14/25

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: 15/25

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

Questions No: 16/25

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

Questions No: 17/25

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

Questions No: 18/25

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

Questions No: 19/25

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

Questions No: 20/25

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

Questions No: 21/25

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

Questions No: 22/25

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: 23/25

What will the following code output?

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

Questions No: 24/25

What will the following code output?

a,b,c=3,5,6 
b,c,a=a,b,c
print(a,” ”,b,” ”,c)

Questions No: 25/25

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