page-banner
Chapter-6 (Part-1) Python Function
Q36.
निम्नलिखित कोड का आउटपुट क्या होगा |<break-line><break-line>What will be the output of the following code?<pre><code>import math abs(math.sqrt(36))</code></pre>
A. Error
B. 6
C. -6
D. 6.0
View Answer
Q37.
निम्नलिखित में कौन सा आइटम फंक्शन हैडर में मौजूद होते है |<break-line><break-line>Which of the following items are present in the function header?
A. function name
B. parameter list
C. return value
D. Both (A) and (B)
View Answer
Q38.
निम्नलिखित पाइथन कोड का आउटपुट क्या होगा |<break-line><break-line>What will be the output of the following Python code?<pre><code>min(max(False, -3, -4), 2, 7)</code></pre>
A. -4
B. -3
C. 2
D. False
View Answer
Q39.
निम्नलिखित कोड का आउटपुट क्या होगा |<break-line><break-line>What is the output of the following?<pre><code>t=(2, 3, 4, 3.5, 5, 6) print(sum(t) + t.count(2))</code></pre>
A. 24
B. 23.5
C. 24.5
D. 25.5
View Answer
Q40.
निम्नलिखित पाइथन कोड का आउटपुट क्या होगा |<break-line><break-line>What will be the output of the following Python code?<pre><code>def sayHello(): print("Hello World!") sayHello() sayHello()</code></pre>
A. Hello World!<break-line>Hello World!
B. 'Hello World!'<break-line>'Hello World!'
C. Hello<break-line>Hello
D. None of the above
View Answer