page-banner
Chapter-4 Operator, Expressions & Python Statement
Q56.
निम्नलिखित स्टेटमेंट का आउटपुट क्या होगा ?

What will be the output after the following statements?
x = 2
if x < 5:
    print(x)
else:
    pass
A. 2 3 4
B. 1 2 3 4
C. 2
D. None of these
View Answer
Q57.
Python में नेस्टेड if-else की अनुमति है।

nested if-else are allowed in Python.
A. True
B. False
C. Can’t say
D. None of these
View Answer
Q58.
स्टेटमेंट का आउटपुट क्या है:

What is the output of the expression:
3*1**3
A. 27
B. 9
C. 3
D. 1
View Answer
Q59.
निम्नलिखित प्रोग्राम का आउटपुट क्या है

What is the output of the following program
i=0
while i < 3:
    print(i)
    i+=1
else:
    print(0)
A. 0 1 2 3 0
B. 0 1 2 0
C. 0 1 2
D. Error
View Answer
Q60.
निम्नलिखित कोड सेगमेंट क्या प्रिंट करेगा ?

What will following code segment print ?
a = True
b = False
c = False
if not a or b:
    print(1)
elif not a or not b and c:
    print (2)
elif not a or b or not b and a:
    print (3)
else:
    print (4)
A. 1
B. 3
C. 2
D. 4
View Answer

Create Account