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

What is the output of the following code?
a = 15
b = 6
print(a and b)
print(a or b)
A. True True
B. False False
C. 6 15
D. 15 6
View Answer
Q37.
निम्नलिखित कोड का आउटपुट क्या होगा?

What is the output of
print((-3)**2)
A. -9
B. 6
C. -6
D. 9
View Answer
Q38.
निम्नलिखित कोड सेगमेंट का आउटपुट क्या होगा?

What will following code segment print?
a = True
b = False
c = False
if a or b and c:
    print("HELLO")
else:
    print("hello")
A. HELLO
B. hello
C. HellO
D. None of these
View Answer
Q39.
निम्नलिखित का आउटपुट क्या होगा?

What is the output of the following?
x = 'abcd'
for i in range(x):
    print(i)
A. a b c d
B. 0 1 2 3
C. error
D. none of the mentioned
View Answer
Q40.
निम्नलिखित का आउटपुट क्या होगा?

What is the output of the following code?
a = 50
b = a = a*5
print(b)
A. 250
B. 10
C. 50
D. Syntax Error
View Answer

Create Account