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 PROGRAMMING For NIELIT O Level Exam
INTRODUCTION TO PROGRAMMING For NIELIT O Level Exam
00:00:00
English
Hindi
Question No# :
01
out of 50
Report Bug
Bookmark
Empty list in python is made by ?
पायथन में एम्पटी लिस्ट किसके द्वारा बनाई जाती है?
A.
l=[]
l=[]
B.
l=list()
l=list()
C.
Both of the above
उपरोक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
02
out of 50
Report Bug
Bookmark
What is standard module in Python?
पायथन में स्टैंडर्ड मॉड्यूल क्या है।
A.
It can not be imported the same way as we import our user-defined modules.
यह उसी तरह से इंपोर्ट नही किए जा सकते हैं जैसे हम अपने यूजर-डिफाईन मॉड्यूल को इंपोर्ट करते हैं।
B.
It can be imported the same way as we import our user-defined modules,
यह उसी तरह से इंपोर्ट किए जा सकते हैं। जैसे हम अपने यूजर-डिफाईन मॉड्यूल को इंपोर्ट करते हैं।
C.
Both
दोनों
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
03
out of 50
Report Bug
Bookmark
NumPY stands for. -
नमपाई का पूर्ण अर्थ है।
A.
Numbering Python
नंबरिंग पायथन
B.
Number In Python
पायथन में नंबर
C.
Numerical Python
न्यूमेरिक पायथन
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
04
out of 50
Report Bug
Bookmark
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च-स्तरीय भाषा प्रोग्राम के निर्देश के एक सेट में परिवर्तित करता है जिससे वह कंप्यूटर पर चल सके
A.
Compiler
कम्पाइलर
B.
Debugger
डीबगर
C.
Editor
एडिटर
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
05
out of 50
Report Bug
Bookmark
The operator used to calculate remainder after division.
.......ऑपरेटर डिवीजन के बाद शेषफल की गणना करता है।
A.
%
%
B.
/
/
C.
\\
\\
D.
None of these
इनमें से कोई नहीं
Question No# :
06
out of 50
Report Bug
Bookmark
The scope rule in Python are summarized as____.
पायथन में स्कोप रूल को के रूप में संक्षेपित किया गया है।
A.
ELGB ( enclosed, local,global, built-in).
ELGB ( enclosed, local,global, built-in).
B.
LEGB (local, enclosed,global, built-in ).
LEGB (local, enclosed,global, built-in ).
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
07
out of 50
Report Bug
Bookmark
By using function _____ ,we can change the shape of the Numpy array in python.
फंक्शन का उपयोग करके, हम पायथन में Numpy ऐरे का आकार बदल सकते हैं।
A.
shape ()
shape ()
B.
reshape()
reshape()
C.
change()
change()
D.
None of these
इनमें से कोई नहीं
Question No# :
08
out of 50
Report Bug
Bookmark
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program?
पायथन के लिए निम्नलिखित में से कौन सा एनवायरनमेंट वेरिएबल पायथन इंटरप्रेटर को यह बताता है कि प्रोग्राम में इम्पोर्ट की गई मॉड्यूल फाइलों को कहाँ स्थापित करना है ?
A.
PYTHONPATH
पाइथनपाथ
B.
PYTHONSTARTUP
पाइथनस्टार्टअप
C.
PYTHONCASEOK
पाइथनकासोक
D.
PYTHONHOME
पाइथनहोम
Question No# :
09
out of 50
Report Bug
Bookmark
Which of the following is not true about an interpreter
इंटरप्रेटर के बारे में निम्नलिखित में से कौन सा सही नहीं है
A.
Interpreter generates an object program from the source program
दुभाषिया स्रोत कार्यक्रम से एक वस्तु कार्यक्रम उत्पन्न करता है
B.
Interpreter is a kind of translator
Interpreter अनुवादक का एक प्रकार है
C.
Interpreter analysis each source statement every time it is to be executed
Interpreter प्रत्येक स्रोत विवरण को हर बार निष्पादित करता है
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
10
out of 50
Report Bug
Bookmark
Which one of these is NOT true about recursion?
इनमें से कौन सा रिकर्सन के बारे में सत्य नहीं है?
A.
We can replace a recursive function by a non-recursive function.
हम एक रिकर्सिव फंक्शन को एक नॉन-रिकर्सिव फंक्शन द्वारा प्रतिस्थापित कर सकते हैं।
B.
The memory space taken by the recursive functions is more than that of non-recursive function,
रिकर्सिव फंक्शनो द्वारा लिया गया मेमोरी स्पेस नॉन-रिकर्सिव फंक्शन की तुलना में अधिक है।
C.
Running a recursive function is faster as compared to a non-recursive function.
नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन को रन करना तेज़ होता है।
D.
The process of recursion makes it easier for users to understand a program.
रिकर्सन की प्रक्रिया उपयोगकर्ताओं के लिए प्रोग्राम को समझना आसान बनाती है
Question No# :
11
out of 50
Report Bug
Bookmark
np.eye() is used for creating:
np.eye ( ) का उपयोग क्रियेट करने के लिए होता है।
A.
Identity Matrix
पहचान मैट्रिक्स
B.
Upper triangle Matrix
ऊपरी त्रिकोण मैट्रिक्स
C.
Lower Triangle Matrix
निचली त्रिकोण मैट्रिक्स
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
12
out of 50
Report Bug
Bookmark
Which of the following is correct in respect of advantages of functions?
निम्नलिखित में से कौन सा फंक्शंस के लाभों के संबंध में सही है?
A.
Decomposing complex problems into simpler pieces
कॉम्प्लेक्स समस्याओं को सरल टुकडों मे विभाजित करना ।
B.
Reducing duplication of code
कोड का दोहराव कम करना
C.
both A and B
तथा B दोनों
D.
None of the above.
उपर्युक्त में से कोई नहीं
Question No# :
13
out of 50
Report Bug
Bookmark
The function used to find power of a number.
किसी संख्या का पॉवर ज्ञात करने के लिए प्रयुक्त फंक्शन है।
A.
pow()
pow()
B.
exp()
exp()
C.
tell()
tell()
D.
None of these
इनमे से कोई भी नहीं
Question No# :
14
out of 50
Report Bug
Bookmark
What is list data type in python?
पायथन में लिस्ट डेटा टाइप क्या है?
A.
collection of integer number
इंटीजर नंबर का संग्रह
B.
collection of string
स्ट्रिंग का संग्रह
C.
collection of same data type
समान डेटा प्रकार का संग्रह
D.
collection of different data type
विभिन्न प्रकार के डेटा का संग्रह
Question No# :
15
out of 50
Report Bug
Bookmark
immutable means.
इम्यूटेबिल का अर्थ है ।
A.
They cannot be edited
वे बदले नही जा सकते है
B.
They can be edited
वे बदले जा सकते है
C.
Both of the above
Both of the above
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
16
out of 50
Report Bug
Bookmark
How we can convert the Numpy array to the list in python?
हम पायथन में Numpy ऐरे को सूची में कैसे बदल सकते हैं?
A.
list(array)
लिस्ट(ऐरे)
B.
list.array
लिस्ट.ऐरे
C.
array.list
ऐरे.लिस्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
17
out of 50
Report Bug
Bookmark
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
18
out of 50
Report Bug
Bookmark
____ is used to close a file object(fp).
____ का उपयोग किसी फाइल ऑब्जेक्ट (fp) को बंद करने के लिए करते है ।
A.
close.fp
close.fp
B.
fp.close()
fp.close()
C.
file.exit()
file.exit()
D.
None of these
इनमें से कोई नहीं
Question No# :
19
out of 50
Report Bug
Bookmark
What is full form of PVM?
पीवीएम का फुल फॉर्म क्या है?
A.
Python Visual Machine
Python Visual Machine
B.
Python Visual Mode
Python Visual Mode
C.
Python Virtual Machine
Python Virtual Machine
D.
Python Virtual Mode
Python Virtual Mode
Question No# :
20
out of 50
Report Bug
Bookmark
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
21
out of 50
Report Bug
Bookmark
Advantage of using Flow Charts are :
फ्लोचार्ट का उपयोग करने का लाभ है:
A.
Effective Analysis
प्रभावी विश्लेषण
B.
Proper documentation
उचित डॉक्युमेन्ट
C.
Efficient Coding
कुशल कोडिंग
D.
All of the above
उपर्युक्त सभी
Question No# :
22
out of 50
Report Bug
Bookmark
To give a default separator with print() argument is used.
प्रिंट () के साथ डिफॉल्ट सेपरेटर देने के लिए . आर्गुमेन्ट का उपयोग किया जाता है।
A.
sep
सेप
B.
separator
सेपरेटर
C.
end
एंड
D.
tab
टैब
Question No# :
23
out of 50
Report Bug
Bookmark
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन लाइन द्वारा प्रोग्रामिंग कोड को क्रियान्वित करता है?
A.
Compiler
Compiler
B.
Interpreter
Interpreter
C.
Executer
Executer
D.
Translator
Translator
Question No# :
24
out of 50
Report Bug
Bookmark
Leading white space at the beginning of each element, which is used to determine the group of statement
प्रत्येक एलिमेन्ट की शुरुआत में अग्रणी सफेद स्पेस, जिसका उपयोग कथन के समूह को निर्धारित करने के लिए किया जाता है।
A.
Testing
टेस्टिंग
B.
Indentation
इन्डेन्टेशन
C.
Debugging
डिबगिंग
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
25
out of 50
Report Bug
Bookmark
___ is correct regarding the object- oriented programming concept in Python?
पायथन में ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग कॉन्सेप्ट के बारे में सही है।
A.
Classes are real world entities.
क्लॉसेस रियल वर्ल्ड इन्ट्टिीज हैं।
B.
Objects are real world entities
ऑब्जेक्ट रियल वर्ल्ड इन्ट्टिीज है।
C.
Objects and classes are real world entities.
ऑब्जेक्ट्स और क्लॉसेस रियल वर्ल्ड इन्ट्टिीज है ।
D.
objects are real-world entities while classes are not real.
ऑब्जेक्ट्स रियल वर्ल्ड इन्ट्टिीज हैं जबकि क्लॉसेस रियल वर्ल्ड इन्ट्टिीज नहीं हैं ।
Question No# :
26
out of 50
Report Bug
Bookmark
Which of the following environment variable for Python is an alternative module search path ?
पायथन के लिए निम्नलिखित में से कौन सा इन्वायरनमेन्ट वेरिएबल के वैकल्पिक मॉड्यूल का खोज पाथ है?
A.
PYTHONPATH
PYTHONPATH
B.
PYTHONSTARTUP
PYTHONSTARTUP
C.
PYTHONCASEOK
PYTHONCASEOK
D.
PYTHONHOME
PYTHONHOME
Question No# :
27
out of 50
Report Bug
Bookmark
_______ are user Define name
___________उपयोगकर्ता परिभाषित नाम।
A.
Identifiers
Identifier
B.
constant
constant
C.
syntax
syntax
D.
expression
expression
Question No# :
28
out of 50
Report Bug
Bookmark
_____ help programmers to create lists in a concise way.
_____ संक्षिप्त रूप में सूची बनाने के लिए प्रोग्रामर की मदद करता है।
A.
Tuple
टपल
B.
Dictionary
डिक्शनरी
C.
List Comprehensions
लिस्ट कम्प्रीहेन्सन
D.
None of these
इनमें से कोई नही
Question No# :
29
out of 50
Report Bug
Bookmark
Which of the following python function converts a string to a list.
निम्नलिखित में से कौन सा पायथन फंक्शन एक स्ट्रिंग को एक लिस्ट में परिवर्तित करता है।
A.
list()
लिस्ट()
B.
str()
str()
C.
Both of the above
ऊपर के दोनों
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
30
out of 50
Report Bug
Bookmark
The error that can be pointed out by the compiler are
compiler द्वारा इंगित की जा सकने वाली त्रुटि हैं
A.
Syntax errors
Syntax errors
B.
Semantic errors
Semantic errors
C.
logical errors
logical errors
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
31
out of 50
Report Bug
Bookmark
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे कहते हैं
A.
Type conversion
टाईप कन्वर्जन
B.
Type casting
टाईप कॉस्टिंग
C.
Both of the above
उपर्युक्त दोनो
D.
None of the above
उपर्युक्त में से कोई नही
Question No# :
32
out of 50
Report Bug
Bookmark
How can we create on empty list in Python?
हम पायथन में एक खाली सूची कैसे बना सकते हैं?
A.
list=()
list=()
B.
list.null
list.null
C.
null.list
null.list
D.
list=[]
list=[]
Question No# :
33
out of 50
Report Bug
Bookmark
Strings in Python are _____
पायथन में स्ट्रिंग ..... है ।
A.
mutable
परिवर्तनशील
B.
immutable
अपरिवर्तनशील
C.
fixed
फिक्स्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
34
out of 50
Report Bug
Bookmark
To create sequence of numbers,Numpy provides a function ____ analogous to range that returns arrays instead of lists.
संख्याओं का क्रम बनाने के लिए, Numpy रेंज के समरूप एक फंक्शन _____ प्रदान करता है जो सूचियों के बजाय ऐरे रिटर्न करता है।
A.
arange
अरेंज
B.
aspace
एस्पेस
C.
aline
अलाइन
D.
All of the above
उपर्युक्त सभी
Question No# :
35
out of 50
Report Bug
Bookmark
The ______ statement lets the program go through the piece of code without performing any action.
स्टेटमेंट प्रोग्राम को बिना किसी भी क्रिया को किये कोड के टुकड़े के माध्यम से जाने देता है ।
A.
pass
पास
B.
Get
गेट
C.
Range
रेंज
D.
None of these
इनमें से कोई नहीं
Question No# :
36
out of 50
Report Bug
Bookmark
The Pandas ______ method returns a new Data Prame.
पंडास का ______ मेथड एक नया डेटाप्रेम रीटर्न करता है।
A.
dropna()
dropna()
B.
Pandas
पंडास
C.
read_csv()
read_csv()
D.
None of these
इनमें से कोई नही
Question No# :
37
out of 50
Report Bug
Bookmark
Testing is known as :
टेस्टिंग को _____ कहा जाता है
A.
A stage of all projects
सभी प्रोजेक्टस का स्टेज
B.
Finding broken code
ब्रोकेन कोड ढूँढना
C.
Evaluating deliverable to find errors
त्रुटियों को खोजने के लिए डिलीवरेवल को एवैल्यूएट करना
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
38
out of 50
Report Bug
Bookmark
What is the use of the zeros function in Numpy array in python?
पायथन में Numpy ऐरे में शून्य ( फंक्शन का उपयोग क्या है?
A.
To make a Matrix with all element 0
सभी एलिमेन्टो 0 के साथ एक मैट्रिक्स बनाने के लिए
B.
To make a Matrix with all diagonal element
सभी डॉयगोनल एलीमेन्टो के साथ एक मैट्रिक्स बनाने के लिए
C.
To make a Matrix with first Row 0
पहली रो में 0 के साथ एक मैट्रिक्स बनाने के लिए
D.
None of these
इनमें से कोई नहीं
Question No# :
39
out of 50
Report Bug
Bookmark
Designing the problem?
समस्या को बनाना है?
A.
Testing
टेस्टिंग
B.
Debugging
डिबगिंग
C.
logical error
लॉजिकल एरर
D.
Algorithm
एल्गोरिथम
Question No# :
40
out of 50
Report Bug
Bookmark
Which of the following function convert a sequence of tuples to dictionary in python?
निम्नलिखित में से कौन सा फंक्शन पाइथन में टपल्स सिक्वेन्स को डिक्शनरी में परिवर्तित करता है?
A.
set (x)
set (x)
B.
dict(d)
dict(d)
C.
frozenset(s)
frozenset(s)
D.
chr(x)
chr(x)
Question No# :
41
out of 50
Report Bug
Bookmark
Converts a list into tuple.
लिस्ट को टपल में परिवर्तित करता है ।
A.
Tuples (seq)
Tuples (seq)
B.
list(seq)
list(seq)
C.
dict (seq)
dict (seq)
D.
None
कोई नहीं
Question No# :
42
out of 50
Report Bug
Bookmark
What is identity array?
आइडेंटिटि ऐरे क्या है ।
A.
This is a square array with ones on the main diagonal.
यह एक वर्गाकार ऐरे है जिसमें मुख्य विकर्ण पर एक होता हैं।
B.
This is a normal array.
यह एक सामान्य ऐरे है
C.
This is a array with ones on the main diagonal.
यह मुख्य विकर्ण पर एक के साथ एक ऐरे है ।
D.
None of these
इनमें से कोई नहीं
Question No# :
43
out of 50
Report Bug
Bookmark
which of the following is correct about Python ?
निम्नलिखित में से कौन सा पायथन के बारे में सही है?
A.
It supports automatic garbage collection.
यह स्वचालित गारबेज कलेक्शन को सपोर्ट करता है।
B.
It can be easily integrated with C, C++,Com, ActiveX, CORBA, and Java.
इसे आसानी से C, C++,Com, ActiveX, CORBA और Java के साथ एकीकृत किया जा सकता है।
C.
Both of the above
ऊपर के दोनों
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
44
out of 50
Report Bug
Bookmark
______ smallest individual unit or element in a program.
....प्रोग्राम में सबसे छोटी इन्डिविजुअल यूनिट या एलिमेन्ट होता है।
A.
Token
टोकन
B.
Keyword
कीवर्ड
C.
Identifier
आइडेन्टिफॉयर
D.
None of these
इनमें से कोई नहीं
Question No# :
45
out of 50
Report Bug
Bookmark
If we overcome the rules of the programming language, we get
यदि हम प्रोग्रामिंग भाषा के नियमों फेर बदल करते है तो उसका परिणाम
A.
Runtime error
रनटाइम एरर
B.
Syntax error
सिंटेक्स एरर
C.
logical error
लॉजिकल एरर
D.
None of the above.
इनमे से कोई भी नहीं
Question No# :
46
out of 50
Report Bug
Bookmark
Which of the following is not a correct mode to open a file?
फाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
A.
ab
ab
B.
rw
rw
C.
a+
a+
D.
r+
r+
Question No# :
47
out of 50
Report Bug
Bookmark
PyPI stands for
PyPI का मतलब ____ है
A.
Python Package Index.
पायथन पैकेज इंडेक्स
B.
Python package Installer
पायथन पैकेज इंस्टालर
C.
Both A & B
A तथा B दोनों
D.
None of the above.
उपरोक्त में से कोई नही
Question No# :
48
out of 50
Report Bug
Bookmark
Which of the statements about modules is false?
मॉड्यूल के बारे में कौन सा कथन गलत है ?
A.
In the “from-import" form of import, identifiers beginning with two underscores are private and aren't imported.
इम्पोर्ट के रूप में "from-import", दो अंडरस्कोर से शुरू होने वाले आईडेन्टिफॉयर प्राइवेट होते हैं और इम्पोर्ट नहीं किए जाते हैं
B.
dir() built-in function monitors the items in the namespace of the main module.
dir () बिल्ट-इन फंक्शन मुख्य मॉड्यूल के नेमस्पेस में आइटम को देखता है ।
C.
In the "from-import" form of import, all identifiers regardless of whether they are private or public are imported.
इम्पोर्ट के रूप में "from-import", सभी आईडेन्टिफॉयर चाहे वे प्राइवेट हों या पब्लिक, इम्पोर्ट किए जाते हैं ।
D.
When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced.
जब कोई मॉड्यूल लोड होता है, तो फ़ाइल एक्सटेंशन .pyc के साथ मॉड्यूल का एक कम्पाइल्ड वर्जन स्वचालित रूप से निर्मित होता है ।
Question No# :
49
out of 50
Report Bug
Bookmark
Which of the following is not a valid namespace?
निम्नलिखित में से कौन एक वैध नेमस्पेस नहीं है
A.
Global namespace
ग्लोबल नेमस्पेस
B.
Public namespace
पब्लिक नेमस्पेस
C.
Built-in namespace
बिल्ट-ईन नेमस्पेस
D.
Local namespace
लोकल नेमस्पेसं
Question No# :
50
out of 50
Report Bug
Bookmark
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में ली इन्टीजर टाइप की वैल्यू नहीं है।
A.
Decimal
डेसीमल
B.
Octal
ऑक्टल
C.
Hexadecimal
हेक्साडेसीमल
D.
Roman
रोमन
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