Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : python - FUNCTIONS IN PYTHON
FUNCTIONS IN PYTHON
00:00:00
English
Hindi
Question No# :
01
out of 50
The code block within every function starts with a ____ ?
प्रत्येक फंक्शन के भीतर एक कोड ब्लॉक ... से शुरू होता है?
A.
;
;
B.
: :
: :
C.
:
:
D.
%
%
Question No# :
02
out of 50
Given a function that does not return any value, what value is shown when executed at the shell ?
एक फ़ंक्शन जो कोई मान नहीं लौटाता है ,शेल पर निष्पादित होने पर कौन सा मान दिखाया जाता है
A.
int
int
B.
bool
bool
C.
void
void
D.
None
None
Question No# :
03
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">def foo():<br></span><span style="font-size: 14px;"> return total + 1<br></span><span style="font-size: 14px;">total = 0<br></span><span style="font-size: 14px;">print(foo())</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def foo():<br></span><span style="font-size: 14px;"> return total + 1<br></span><span style="font-size: 14px;">total = 0<br></span><span style="font-size: 14px;">print(foo())</span></pre>
A.
0
0
B.
1
1
C.
error
एरर
D.
none of the mentioned
उल्लेखित कोई नहीं
Question No# :
04
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">def foo():<br></span><span style="font-size: 14px;"> total += 1<br></span><span style="font-size: 14px;"> return total<br></span><span style="font-size: 14px;">total = 0<br></span><span style="font-size: 14px;">print(foo())</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def foo():<br></span><span style="font-size: 14px;"> total += 1<br></span><span style="font-size: 14px;"> return total<br></span><span style="font-size: 14px;">total = 0<br></span><span style="font-size: 14px;">print(foo())</span></pre>
A.
0
0
B.
1
1
C.
error
एरर
D.
none of the mentioned
उल्लेखित कोई नहीं
Question No# :
05
out of 50
<p>What will be the output of the following Python function?</p><pre><span style="font-size: 14px;">min(max(False,-3,-4), 2,7)</span></pre>
<p>निम्नलिखित Python फ़ंक्शन का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">min(max(False,-3,-4), 2,7)</span></pre>
A.
2
2
B.
False
गलत
C.
-3
-3
D.
-4
-4
Question No# :
06
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">def foo(fname, val):<br></span><span style="font-size: 14px;"> print(fname(val))<br></span><span style="font-size: 14px;">foo(max, [1, 2, 3])<br></span><span style="font-size: 14px;">foo(min, [1, 2, 3])</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def foo(fname, val):<br></span><span style="font-size: 14px;"> print(fname(val))<br></span><span style="font-size: 14px;">foo(max, [1, 2, 3])<br></span><span style="font-size: 14px;">foo(min, [1, 2, 3])</span></pre>
A.
3 1
3 1
B.
1 3
1 3
C.
error
एरर
D.
none of the mentioned
उल्लेखित कोई नहीं
Question No# :
07
out of 50
def keyword use for?
def कीवर्ड का उपयोग किसके लिए किया जाता है?
A.
Define keyword in python
Define keyword in python
B.
Define variable in python
Define variable in python
C.
Define function in python
Define function in python
D.
All of the above
ऊपर के सभी
Question No# :
08
out of 50
<p>What will be the output of the following python program?</p><pre>def addItem(listParam):<br> listParam+=[1]<br>mylist=[1,2,3,4]<br>addItem(mylist)<br>print(len(mylist))</pre>
<p>निम्नलिखित पायथन प्रोग्राम का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">def addItem(listParam):<br> listParam+=[1]<br>mylist=[1,2,3,4]<br>addItem(mylist)<br>print(len(mylist))</pre>
A.
5
5
B.
8
8
C.
2
2
D.
1
1
Question No# :
09
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">def foo(x):<br></span><span style="font-size: 14px;"> x[0] = ['def']<br></span><span style="font-size: 14px;"> x[1] = ['abc']<br></span><span style="font-size: 14px;"> return id(x)<br></span><span style="font-size: 14px;">q = ['abc', 'def']<br></span><span style="font-size: 14px;">print(id(q) == foo(q))</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def foo(x):<br></span><span style="font-size: 14px;"> x[0] = ['def']<br></span><span style="font-size: 14px;"> x[1] = ['abc']<br></span><span style="font-size: 14px;"> return id(x)<br></span><span style="font-size: 14px;">q = ['abc', 'def']<br></span><span style="font-size: 14px;">print(id(q) == foo(q))</span></pre>
A.
True
सही
B.
False
गलत
C.
None
कोई नहीं
D.
Error
एरर
Question No# :
10
out of 50
<p>What will be the output of the following Code?</p><pre><span style="font-size: 14px;">def sum(x):<br></span><span style="font-size: 14px; white-space: normal;"><span style="white-space:pre"> </span>return x*x<br></span><span style="font-size: 14px;">print(sum(4))</span></pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def sum(x):<br></span><span style="font-size: 14px; white-space: normal;"><span style="white-space: pre;"> </span>return x*x<br></span><span style="font-size: 14px;">print(sum(4))</span></pre>
A.
16
16
B.
4
4
C.
8
8
D.
64
64
Question No# :
11
out of 50
The function pow(x,y,z) is evaluated as:
फ़ंक्शन pow(x, y, z) का मूल्यांकन इस प्रकार है:
A.
(x**y)**z
(x**y)**z
B.
(x**y) / z
(x**y) / z
C.
(x**y) % z
(x**y) % z
D.
(x**y)*z
(x**y)*z
Question No# :
12
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">def foo(x):<br></span><span style="font-size: 14px;"> x = ['def', 'abc']<br></span><span style="font-size: 14px;"> return id(x)<br></span><span style="font-size: 14px;">q = ['abc', 'def']<br></span><span style="font-size: 14px;">print(id(q) == foo(q))</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def foo(x):<br></span><span style="font-size: 14px;"> x = ['def', 'abc']<br></span><span style="font-size: 14px;"> return id(x)<br></span><span style="font-size: 14px;">q = ['abc', 'def']<br></span><span style="font-size: 14px;">print(id(q) == foo(q))</span></pre>
A.
True
सही
B.
False
गलत
C.
None
None
D.
Error
एरर
Question No# :
13
out of 50
Which of the following functions is a built-in function in python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
A.
seed()
सीड()
B.
sqrt()
sqrt()
C.
factorial()
फैक्टोरीअल()
D.
print()
प्रिंट ()
Question No# :
14
out of 50
____ keyword used for function in python
पायथन में फ़ंक्शन के लिए कौन सा कीवर्ड उपयोग किया जाता है
A.
fun
fun
B.
function
function
C.
def
def
D.
define
define
Question No# :
15
out of 50
<p>What will be the output of the following Python function?</p> <pre><span class="kw2" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" green;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">sum</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">(</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">2</span><span class="sy0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">4</span><span class="sy0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">6</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">)<br></span><span class="kw2" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" green;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">sum</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">(</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">[</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">1</span><span class="sy0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">2</span><span class="sy0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">3</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">]</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">)</span></pre>
<p>निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span class="kw2" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" green;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">sum</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">(</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">2</span><span class="sy0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">4</span><span class="sy0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">6</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">)<br></span><span class="kw2" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" green;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">sum</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">(</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">[</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">1</span><span class="sy0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">2</span><span class="sy0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">3</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">]</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">)</span></pre>
A.
Error, 6
एरर,6
B.
12, Error
12,एरर
C.
12, 6
12, 6
D.
Error, Error
एरर,एरर
Question No# :
16
out of 50
<p>What is the output of the following</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">y='klmn'<br>for i in range(len(y)):<br> print(y)</pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा?</p><pre>y='klmn'<br>for i in range(len(y)):<br> print(y)</pre><div><br></div>
A.
klmn klmn klmn klmn
klmn klmn klmn klmn
B.
k
k
C.
kkk
kkk
D.
None of the these
इनमे से कोई नहीं
Question No# :
17
out of 50
<p>What is the output of the following code ?</p><pre>def fun(a, b=6):<br> a=a+b<br> print(a)<br>fun(5, 4)</pre><div><br></div>
<p>निम्नलिखित कोड का परिणाम क्या है ?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">def fun(a, b=6):<br> a=a+b<br> print(a)<br>fun(5, 4)</pre>
A.
11
11
B.
9
9
C.
5
5
D.
4
4
Question No# :
18
out of 50
Given a string x="hello" What is the output of x.count('l')?
एक स्ट्रिंग x = "hello " को देखते हुए x.count ('1') का आउटपुट क्या है?
A.
2
2
B.
1
1
C.
0
0
D.
none
कोई नहीं
Question No# :
19
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">print("ccdcddcd".find("c"))</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">print("ccdcddcd".find("c"))</span></pre>
A.
4
4
B.
0
0
C.
Error
एरर
D.
True
सही
Question No# :
20
out of 50
<p>What will be the output of the following?</p><pre>def iq(a,b):<br> if(a==0):<br> return b<br> else:<br> return iq(a-1,a+b)<br>print(iq(3,6))</pre>
<p>निम्नलिखित का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">def iq(a,b):<br> if(a==0):<br> return b<br> else:<br> return iq(a-1,a+b)<br>print(iq(3,6))</pre>
A.
9
9
B.
10
10
C.
11
11
D.
12
12
Question No# :
21
out of 50
To which of the following the "in" operator can be used to check if an item is in it?
निम्नलिखित में से किसके लिए "in" ऑपरेटर का उपयोग यह जांचने के लिए किया जा सकता है कि कोई आइटम उसमें है या नहीं?
A.
Lists
लिस्ट्स
B.
Dictionary
ड़िक्शनरी
C.
String
सेट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
22
out of 50
Which of the following function headers is correct ?
निम्नलिखित में से कौन सा फंक्शन हेडर सही है?
A.
def fun (a = 2, b = 3, c)
def fun (a = 2, b = 3, c)
B.
def fun(a = 2, b, c = 3)
def fun(a = 2, b, c = 3)
C.
def fun(a, b = 2, c = 3)
def fun(a, b = 2, c = 3)
D.
def fun(a, b, c = 3, d)
def fun(a, b, c = 3, d)
Question No# :
23
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">x='abcd'<br></span><span style="font-size: 14px;">for i in x:<br></span><span style="font-size: 14px;"> print(i.upper())</span></pre><div><br></div><p><br></p>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">x='abcd'<br></span><span style="font-size: 14px;">for i in x:<br></span><span style="font-size: 14px;"> print(i.upper())</span></pre>
A.
a BCD
a BCD
B.
abcd
abcd
C.
error
error
D.
A B CD
A B CD
Question No# :
24
out of 50
What is recursion in python?
पाइथन में रिकर्शन फंक्शन के है
A.
Repeating a process in a loop
Repeating a process in a loop
B.
Calling a function from within itself
Calling a function from within itself
C.
Using a loop to iterate over elements
Using a loop to iterate over elements
D.
Breaking down a problem into smaller subproblems
Breaking down a problem into smaller subproblems
Question No# :
25
out of 50
<p>What will be the output of the following Python code ?</p><pre><span style="font-size: 14px;">def display(b,n):<br></span><span style="font-size: 14px;"> while n>0:<br></span><span style="font-size: 14px;"> print(b,end='')<br></span><span style="font-size: 14px;"> n=n-1<br></span><span style="font-size: 14px;">display('z',3)</span></pre>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">def display(b,n):<br></span><span style="font-size: 14px;"> while n>0:<br></span><span style="font-size: 14px;"> print(b,end='')<br></span><span style="font-size: 14px;"> n=n-1<br></span><span style="font-size: 14px;">display('z',3)</span></pre>
A.
zzz
zzz
B.
zz
zz
C.
Infinite loop
Infinite loop
D.
An exception is thrown
An exception is thrown
Question No# :
26
out of 50
<p>What will be the output of the following Python expression?</p> <pre><span class="kw2" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" green;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">print(round</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">(</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">4.5676</span><span class="sy0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">2</span><span class="br0" style="font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">)<font color="#333333"><span style="background-color: rgb(244, 244, 244);">)</span></font></span></pre>
<p>निम्नलिखित Python एक्सप्रेशन का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span class="kw2" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" green;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">print(round</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">(</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">4.5676</span><span class="sy0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(102,="" 204,="" 102);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">,</span><span class="nu0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" color:="" rgb(255,="" 69,="" 0);="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">2</span><span class="br0" lucida="" console",="" monospace;="" text-align:="" justify;="" overflow:="" visible;="" padding:="" 0px;="" border:="" box-shadow:="" none;="" background-image:="" initial;="" background-position:="" background-size:="" background-repeat:="" background-attachment:="" background-origin:="" background-clip:="" overflow-wrap:="" normal;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">)<font color="#333333"><span style="background-color: rgb(244, 244, 244);">)</span></font></span></pre>
A.
4.5
4.5
B.
4.6
4.6
C.
4.57
4.57
D.
4.56
4.56
Question No# :
27
out of 50
Which of these is not true about recursion?
इनमें से कौन सा रिकर्शन के बारे में सच नहीं है?
A.
Making the code look clean
कोड को साफ देखो
B.
A complex task can be broken into sub-problems
एक कॉम्प्लेक्स टास्क को सब-प्रॉब्लम्स में तोड़ा जा सकता है
C.
Recursive calls take up less memory
रिकर्सिव कॉल से मेमोरी कम लगती है
D.
Sequence generation is easier than a nested iteration
सीक्वेंस जनरेशन एक नेस्टेड पुनरावृत्ति की तुलना में आसान है
Question No# :
28
out of 50
A statement is used when a statement is required syntactically but you do not want any code to execute.
एक स्टेटमेंट का उपयोग तब किया जाता है जब किसी स्टेटमेंट को वाक्यात्मक रूप से आवश्यक होता है लेकिन आप नहीं चाहते कि कोई कोड निष्पादित हो।
A.
break
break
B.
pass
pass
C.
continue
continue
D.
none of these
इनमे से कोई नहीं
Question No# :
29
out of 50
what is Lambda function in python
पायथन में लैम्ब्डा फंक्शन क्या है ?
A.
A built-in Python function
एक अंतर्निहित पायथन फ़ंक्शन
B.
A one-line anonymous function
एक-पंक्ति वाला अनाम फ़ंक्शन
C.
Lambda is a function in python but user can not use it.
लैम्ब्डा पायथन में एक फंक्शन है लेकिन उपयोगकर्ता इसका उपयोग नहीं कर सकता।
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
30
out of 50
Structured program can be broken into to assign to more than one developer
एक से अधिक डेवलपर को असाइन करने के लिए संरचित प्रोग्राम को खंडित किया जा सकता है
A.
Segments
सेग्मेंट्स
B.
Modules
मॉडुल्स
C.
Units
यूनिट्स
D.
All the above
उपरोक्त सभी
Question No# :
31
out of 50
<p>What is the value of the following Python code?</p><pre>>>>print(36 / 4)</pre>
<p>निम्नलिखित पायथन कोड का वैल्यू क्या है?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">>>>print(36 / 4)</pre>
A.
9
9
B.
4
4
C.
9.0
9.0
D.
4.0
4.0
Question No# :
32
out of 50
Which part of the memory does the system store the parameter and local variables of a function call ?
मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और स्थानीय चर को संग्रहीत करता है?
A.
Heap
Heap
B.
Stack
Stack
C.
Uninitialized data segment
Uninitialized data segment
D.
None of the above
None of the above
Question No# :
33
out of 50
The variables in a function definition are called as
फ़ंक्शन परिभाषा में वेरिएबल्स को कहा जाता है
A.
Subroutines
Subroutines
B.
Function
Function
C.
Definition
Definition
D.
Parameters
Parameters
Question No# :
34
out of 50
Which keyword is used for function in Python language?
पायथन भाषा में फंक्शन के लिए कौन सा कीवर्ड प्रयोग किया जाता है?
A.
function
function
B.
def
def
C.
fun
fun
D.
define
define
Question No# :
35
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">print("xyyzxyzxzxyy".count('yy'))</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">print("xyyzxyzxzxyy".count('yy'))</span></pre>
A.
2
2
B.
0
0
C.
error
एरर
D.
none of the mentioned
उल्लेखित कोई नहीं
Question No# :
36
out of 50
Which of the following functions will not result in an error when no arguments are passed to it?
जब कोई आर्ग्यमन्ट पास नहीं किया जाता हैं, तो निम्नलिखित में से कौन से फंक्शन में एरर आएगा ?
A.
min()
min()
B.
divmod()
divmod()
C.
all()
all()
D.
float()
float()
Question No# :
37
out of 50
Function defined to achieve some task as per the programmers requirement is called a :
प्रोग्रामर की आवश्यकता के अनुसार किसी कार्य को प्राप्त करने के लिए परिभाषित फंक्शन कहलाता है
A.
User Defined Function
User Defined Function
B.
Library Functions
Library Functions
C.
Builtin Functions
Builtin Functions
D.
All of the above
All of the above
Question No# :
38
out of 50
Which of these is not true about recursion?
इनमें से कौन सा रिकर्शन के बारे में सच नहीं है?
A.
It’s easier to code some real-world problems using recursion than non-recursive equivalent
नॉन-रिकर्सिव समकक्ष की तुलना में रिकर्शन का यूज़ करके कुछ रियल-वर्ल्ड की प्रॉब्लम्स को कोड करना आसान है
B.
Recursive functions are easy to debug
रिकर्सिव फ़ंक्शन को डीबग करना आसान है
C.
Recursive calls take up a lot of memory
रिकर्सिव कॉल बहुत सारी मेमोरी लेती हैं
D.
Programs using recursion take longer time than their non-recursive equivalent
रिकर्शन का यूज़ करने वाले प्रोग्राम अपने नॉन-रिकर्सिव समकक्ष की तुलना में अधिक समय लेते हैं
Question No# :
39
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 12.6px;">example = "helle" print(example.rfind("e"))</span><br></pre>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style=""><span style="font-size: 12.6px;">example = "helle" print(example.rfind("e"))</span><span style="font-size: 12.6px; letter-spacing: 0.14px;"><br></span></pre>
A.
1
1
B.
2
2
C.
4
4
D.
5
5
Question No# :
40
out of 50
What is a recursive function?
एक रिकर्सिव फंक्शन क्या है?
A.
A function that calls other function.
फंक्शन जो दूसरे फंक्शन को कॉल करता है ।
B.
A function which calls itself.
एक फंक्शन जो स्वयं को कॉल करता है
C.
Both A and B
A तथा B दोनों
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
41
out of 50
How are required arguments specified in the function heading?
फ़ंक्शन हेडिंग में आवश्यक आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
A.
identifier followed by an equal to sign and the default value
आइडेंटिफाइड साइन और डिफ़ॉल्ट वैल्यू के बराबर होता है
B.
identifier followed by the default value within backticks (“)
आइडेंटीफायर के पीछे डिफ़ॉल्ट वैल्यू के बाद (")
C.
identifier followed by the default value within square brackets ([])
स्क्वायर ब्रैकेट्स ([]) के भीतर डिफ़ॉल्ट वैल्यू के बाद आइडेंटीफायर
D.
identifier
आइडेंटीफायर
Question No# :
42
out of 50
What will be displayed by print(ord(‘b’) – ord(‘a’))?
print(ord (‘b') - ord ('a’)) क्या डिस्प्ले करेगा?
A.
0
0
B.
1
1
C.
-1
-1
D.
2
2
Question No# :
43
out of 50
Where is function defined?
फंक्शन को कहां डिफाइन किया जाता है?
A.
In Module
मॉड्यूल
B.
In Class
क्लास
C.
In Another function
एक और फंक्शन
D.
All of these
उपर्युक्त सभीं
Question No# :
44
out of 50
Which one of the following is incorrect?
निम्नलिखित में से कौन सा गलत है?
A.
The variables used inside function are called local variables.
फंक्शन के अंदर उपयोग किए जाने वाले वेरिएबल लोकल वेरिएबल कहलाते हैं।
B.
The local variables of a particular function can be used inside other functions, but these cannot be used in global space.
किसी विशेष फंक्शन के लोकल वेरिएबल का उपयोग अन्य फंक्शनो के अंदर किया जा सकता है, लेकिन इनका उपयोग ग्लोबल स्पेस में नहीं किया जा सकता है
C.
The variables used outside function are called global variables.
बाहरी फंक्शन का उपयोग करने वाले वेरिएबल को ग्लोबल वेरिएबल कहा जाता है
D.
In order to change the value of global variable inside function, keyword global is used.
फंक्शन के अंदर ग्लोबल वेरिएबल की वैल्यू को बदलने के लिए, कीवर्ड ग्लोबल का उपयोग किया जाता है।
Question No# :
45
out of 50
How are keyword arguments specified in the function heading?
फ़ंक्शन हेडिंग में कीवर्ड आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
A.
one-star followed by a valid identifier
एक के बाद एक वैलिड आइडेंटिफायर
B.
one underscore followed by a valid identifier
एक वैलिड आइडेंटिफायर के बाद एक अंडरस्कोर
C.
two stars followed by a valid identifier
दो स्टार्स के बाद एक वैलिड आइडेंटिफायर है
D.
two underscores followed by a valid identifier
वैलिड आइडेंटिफायर द्वारा दो अंडरस्कोर
Question No# :
46
out of 50
<p>What is the output of below program ?</p><pre>def say(message, times =1):<br> print(message * times)<br>say("Hello")<br>say("Word",5)</pre>
<p>नीचे दिए गए प्रोग्राम का आउटपुट क्या है?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">def say(message, times =1):<br> print(message * times)<br>say("Hello")<br>say("Word",5)</pre>
A.
Hello WordWordWordWordWord
Hello WordWordWordWordWord
B.
Hello Word 5
Hello Word 5
C.
Hello Word,Word,Word,Word,Word
Hello Word,Word,Word,Word,Word
D.
Hello HelloHelloHelloHelloHello
Hello HelloHelloHelloHelloHello
Question No# :
47
out of 50
<p>What will be the output of the following python code?</p><pre>def printMax(a,b):<br> if a>b:<br> print(a, "is maximum")<br> elif a==b:<br> print(a, "is equal to ",b)<br> else:<br> print(b, "is maximum")<br>printMax(3,4)</pre>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">def printMax(a,b):<br> if a>b:<br> print(a, "is maximum")<br> elif a==b:<br> print(a, "is equal to ",b)<br> else:<br> print(b, "is maximum")<br>printMax(3,4)</pre>
A.
3
3
B.
4
4
C.
4 is maximum
4 is maximum
D.
None of these
None of these
Question No# :
48
out of 50
The sequence logic will not be used while
____के समय सीक्वेंस लॉजिक का उपयोग नहीं किया जाएगा|
A.
Subtracting two numbers
दो संख्याओं को घटने
B.
Comparing two data values
दो डेट मनो की तुलना करने
C.
Providing output to the user
उपयोगकर्ता को आउटपुट प्रदान करने
D.
Adding two numbers
दो नंबर जोड़ना
Question No# :
49
out of 50
How are variable length arguments specified in the function heading?
फ़ंक्शन हेडिंग में वैरिएबल लेंथ आर्ग्यमन्ट कैसे स्पेसिफ़ाइड किए जाते हैं?
A.
one star followed by a valid identifier
एक स्टार के बाद एक वैलिड आइडेंटीफायर है
B.
one underscore followed by a valid identifier
एक वैलिड आइडेंटीफायर के बाद एक अंडरस्कोर
C.
two stars followed by a valid identifier
दो स्टार्स के बाद एक वैलिड आइडेंटीफायर है
D.
two underscores followed by a valid identifier
वैलिड आइडेंटीफायर द्वारा दो अंडरस्कोर
Question No# :
50
out of 50
<p>What will be the output of following?</p><pre><span style="font-size: 14px;">Y=[2,5J,6]<br></span><span style="font-size: 14px;">Y.sort()</span></pre>
<p>निम्नलिखित का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">Y=[2,5J,6]<br></span><span style="font-size: 14px;">Y.sort()</span></pre>
A.
[2,6,5J]
[2,6,5J]
B.
[5J,2,6]
[5J,2,6]
C.
Error
Error
D.
[6,5J,2]
[6,5J,2]
Latest Current Affairs 2025
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2025
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz