O Level Online Exam
Menu mobile
Home
MCQ Topic Wise
IT TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Online Mock Test
IT TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PYTHON PROGRAMMING
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Previous Year Papers
Practical Exam Papers
Videos
MCQ : OPERATORS EXPRESSIONS AND PYTHON STATEMENTS For NIELIT O Level Exam
OPERATORS EXPRESSIONS AND PYTHON STATEMENTS For NIELIT O Level Exam
00:00:00
English
Hindi
Question No# :
01
out of 50
Report Bug
Bookmark
Which of the following is not an immutable type in Python ?
निम्नलिखित में से कौन पायथन में एक अपरिवर्तनीय प्रकार नहीं है?
A.
String
String
B.
Tuples
Tuples
C.
Set
Set
D.
None of these
None of these
Question No# :
02
out of 50
Report Bug
Bookmark
Which of the following is not a valid keyword of Python associated with loops?
निम्नलिखित में से कौन लूप से सम्बन्धित पायथन का वैलिड कीवर्ड नहीं है?
A.
continue
continue
B.
check
चेक
C.
range
रेंज
D.
break
ब्रेक
Question No# :
03
out of 50
Report Bug
Bookmark
Function range(10, 5, -2) will yield an iterable sequence like
फंक्शन range(10, 5, -2) एक पुनरावर्तनीय अनुक्रम उत्पन्न करेगा जैसे
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# :
04
out of 50
Report Bug
Bookmark
What plays a vital role in Python programming?
A.
Statements
Statements
B.
Control
Control
C.
Structure
Structure
D.
Indentation
Indentation
Question No# :
05
out of 50
Report Bug
Bookmark
The order of statement execution in the form of top to bottom, is known as .......... construct.
ऊपर से नीचे के रूप में कथन निष्पादन के क्रम को ……… निर्माण के रूप में जाना जाता है।
A.
selection
selection
B.
repetition
repetition
C.
sequence
sequence
D.
flow
flow
Question No# :
06
out of 50
Report Bug
Bookmark
Which keyword does nothing?
कौन सा कीवर्ड कुछ भी नहीं करता है?
A.
break
break
B.
continue
continue
C.
pass
pass
D.
assert
assert
Question No# :
07
out of 50
Report Bug
Bookmark
In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type. This concept is known as
पायथन में, एक चर को एक प्रकार का मान सौंपा जा सकता है, और फिर बाद में एक अलग प्रकार का मान निर्दिष्ट किया जा सकता है। इस अवधारणा को के रूप में जाना जाता है
A.
mutability
mutability
B.
static typing
static typing
C.
dynamic typing
dynamic typing
D.
immutability
immutability
Question No# :
08
out of 50
Report Bug
Bookmark
____ is the output you get when '2'==2 is executed
____ वह आउटपुट है जो आपको तब मिलता है जब '2'==2 निष्पादित होता है-
A.
True
सही
B.
false
गलत
C.
ValueError occurs
ValueError होती है
D.
TypeError occurs
TypeError होता है
Question No# :
09
out of 50
Report Bug
Bookmark
what will the output of x=5+8*((3*5)-9)/10
x=5+8*((3*5)-9)/10 का आउटपुट क्या होगा
A.
12.5
12.5
B.
8
8
C.
9.8
9.8
D.
9
9
Question No# :
10
out of 50
Report Bug
Bookmark
_____ function convert an integer to octal string in python.
पायथन में ______ फंक्शन एक इंटीजर को ऑक्टल स्ट्रिंग में परिवर्तित करता है।
A.
unichr (x)
unichr (x)
B.
oct (x)
oct (x)
C.
chr(x)
chr(x)
D.
None of the these
इनमें से कोई नहीं
Question No# :
11
out of 50
Report Bug
Bookmark
The operator used to check if both the operands reference the same object memory, is the .......... operator.
ऑपरेटर यह जांचने के लिए प्रयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को संदर्भित करते हैं, ……… ऑपरेटर है।
A.
in
in
B.
is
is
C.
id
id
D.
==
==
Question No# :
12
out of 50
Report Bug
Bookmark
The .......... construct repeats a set of statements a specified number of times or as long as a condition is true.
............ निर्माण एक निर्दिष्ट संख्या में या जब तक कोई शर्त सत्य है, तब तक बयानों के एक सेट को दोहराता है।
A.
selection
selection
B.
repetition
repetition
C.
sequence
sequence
D.
flow
flow
Question No# :
13
out of 50
Report Bug
Bookmark
range(3) in Python is equivalent to:
पायथन में रेंज (3) के बराबर है:
A.
range(0,3,1)
range(0,3,1)
B.
range(1,4,1)
range(1,4,1)
C.
range(1,3)
range(1,3)
D.
range(1,3,0)
range(1,3,0)
Question No# :
14
out of 50
Report Bug
Bookmark
In Python, which of the following will create a block in a compound statement ?
पायथन में, निम्नलिखित में से कौन कंपाउंड स्टेटमेंट में ब्लॉक बनाएगा?
A.
colon
colon
B.
statements indented at a lower, same level
statements indented at a lower, same level
C.
indentation in any form
indentation in any form
D.
{ }
{ }
Question No# :
15
out of 50
Report Bug
Bookmark
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# :
16
out of 50
Report Bug
Bookmark
Which keyword skips current iteration?
कौन सा कीवर्ड वर्तमान पुनरावृति को छोड़ देता है?
A.
skip
skip
B.
continue
continue
C.
break
break
D.
pass
pass
Question No# :
17
out of 50
Report Bug
Bookmark
What does ~~~~~~5 evaluate to?
~~~~~~5 का मूल्यांकन किससे होता है?
A.
+5
+5
B.
-11
-11
C.
+11
+11
D.
-5
-5
Question No# :
18
out of 50
Report Bug
Bookmark
Which statement is used for debugging?
डिबगिंग के लिए किस कथन का उपयोग किया जाता है?
A.
break
break
B.
assert
assert
C.
pass
pass
D.
continue
continue
Question No# :
19
out of 50
Report Bug
Bookmark
Which relational operator means not equal to?
कौन सा संबंधवाचक संवाहक 'बराबर नहीं' का अर्थ दर्शाता है?
A.
=
=
B.
!=
!=
C.
<>
<>
D.
=!
=!
Question No# :
20
out of 50
Report Bug
Bookmark
Which of the following is a valid arithmetic operator in Python ?
निम्नलिखित में से कौन पायथन में एक मान्य अंकगणित ऑपरेटर है?
A.
//
//
B.
?
?
C.
<
<
D.
and
and
Question No# :
21
out of 50
Report Bug
Bookmark
What is the output of the following code? print(not False)
निम्नलिखित कोड का परिणाम क्या है? print(not False)
A.
True
सही
B.
False
ग़लत
C.
None
कोई नहीं
D.
Error
एरर
Question No# :
22
out of 50
Report Bug
Bookmark
Which bitwise operator represents XOR?
कौन सा बिटवाइज़ ऑपरेटर XOR को दर्शाता है?
A.
|
|
B.
&
&
C.
~
~
D.
^
^
Question No# :
23
out of 50
Report Bug
Bookmark
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
A.
15
15
B.
150
150
C.
200
200
D.
10
10
Question No# :
24
out of 50
Report Bug
Bookmark
What is the the value of x when x=math.factorial(0)
x का मान क्या है जब x=math.factorial(0)
A.
0
0
B.
1
1
C.
11
11
D.
10
10
Question No# :
25
out of 50
Report Bug
Bookmark
Python programming language allows to use one loop inside another loop known as ?
पायथन प्रोग्रामिंग भाषा एक लूप को दूसरे लूप के अंदर उपयोग करने की अनुमति देती है जिसे जाना जाता है?
A.
switch
switch
B.
foreach
foreach
C.
Nested Loop
Nested Loop
D.
None
कोई नहीं
Question No# :
26
out of 50
Report Bug
Bookmark
Which of the following is the correct syntax for a conditional statement in Python?
पायथन में कंडिशनल स्टेट्मेंट के लिए निम्नलिखित में से कौन सा सही सिंटेक्स है?
A.
if (x > 0):
if (x > 0):
B.
if x > 0
if x > 0
C.
if x > 0 then:
if x > 0 then:
D.
Both A and B
ए और बी दोनों
Question No# :
27
out of 50
Report Bug
Bookmark
What will the value of a if a=~100
यदि a=~100 है तो a का मान क्या है?
A.
100
100
B.
-100
-100
C.
-101
-101
D.
101
101
Question No# :
28
out of 50
Report Bug
Bookmark
Which of the following refers to mathematical function?
निम्नलिखित में से कौन गणितीय फंक्शन को संदर्भित करता है
A.
sqrt
sqrt
B.
rhombus
rhombus
C.
add
add
D.
Sub
Sub
Question No# :
29
out of 50
Report Bug
Bookmark
Which statement is generally used as a placeholder?
A.
continue
continue
B.
break
break
C.
pass
pass
D.
goto
goto
Question No# :
30
out of 50
Report Bug
Bookmark
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# :
31
out of 50
Report Bug
Bookmark
Which of the following has the highest precedence?
निम्नलिखित में से किसका वरीयता स्तर सबसे अधिक है?
A.
+
+
B.
*
*
C.
**
**
D.
//
//
Question No# :
32
out of 50
Report Bug
Bookmark
Which bitwise operator represents AND?
कौन सा बिटवाइज़ ऑपरेटर AND को दर्शाता है?
A.
~
~
B.
|
|
C.
&
&
D.
^
^
Question No# :
33
out of 50
Report Bug
Bookmark
What signifies the end of a statement block or suite in Python ?
पायथन में स्टेटमेंट ब्लॉक या सूट के अंत का क्या मतलब है?
A.
A comment
A comment
B.
}
}
C.
end
end
D.
A line that is indented less than the previous line
A line that is indented less than the previous line
Question No# :
34
out of 50
Report Bug
Bookmark
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
A.
55
55
B.
60
60
C.
555
555
D.
Error
एरर
Question No# :
35
out of 50
Report Bug
Bookmark
Which keyword is used to exit a loop prematurely in Python?
पायथन में लूप से समय से पहले एग्जिट होने के लिए किस कीवर्ड का यूज़ किया जाता है?
A.
exit
एग्जिट
B.
break
ब्रेक
C.
continue
कंटीन्यू
D.
stop
स्टॉप
Question No# :
36
out of 50
Report Bug
Bookmark
What is the output of the expression : 3*1**3 ?
एक्सप्रेशन 3*1**3 आउटपुट क्या है ?
A.
27
27
B.
9
9
C.
3
3
D.
1
1
Question No# :
37
out of 50
Report Bug
Bookmark
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# :
38
out of 50
Report Bug
Bookmark
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# :
39
out of 50
Report Bug
Bookmark
Which operator is used for exponentiation?
घातांक करने के लिए किस ऑपरेटर का उपयोग किया जाता है?
A.
%
%
B.
//
//
C.
/
/
D.
**
**
Question No# :
40
out of 50
Report Bug
Bookmark
Which of the following types of loops are not supported in Python?
निम्नलिखित में से किस प्रकार के लूप पायथन में सपोर्ट नहीं करता हैं?
A.
for
for
B.
While
While
C.
do-while
do-while
D.
None of these
इनमें से कोई नहीं
Question No# :
41
out of 50
Report Bug
Bookmark
In the Python statement x = a + 5 - b : a and b are
पायथन कथन में x = a + 5 - b : a और b हैं
A.
Operands
Operands
B.
Expression
Expression
C.
operators
operators
D.
Equation
Equation
Question No# :
42
out of 50
Report Bug
Bookmark
The output of this expression, >>>6*1**3 is ____ .
इस एक्सप्रेशन >>>6*1**3 का आउटपुट ____ है।
A.
6
6
B.
18
18
C.
10
10
D.
None of these
इनमें से कोई नहीं
Question No# :
43
out of 50
Report Bug
Bookmark
What is the output of >>>float('12.6')
>>>float('12.6') का आउटपुट क्या होगा
A.
12.6
12.6
B.
'12.6'
'12.6'
C.
12
12
D.
Syntax Error
Syntax Error
Question No# :
44
out of 50
Report Bug
Bookmark
Which function generates a sequence of numbers?
कौन सा फ़ंक्शन संख्याओं का एक क्रम उत्पन्न करता है?
A.
range()
range()
B.
input()
input()
C.
len()
len()
D.
list()
list()
Question No# :
45
out of 50
Report Bug
Bookmark
Which loop is used for definite iteration?
निश्चित पुनरावृति के लिए किस लूप का उपयोग किया जाता है?
A.
for
for
B.
assert
assert
C.
while
while
D.
if
if
Question No# :
46
out of 50
Report Bug
Bookmark
How can we store 2 in a, 3 in b and 4 in c in one line statement.
हम एक लाइन स्टेटमेंट में 2 को a में, 3 को b में और 4 को c में कैसे स्टोर कर सकते हैं।
A.
a=2,b=3,c=4
a=2,b=3,c=4
B.
a,b,c=2,3,4
a,b,c=2,3,4
C.
a=2;b=3;c=4
a=2;b=3;c=4
D.
Both b and c
बी और सी दोनों
Question No# :
47
out of 50
Report Bug
Bookmark
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# :
48
out of 50
Report Bug
Bookmark
Function range(0, 5, 2) will yield on iterable sequence like
फ़ंक्शन रेंज (0, 5, 2) चलने योग्य अनुक्रम पर उत्पन्न होगी जैसे
A.
[0, 2, 4]
[0, 2, 4]
B.
[1, 3, 5]
[1, 3, 5]
C.
[0, 1, 2, 5]
[0, 1, 2, 5]
D.
[0, 5, 2]
[0, 5, 2]
Question No# :
49
out of 50
Report Bug
Bookmark
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# :
50
out of 50
Report Bug
Bookmark
Function range(10, 5, 2) will yield an iterable sequence like
फंक्शन range(10, 5, 2) एक चलने योग्य अनुक्रम उत्पन्न करेगा जैसे
A.
[]
[]
B.
[10, 8, 6]
[10, 8, 6]
C.
[2, 5, 8]
[2, 5, 8]
D.
[8, 5, 2]
[8, 5, 2]
Latest Current Affairs 2026
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Online MBA 2 years
Online MCA
Online BCA
Best Website and Software Company in Allahabad