O Level Exam : Student Portal
Email address
Password
Remember me
Forgot password?
Sign In
Google
Facebook
Don't have an account?
Register now
O Level Online Exam
Menu mobile
Home
MCQ Topic Wise
INFORMATION TECHNOLOGY 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
INFORMATION TECHNOLOGY TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Old Papers
Practical Questions
Videos
Projects
MCQ : INTRODUCTION TO PYTHON For NIELIT O Level Exam
INTRODUCTION TO PYTHON 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 a keyword in python?
निम्नलिखित में से कौन सा पायथन में एक कीवर्ड नहीं है?
A.
raise
raise
B.
try
try
C.
val
val
D.
with
with
Question No# :
02
out of 50
Report Bug
Bookmark
The tiny individual unit in python program is known as
पायथन प्रोग्राम में छोटी व्यक्तिगत इकाई को कहा जाता है
A.
Keywords
Keywords
B.
Identifires
Identifires
C.
Token
Token
D.
Statement
Statement
Question No# :
03
out of 50
Report Bug
Bookmark
Which of the following is not a Python IDE
निम्नलिखित में से कौन सा Python IDE नहीं है
A.
IDLE
IDLE
B.
Spyder
Spyder
C.
Jupyter Notes
Jupyter Notes
D.
Sublime Test
Sublime Test
Question No# :
04
out of 50
Report Bug
Bookmark
Which of the following character is used to give comments in Python Program ?
A.
#
#
B.
&
&
C.
@
@
D.
$
$
Question No# :
05
out of 50
Report Bug
Bookmark
To print a line a text without ending it with a newline, ____ argument is used with print()
A.
sep
sep
B.
newline
newline
C.
end
end
D.
next
next
Question No# :
06
out of 50
Report Bug
Bookmark
PVM is often called
PVM को अक्सर कहा जाता है
A.
Python Interpreter.
Python Interpreter.
B.
Python compiler
Python compiler
C.
Python Volatile machine
Python Volatile machine
D.
Portable virtual machine
Portable virtual machine
Question No# :
07
out of 50
Report Bug
Bookmark
This symbol is used to print more than one item on a single line.
A.
Semicolon(;)
Semicolon(;)
B.
Dollor($)
Dollor($)
C.
comma(,)
comma(,)
D.
Colon(:)
Colon(:)
Question No# :
08
out of 50
Report Bug
Bookmark
The ______ mode of Python gives instant result of typed statement
पायथन का ______ मोड टाइप किए गए कथन का तुरंत परिणाम देता है
A.
Interactive Mode
Interactive Mode
B.
Script Mode
Script Mode
C.
Combination of Interactive and Script modes
Combination of Interactive and Script modes
D.
All of these
All of these
Question No# :
09
out of 50
Report Bug
Bookmark
Which one of the following is not a python's predefined data type?
निम्नलिखित में से कौन सा एक पायथन का पूर्वनिर्धारित डेटा टाइप नहीं है
A.
Class
क्लास
B.
List
लिस्ट
C.
Dictionary
डिक्शनरी
D.
Tuple
ट्यूपल
Question No# :
10
out of 50
Report Bug
Bookmark
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल डिक्लेअर करने का सही तरीका निम्नलिखित में से कौन सा है?
A.
int x = 10
int x = 10
B.
x = 10
x = 10
C.
var x = 10
var x = 10
D.
x: 10
x: 10
Question No# :
11
out of 50
Report Bug
Bookmark
Which data type is used to store a sequence of characters in Python?
पायथन में कैरेक्टर्स के सीक्वेंस को स्टोर करने के लिए किस डेटा प्रकार का यूज़ किया जाता है?
A.
int
int
B.
float
float
C.
str
str
D.
list
list
Question No# :
12
out of 50
Report Bug
Bookmark
Which operator is used for bitwise OR in Python?
बिटवाइज़ या पायथन में किस ऑपरेटर का यूज़ किया जाता है?
A.
|
|
B.
||
||
C.
or
or
D.
&
&
Question No# :
13
out of 50
Report Bug
Bookmark
names Given to different parts of a Python program are_____
पायथन प्रोग्राम के विभिन्न भागों को दिए गए नाम_____ हैं
A.
Identifiers
Identifiers
B.
Function
Function
C.
Keywords
Keywords
D.
Literals
Literals
Question No# :
14
out of 50
Report Bug
Bookmark
What is the output of this code? print(bool(0))
इस कोड का आउटपुट क्या है? print(bool(0))
A.
True
सही
B.
False
ग़लत
C.
0
शून्य
D.
Error
एरर
Question No# :
15
out of 50
Report Bug
Bookmark
What will be the output of following code? print(“5”+5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(“5”+5)
A.
55
55
B.
10
10
C.
5
5
D.
Type Error
एरर टाइप करें
Question No# :
16
out of 50
Report Bug
Bookmark
Which of the following is the exponentiation operator in Python?
निम्नलिखित में से कौन पायथन में एक्सपोनेंटिएशन ऑपरेटर है?
A.
^
^
B.
**
**
C.
^^
^^
D.
exp()
exp()
Question No# :
17
out of 50
Report Bug
Bookmark
What is the maximum possible length of an identifier for better redability? -
एक आइडेंटिफायर की अधिकतम संभव लंबाई क्या है?
A.
31 characters
31 कैरेक्टर
B.
63 characters
63 कैरेक्टर
C.
No limit but 79 characters for better redability
कोई नहीं परन्तु 79 कैरेक्टर
D.
All of the above.
उपर्युक्त में से कोई नहीं
Question No# :
18
out of 50
Report Bug
Bookmark
To convert the read value through input() into integer type, ______ () is used
A.
floating
floating
B.
float
float
C.
int
int
D.
integer
integer
Question No# :
19
out of 50
Report Bug
Bookmark
What will the following code output? print(5 ^ 3)
निम्नलिखित कोड आउटपुट क्या होगा? print(5 ^ 3)
A.
6
6
B.
1
1
C.
2
2
D.
Error
एरर
Question No# :
20
out of 50
Report Bug
Bookmark
Who developed Python?
पायथन का डेवलप किसने किया?
A.
James Gosling
जेम्स गोसलिंग
B.
Guido van Rossum
गुइडो वैन रोसुम
C.
Dennis Ritchie
डेनिस रिची
D.
Bjarne Stroustrup
बज़्ने स्ट्रॉस्ट्रुप
Question No# :
21
out of 50
Report Bug
Bookmark
Which of the following is not a features of Python?
निम्नलिखित में से कौन पायथन की विशेषता नहीं है?
A.
Platform-independent
platform-independent
B.
Low Level Language
Low Level Language
C.
Python is open-source and free to use
Python is open-source and free to use
D.
Object Oriented Programming
Object Oriented Programming
Question No# :
22
out of 50
Report Bug
Bookmark
What is the extension of Python code File?
पायथन कोड फ़ाइल का विस्तार क्या है?
A.
.py
.py
B.
.python
.python
C.
.ppt
.ppt
D.
.pyt
.pyt
Question No# :
23
out of 50
Report Bug
Bookmark
Which of the following is not a token ?
A.
Interpreter
Interpreter
B.
Identifiers
Identifiers
C.
Keyword
Keyword
D.
Operators
Operators
Question No# :
24
out of 50
Report Bug
Bookmark
What is the return type of function id?
फ़ंक्शन आईडी का रिटर्न प्रकार क्या है?
A.
int
int
B.
float
float
C.
bool
bool
D.
dict
dict
Question No# :
25
out of 50
Report Bug
Bookmark
Which one of the following is the correct extension of the Python file?
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही एक्सटेंशन है?
A.
.python
.python
B.
.py
.py
C.
.p
.p
D.
.pyt
.pyt
Question No# :
26
out of 50
Report Bug
Bookmark
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा कीवर्ड नहीं है?
A.
eval
eval
B.
nonlocal
nonlocal
C.
assert
assert
D.
finally
finally
Question No# :
27
out of 50
Report Bug
Bookmark
Which of the following is not a valid identifier?
निम्न में से कौन सा वैध पहचानकर्ता नहीं है?
A.
student
student
B.
s12
s12
C.
123
123
D.
_123
_123
Question No# :
28
out of 50
Report Bug
Bookmark
How many keywords are there in python 3.7?
पायथन 3.7 में कितने कीवर्ड होते है?
A.
32
32
B.
33
33
C.
31
31
D.
30
30
Question No# :
29
out of 50
Report Bug
Bookmark
Which of the following is a logical operator in Python?
निम्नलिखित में से कौन सा पायथन में एक लॉजिकल ऑपरेटर है?
A.
and
and
B.
or
or
C.
not
not
D.
All of the these
ये सभी
Question No# :
30
out of 50
Report Bug
Bookmark
How can assertions be disabled in Python?
पायथन में अभिकथनों को कैसे अक्षम किया जा सकता है?
A.
Passing –O when running python
Passing –O when running python
B.
Assertions are disabled by default
Assertions are disabled by default
C.
Both A and B are wrong
Both A and B are wrong
D.
Assertions cannot be disabled in python
Assertions cannot be disabled in python
Question No# :
31
out of 50
Report Bug
Bookmark
Which of the following is NOT a valid Python keyword?
निम्नलिखित में से कौन सा वैलिड पायथन कीवर्ड नहीं है?
A.
None
None
B.
True
True
C.
False
False
D.
equal
equal
Question No# :
32
out of 50
Report Bug
Bookmark
Which of the following is NOT a valid Python token?
निम्नलिखित में से कौन सा वैलिड पायथन टोकन नहीं है?
A.
Keywords
कीवर्ड
B.
Identifiers
आइंडेंटीफायर्स
C.
Operators
ऑपरेटर्स
D.
Statements
स्टेटमेंट्स
Question No# :
33
out of 50
Report Bug
Bookmark
Special meaning words of Pythons, fixed for specific functionality are called ___
A.
Identifiers
Identifiers
B.
Functions
Functions
C.
Keywords
Keywords
D.
Literals
Literals
Question No# :
34
out of 50
Report Bug
Bookmark
Which file extension is used to save Python files?
पायथन फ़ाइलों को सेव करने के लिए किस फ़ाइल एक्सटेंशन का यूज़ किया जाता है?
A.
.py
.py
B.
.python
.python
C.
.pt
.pt
D.
.pyt
.pyt
Question No# :
35
out of 50
Report Bug
Bookmark
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति प्रस्तुत करता है ।
A.
get()
get()
B.
seek()
seek()
C.
tell()
tell()
D.
cur()
cur()
Question No# :
36
out of 50
Report Bug
Bookmark
The data type whose representation is known are called
वह डेटा प्रकार जिसका प्रतिनिधित्व ज्ञात हो, कहलाते हैं
A.
Built in datatype
Built in datatype
B.
Derived datatype
Derived datatype
C.
Concrete datatype
Concrete datatype
D.
Abstract datatype
Abstract datatype
Question No# :
37
out of 50
Report Bug
Bookmark
Python code can run on a variety of platforms, it means Python is a _____ language.
पायथन कोड विभिन्न प्लेटफार्मों पर चल सकता है, इसका मतलब है कि पायथन एक _____ भाषा है।
A.
Graphical
Graphical चित्रात्मक
B.
Cross-Platform
क्रॉस-प्लेटफॉर्म
C.
Platform Dependent
प्लेटफार्म पर निर्भर
D.
All of these
ऊपर के सभी
Question No# :
38
out of 50
Report Bug
Bookmark
____is a string literal denoted by triple quotes for providing the specifications of certain program elements.
____एक स्ट्रिंग अक्षर है जिसे कुछ प्रोग्राम एलिमेन्टो के स्पेशिफिकेशन को प्रोवाइड करने के लिए ट्रिपल कोट्स द्वारा दर्शाया जाता है।
A.
Interface
इंटरफेस
B.
Modularity
मॉड्यूलेरिटी
C.
Client
क्लाइंट
D.
Docstring
डॉकस्ट्रिंग
Question No# :
39
out of 50
Report Bug
Bookmark
What does the // operator do in Python?
// ऑपरेटर पायथन में क्या करता है?
A.
Performs integer division and returns the integer part.
इन्टिजर डिवीज़न करता है और इन्टिजर पार्ट रिटर्न करता है।
B.
Performs normal division and returns a float.
नॉर्मल डिवीज़न करता है और एक फ़्लोट रिटर्न करता है।
C.
Performs modulus operation.
मॉडुलुस ऑपरेशन करता है
D.
Performs exponential calculation.
एक्सपोनेंशियल कैलकुलेशन करता है.
Question No# :
40
out of 50
Report Bug
Bookmark
Escape sequences are treated as ____
A.
Strings
Strings
B.
Characters
Characters
C.
Integers
Integers
D.
None of These
None of These
Question No# :
41
out of 50
Report Bug
Bookmark
In which year was the Python language developed?
पायथन भाषा का विकास किस वर्ष हुआ था?
A.
1995
1995
B.
1972
1972
C.
1981
1981
D.
1991
1991
Question No# :
42
out of 50
Report Bug
Bookmark
What will the following code output? print(‘re\new’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘re\new’)
A.
re\new
re\new
B.
new
new
C.
re new
re new
D.
re ew
re ew
Question No# :
43
out of 50
Report Bug
Bookmark
How is a code block indicated in Python?
पायथन में कोड ब्लॉक को कैसे दर्शाया जाता है?
A.
Brackets
Brackets
B.
Indentation
Indentation
C.
Key
Key
D.
None of the above
None of the above
Question No# :
44
out of 50
Report Bug
Bookmark
Which of the following can be a variable name in Python?
निम्नलिखित में से कौन सा पायथन में एक वेरिएबल नाम हो सकता है?
A.
123var
123var
B.
_var
_var
C.
if
if
D.
var-name
var-name
Question No# :
45
out of 50
Report Bug
Bookmark
Which of these is not a core data type ?
इनमें से कौन कोर डेटा टाइप नहीं है?
A.
Lists
Lists
B.
Dictionary
Dictionary
C.
Tuples
Tuples
D.
Class
Class
Question No# :
46
out of 50
Report Bug
Bookmark
How many keywords are there in Python 3.0 version?
Python 3.0 संस्करण में कितने कीवर्ड हैं?
A.
33
33
B.
45
45
C.
35
35
D.
30
30
Question No# :
47
out of 50
Report Bug
Bookmark
Which of the following is an invalid statement?
निम्नलिखित में से कौन सा एक इनवैलिड स्टेटमेंट है?
A.
abc = 1,000,000
abc = 1,000,000
B.
a b c = 1000 2000 3000
a b c = 1000 2000 3000
C.
a,b,c = 1000, 2000, 3000
a,b,c = 1000, 2000, 3000
D.
a_b_c = 1,000,000
a_b_c = 1,000,000
Question No# :
48
out of 50
Report Bug
Bookmark
______ are additional readable information to clarify the statement in python.
______ पायथन में कथन को स्पष्ट करने के लिए अतिरिक्त पठनीय जानकारी है।
A.
Comments
Comments
B.
Expressions
Expressions
C.
Tokens
Tokens
D.
Flow of control
Flow of control
Question No# :
49
out of 50
Report Bug
Bookmark
Which of the following cannot be a variable?
निम्नलिखित में से कौन सा एक वैरिएबल नहीं हो सकता है?
A.
__init__
__init__
B.
in
in
C.
it
it
D.
on
on
Question No# :
50
out of 50
Report Bug
Bookmark
The Python prompt indicates that Interpreter is ready to accept instruction.
A.
>>>
>>>
B.
<<<
<<<
C.
#
#
D.
<<
<<
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