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 - OPERATORS EXPRESSIONS AND PYTHON STATEMENTS
OPERATORS EXPRESSIONS AND PYTHON STATEMENTS
00:00:00
English
Hindi
Question No# :
01
out of 50
Which expression is equivalent to A=A*8
कौन सा व्यंजक A=A*8 के समतुल्य है
A.
A*A=8
A*A=8
B.
A*=8
A*=8
C.
A*8=A
A*8=A
D.
A=*8
A=*8
Question No# :
02
out of 50
What is 'pass' in python?
पायथन में 'pass' क्या है?
A.
No Operation
No Operation
B.
No Action
No Action
C.
Null Statement
Null Statement
D.
Placeholder
Placeholder
Question No# :
03
out of 50
Leading white space at the beginning of each statement, which is used to determine the group of statement.
Leading white space at the beginning of each statement, which is used to determine the group of statement.
A.
Testing
Testing
B.
Indentation
Indentation
C.
Debugging
Debugging
D.
None of the above
None of the above
Question No# :
04
out of 50
For two objects x and y, the expression x is y will yield True, if and only if
दो वस्तुओं x और y के लिए, व्यंजक x, y है, सत्य प्राप्त करेगा, यदि और केवल यदि
A.
id(x) == id(y)
id(x) == id(y)
B.
len(x) == len(y)
len(x) == len(y)
C.
x == y
x == y
D.
all of these
all of these
Question No# :
05
out of 50
What is the output of this expression, 3*1**3?
इस एक्सप्रेशन का आउटपुट क्या है, 3 * 1 ** 3?
A.
27
27
B.
9
9
C.
3
3
D.
1
1
Question No# :
06
out of 50
Is it safe to directly use the == operator to determine whether objects of type float are equal ?
क्या यह निर्धारित करने के लिए सीधे == ऑपरेटर का उपयोग करना सुरक्षित है कि फ्लोट प्रकार की वस्तुएं बराबर हैं या नहीं?
A.
Yes
Yes
B.
No
No
C.
Yes, if the values are < 100
Yes, if the values are < 100
D.
Yes, if the values are > 100
Yes, if the values are > 100
Question No# :
07
out of 50
<p>What will be the output after the following statements?</p><pre>for i in range(1,6):<br> print(i, end='')<br> if i == 3:<br> break</pre>
<p>निम्नलिखित स्टेटमेंट के बाद आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">for i in range(1,6):<br> print(i, end='')<br> if i == 3:<br> break</pre>
A.
1 2
1 2
B.
1 2 3
1 2 3
C.
1 2 3 4
1 2 3 4
D.
1 2 3 4 5
1 2 3 4 5
Question No# :
08
out of 50
A loop block in python starts with a.. -
पायथन में एक लूप ब्लॉक एक... से शुरू होता है
A.
; (semicolon)
; (semicolon)
B.
,(Comma)
,(Comma)
C.
: (colan)
: (colan)
D.
None of these
कोई नही
Question No# :
09
out of 50
___ in Python is a counter-controlled loop.
पायथन में काउन्टर कन्ट्रोल्ड लूप है ।
A.
for
for
B.
while
while
C.
Both A and B
A तथा B दोनों
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
10
out of 50
How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?
A.
3
3
B.
4
4
C.
5
5
D.
6
6
Question No# :
11
out of 50
Function range(3) will yield an iteratable sequence like
फ़ंक्शन रेंज (3) एक पुनरावृत्त अनुक्रम उत्पन्न करेगा जैसे
A.
[0, 1, 2]
[0, 1, 2]
B.
[0, 1, 2, 3]
[0, 1, 2, 3]
C.
[1, 2, 3]
[1, 2, 3]
D.
[0, 2]
[0, 2]
Question No# :
12
out of 50
Changing one data type to another is known as
एक डेटा प्रकार को दूसरे में बदलना कहलाता है
A.
Type Casting
Type Casting
B.
Data Transformation
Data Transformation
C.
Type Conversion
Type Conversion
D.
Variable Shifting
Variable Shifting
Question No# :
13
out of 50
In Python, a variable is assigned a value of one type, and then later assigned a value of a different type. This will yield
पायथन में, एक चर को एक प्रकार का मान दिया जाता है, और फिर बाद में एक अलग प्रकार का मान दिया जाता है। यह उपज देगा
A.
Warning
Warning
B.
Error
Error
C.
Error
Error
D.
No Error
No Error
Question No# :
14
out of 50
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
A.
for
for
B.
while
while
C.
do while
do while
D.
None of the above
None of the above
Question No# :
15
out of 50
The .......... construct allows to choose statements to be executed, depending upon the result of a condition.
........ निर्माण एक शर्त के परिणाम के आधार पर निष्पादित किए जाने वाले कथनों को चुनने की अनुमति देता है।
A.
selection
selection
B.
repetition
repetition
C.
sequence
sequence
D.
flow
flow
Question No# :
16
out of 50
Which of the following expressions results in an error?
निम्नलिखित में से कौन सा एक्सप्रेशन में एक एरर है?
A.
float(‘10’)
float(‘10’)
B.
int(‘10’)
int(‘10’)
C.
float(’10.8’)
float(’10.8’)
D.
int(’10.8’)
int(’10.8’)
Question No# :
17
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# :
18
out of 50
Which of the following function returns the ASCII/Unicode value character?
निम्नलिखित में कौन सा फक्शन ASCII/Unicode वैल्यू कैरेक्टर रिटर्न करता है?
A.
asc()
asc()
B.
ord()
ord()
C.
asci()
asci()
D.
ascii()
ascii()
Question No# :
19
out of 50
Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है
A.
Selection
Selection
B.
Sequential
Sequential
C.
Simple
Simple
D.
Loop
Loop
Question No# :
20
out of 50
In a Python program, a control structure:
एक पायथन कार्यक्रम में, एक नियंत्रण संरचना:
A.
directs the order of execution of the statements in the program
directs the order of execution of the statements in the program
B.
dictates what happens before the program starts and after it terminates
dictates what happens before the program starts and after it terminates
C.
defines program-specific data structures
defines program-specific data structures
D.
manages the input and output of control characters
manages the input and output of control characters
Question No# :
21
out of 50
Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन रेंज(१०, ५, -२) एक पुनरावर्तनीय अनुक्रम उत्पन्न करेगा जैसे
A.
[10, 8, 6]
[10, 8, 6]
B.
[9, 7, 5]
[9, 7, 5]
C.
[6, 8, 10]
[6, 8, 10]
D.
[5, 7, 9]
[5, 7, 9]
Question No# :
22
out of 50
<p>What is the output of the following ?</p><pre><span style="font-size: 14px;">print(int())</span></pre>
<p> निम्नलिखित का आउटपुट क्या है?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">print(int())</span></pre>
A.
Any Random Number
Any Random Number
B.
0
0
C.
1
1
D.
Error
Error
Question No# :
23
out of 50
Which of the following is not Logical operator?
Which of the following is not Logical operator?
A.
and
and
B.
or
or
C.
not
not
D.
Assignment
Assignment
Question No# :
24
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">i = 1<br></span><span style="font-size: 14px;">while False:<br></span><span style="font-size: 14px;"> if i%2 == 0:<br></span><span style="font-size: 14px;"> break<br></span><span style="font-size: 14px;"> print(i)<br></span><span style="font-size: 14px;"> i += 2</span></pre>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">i = 1<br></span><span style="font-size: 14px;">while False:<br></span><span style="font-size: 14px;"> if i%2 == 0:<br></span><span style="font-size: 14px;"> break<br></span><span style="font-size: 14px;"> print(i)<br></span><span style="font-size: 14px;"> i += 2</span></pre>
A.
1
1
B.
1 3 5 7 …
1 3 5 7 …
C.
1 2 3 4 …
1 2 3 4 …
D.
Nothing will be printed
कुछ भी प्रिंट नहीं होगा
Question No# :
25
out of 50
Operators with the same precedence are evaluated in which manner?
एक ही पूर्वता वाले ऑपरेटरों का मूल्यांकन किस तरीके से किया जाता है?
A.
Left to Right
लेफ्ट टू राइट
B.
Right to Left
राइट टू लेफ्ट
C.
Can’t say
कह नहीं सकते
D.
None of the mentioned
उल्लेखित कोई नहीं
Question No# :
26
out of 50
<p>What is the output of following Python code?</p><pre>>>print(5*(2//3))</pre><p><br></p>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या है?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">>>print(5*(2//3))</pre>
A.
3
3
B.
3.3
3.3
C.
0
0
D.
error
error
Question No# :
27
out of 50
Which is the correct operator for power(x,y)?
Which is the correct operator for power(x,y)?
A.
X^y
X^y
B.
X**y
X**y
C.
X^^y
X^^y
D.
None of the mentioned
None of the mentioned
Question No# :
28
out of 50
What will be the output of : print((-3)**2)
इसका आउटपुट क्या होगा: print((-3)**2)
A.
-9
-9
B.
9
9
C.
6
6
D.
-6
-6
Question No# :
29
out of 50
What is the value of the expression 100 / 25 ?
व्यंजक 100/25 का मान क्या है?
A.
4
4
B.
4.0
4.0
C.
2.5
2.5
D.
none of these
none of these
Question No# :
30
out of 50
<p>What will be the output of following code</p><pre><span style="font-size: 14px;">import math<br></span><span style="font-size: 14px;">print(math.pi)</span></pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">import math<br></span><span style="font-size: 14px;">print(math.pi)</span></pre>
A.
5.354562653589793
5.354562653589793
B.
3.141592653589793
3.141592653589793
C.
7.867564234556778
7.867564234556778
D.
9.048495456553358
9.048495456553358
Question No# :
31
out of 50
What will be the result of the expression 15 and 10?
व्यंजक 15 और 10 का परिणाम क्या होगा?
A.
5
5
B.
1
1
C.
10
10
D.
0
0
Question No# :
32
out of 50
<p>What will be the output of the following Python expression?</p> <pre><span class="kw1" 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,="" 119,="" 0);="" font-weight:="" bold;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">print</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.00</span><span style="" lucida="" console",="" monospace;="" text-align:="" justify;"="">/</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.0</span><span style="" lucida="" console",="" monospace;="" text-align:="" justify;"="">+</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.0</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.16px;"><span class="kw1" 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,="" 119,="" 0);="" font-weight:="" bold;="" margin:="" 0px="" !important;="" line-height:="" 20px="" !important;"="">print</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.00</span><span lucida="" console",="" monospace;="" text-align:="" justify;"="">/</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.0</span><span lucida="" console",="" monospace;="" text-align:="" justify;"="">+</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.0</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
Error
B.
1.0
1.0
C.
1.00
1.00
D.
1
1
Question No# :
33
out of 50
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
A.
break
break
B.
pass
pass
C.
continue
continue
D.
None of These
None of These
Question No# :
34
out of 50
How many times will loop run? for a in "56247839"
लूप कितनी बार चलेगा? for a in "56247839"
A.
11
11
B.
8
8
C.
1
1
D.
0
0
Question No# :
35
out of 50
What is the return value of trunc()?
trunc() फंक्शन क्या रिटर्न करेगा ?
A.
int
int
B.
bool
bool
C.
float
float
D.
None
None
Question No# :
36
out of 50
<p>What will be the output of the following Python code?</p> <pre class="de1" style="border-radius: 0px; padding: 0px; font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" color:="" rgb(51,="" 51,="" 51);="" word-break:="" break-all;="" overflow-wrap:="" normal;="" background:="" rgb(244,="" 244,="" 244);="" border:="" 0px;="" overflow:="" visible;="" box-shadow:="" none;="" text-align:="" justify;="" margin-top:="" 0px="" !important;="" margin-bottom:="" line-height:="" 20px="" !important;"=""> <span style="font-size: 12.6px;">x = "abcdef" i = "a" while i in x: print('i', end = " ")</span></pre><div><br></div>
<p>निम्नलिखित Python कोड का आउटपुट क्या होगा?</p><pre>x = "abcdef"<br>i = "a"<br>while i in x:<br> print('i', end = " ")</pre><div><br></div>
A.
no output
नो आउटपुट
B.
i i i i i i … infinite Time
i i i i i i … अनंत समय
C.
a a a a a a …
a a a a a a …
D.
a b c d e f
a b c d e f
Question No# :
37
out of 50
What will the following code output? print( 12/4/2)
निम्नलिखित कोड आउटपुट क्या होगा? print( 12/4/2)
A.
6
6
B.
1
1
C.
1.5
1.5
D.
Error
Error
Question No# :
38
out of 50
In Python, a complex number is represented as:
पायथन में, एक काम्प्लेक्स संख्या को इस प्रकार दर्शाया जाता है:
A.
a+√b
a+√b
B.
a+√b j
a+√b j
C.
a+bj
a+bj
D.
a+√j
a+√j
Question No# :
39
out of 50
<p>What will be the output of the following Python code?</p><pre>from math import*<br>print(floor(3.7))</pre><div><br></div>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">from math import*<br>print(floor(3.7))</pre>
A.
3
3
B.
4
4
C.
3.0
3.0
D.
None of These
None of These
Question No# :
40
out of 50
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
A.
32
32
B.
7
7
C.
10
10
D.
3
3
Question No# :
41
out of 50
<p>What will be the output of the following Python code?</p><pre><span style="font-size: 14px;">x = "abcdef"<br></span><span style="font-size: 14px;">while i in x:<br></span><span style="font-size: 14px;"> print(i, end=" ")</span></pre>
<p>निम्नलिखित पायथन कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">x = "abcdef"<br></span><span style="font-size: 14px;">while i in x:<br></span><span style="font-size: 14px;"> print(i, end=" ")</span></pre>
A.
a b c d e f
a b c d e f
B.
abcdef
abcdef
C.
i i i i i i …
i i i i i i …
D.
error
error
Question No# :
42
out of 50
What is the answer to this expression, 22 % 3 is?
इस एक्सप्रेशन का उत्तर 22% 3 क्या है?
A.
7
7
B.
1
1
C.
0
0
D.
5
5
Question No# :
43
out of 50
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
पायथन में निम्नलिखित अभिव्यक्ति "2 ** 3 + 5 ** 2" का परिणाम क्या होगा?
A.
65536
65536
B.
33
33
C.
169
169
D.
None of the above
None of the above
Question No# :
44
out of 50
<p>What will be the output of the following ?</p><pre><span style="font-size: 14px;">import math<br></span><span style="font-size: 14px;">print(math.fact(5))</span></pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;"><span style="font-size: 14px;">import math<br></span><span style="font-size: 14px;">print(math.fact(5))</span></pre>
A.
120
120
B.
25
25
C.
1,2,3,4,5
1,2,3,4,5
D.
Error
Error
Question No# :
45
out of 50
What will be the output of the following :print( (5*2-4*8)%7)
निम्नलिखित कोड का आउटपुट क्या होगा? : print( (5*2-4*8)%7)
A.
7
7
B.
8
8
C.
10
10
D.
6
6
Question No# :
46
out of 50
What is the output of the code print (9//2)
कोड प्रिंट का आउटपुट क्या है (9//2)
A.
4.5
4.5
B.
4.0
4.0
C.
4
4
D.
Error
Error
Question No# :
47
out of 50
Which of the following expressions is an example of type conversion?
निम्न में से कौन सा एक्सप्रेशन्स कन्वर्श़न प्रकार का एक उदाहरण है?
A.
4.0 + float(3)
4.0 + float(3)
B.
5.3 + 6.3
5.3 + 6.3
C.
5.0 + 3
5.0 + 3
D.
3 + 7
3 + 7
Question No# :
48
out of 50
Which amongst this is not a jump statement ?
Which amongst this is not a jump statement ?
A.
for
for
B.
goto
goto
C.
continue
continue
D.
break
break
Question No# :
49
out of 50
<p>What will be the output of the following Python code snippet?</p> <pre class="de1" style="border-radius: 0px; padding: 0px; font-family: Consolas, Monaco, " lucida="" console",="" monospace;="" color:="" rgb(51,="" 51,="" 51);="" word-break:="" break-all;="" overflow-wrap:="" normal;="" background:="" rgb(244,="" 244,="" 244);="" border:="" 0px;="" overflow:="" visible;="" box-shadow:="" none;="" text-align:="" justify;="" margin-top:="" 0px="" !important;="" margin-bottom:="" line-height:="" 20px="" !important;"=""> x = 'abcd' for i in range(len(x)): x = 'a' print(x)</pre>
<p>निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा?</p><pre class="de1" lucida="" console",="" monospace;="" color:="" rgb(51,="" 51,="" 51);="" word-break:="" break-all;="" overflow-wrap:="" normal;="" background:="" rgb(244,="" 244,="" 244);="" border:="" 0px;="" overflow:="" visible;="" box-shadow:="" none;="" text-align:="" justify;="" margin-top:="" 0px="" !important;="" margin-bottom:="" line-height:="" 20px="" !important;"="" style="font-size: 12.6px; letter-spacing: 0.14px; border-radius: 0px; padding: 0px;"> x = 'abcd' for i in range(len(x)): x = 'a' print(x)</pre>
A.
a
a
B.
abcd abcd abcd
abcd abcd abcd
C.
a a a a
a a a a
D.
none of the mentioned
उल्लेखित कोई नहीं
Question No# :
50
out of 50
Which of the following is a valid arithmetic operator in Python ?
निम्नलिखित में से कौन पायथन में एक मान्य अंकगणित ऑपरेटर है?
A.
//
//
B.
?
?
C.
<
<
D.
and
and
Latest Current Affairs 2024
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2024
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