page-banner
Chapter-5 (Part-2) Sequence Data Types
Q6.
निम्नलिखित स्टेटमेंट्स का आउटपुट क्या होगा ?<break-line><break-line>What will be the output of the following statements?<pre><code>x = [5, 4, 3, 2, 1] x.reverse() print(x)</code></pre>
A. [0, 1, 2, 3, 4, 5]
B. [0, 5, 4, 3, 2, 1]
C. [5, 4, 3, 2, 1, 0]
D. [1, 2, 3, 4, 5]
View Answer
Q7.
निम्नलिखित स्टेटमेंट्स का आउटपुट क्या होगा ?<break-line><break-line>What will be the output after the following statements?<pre><code>m = ['July', 'September', 'December'] n = m[1] print(n)</code></pre>
A. ['July', 'September', 'December']
B. July
C. September
D. December
View Answer
Q8.
निम्नलिखित स्टेटमेंट्स का आउटपुट क्या होगा ?<break-line><break-line>What will be the output after the following statements?<pre><code>m = {'m', 'n', 'o', 'p'} if 'n' in m: print('n', end=' ')</code></pre>
A. n
B. mnop
C. m n o p
D. {‘m’, ‘n’, ‘o’, ‘p’}
View Answer
Q9.
निम्नलिखित स्टेटमेंट्स का आउटपुट क्या होगा ?<break-line><break-line>What will be the output after the following statements?<pre><code>m = [25, 34, 70, 63] n = str(m[1]) + str(m[2]) print(n)</code></pre>
A. 2534
B. 95
C. 104
D. 3470
View Answer
Q10.
निम्नलिखित पाइथन कोड का आउटपुट क्या होगा ?<break-line><break-line>What will be the output of the following Python code?<pre><code>points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)</code></pre>
A. [[1, 2], [3, 1.5], [0.5, 0.5]]
B. [[3, 1.5], [1, 2], [0.5, 0.5]]
C. [[0.5, 0.5], [1, 2], [3, 1.5]]
D. [[0.5, 0.5], [3, 1.5], [1, 2]]
View Answer