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 : 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
Identify the correct sequence of steps to run a program.
प्रोग्राम चलाने को रन करने के लिए स्टेप्स के सही सीक्वेंस की पहचान करें।
A.
Link, Load, Code, Compile, & Execute
लिंक, लोड, कोड, कम्पाइल, एवं एक्सीक्यूट
B.
Code, Compile, Link, Execute & Load
कोड, कम्पाइल, लिंक, एक्सीक्यूट एवं लोड
C.
Code, Compile, Link, load & Execute
कोड, कम्पाइल, लिंक, लोड एवं एक्सीक्यूट
D.
Compile, Code, Link, load, & Execute
कम्पाइल, कोड, लिंक, लोड एवं एक्सीक्यूट
Question No# :
02
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# :
03
out of 50
Report Bug
Bookmark
The operator used to calculate remainder after division.
.......ऑपरेटर डिवीजन के बाद शेषफल की गणना करता है।
A.
%
%
B.
/
/
C.
\\
\\
D.
None of these
इनमें से कोई नहीं
Question No# :
04
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# :
05
out of 50
Report Bug
Bookmark
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
चरण-दर-चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो किसी समस्या को अंत या समाधान के साथ हल करता है।
A.
Flowchart
फ्लोचार्ट
B.
Algorithm
एल्गोरिदम
C.
Process
प्रोसेस
D.
None of these
इनमें से कोई नहीं
Question No# :
06
out of 50
Report Bug
Bookmark
When _____ gets executed, 'inner PI value' is printed as that is 'pi' value inside the function namespace.
जब एक्सिक्यूट होता है, तो 'inner PI value' प्रिंट होता है क्योंकि फंक्शन नेमस्पेस के अंदर 'pi' वैल्यू होता है।
A.
pi()
pi()
B.
piFun()
piFun()
C.
Fun()
Fun()
D.
None of these
इनमें से कोई नहीं
Question No# :
07
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# :
08
out of 50
Report Bug
Bookmark
Designing the problem?
समस्या को बनाना है?
A.
Testing
टेस्टिंग
B.
Debugging
डिबगिंग
C.
logical error
लॉजिकल एरर
D.
Algorithm
एल्गोरिथम
Question No# :
09
out of 50
Report Bug
Bookmark
All keywords in python are in ____
पायथन में सभी कीवर्ड ____में होते हैं।
A.
lowercase
लोअरकेस
B.
UPPERCASE
अपरकेस
C.
Capitalized
कैपिटलाईज्ड
D.
None of the mentioned
उल्लिखित कोई नहीं
Question No# :
10
out of 50
Report Bug
Bookmark
is used for data analysis and manipulations in tabular data in Python.
..... का उपयोग पायथन में डेटा विश्लेषण और टेबुलर डेटा को मैनीपुलेट करने के लिए किया जाता है ।
A.
Pandas
पंडास
B.
circle
सर्किल
C.
rhombus
रहोम्बुस
D.
block
ब्लॉक
Question No# :
11
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# :
12
out of 50
Report Bug
Bookmark
What is unpickling ?
अनपिकलिंग क्या है?
A.
It is used for object deserialization.
इसका उपयोग ऑब्जेक्ट डिसीरियलाइज़ेशन के लिए किया जाता है।
B.
It is used for object serialization.
इसका उपयोग ऑब्जेक्ट सीरियलाइज़ेशन के लिए किया जाता है।
C.
Both of the above.
उपरोक्त दोनों
D.
None of the above.
उपरोक्त में से कोई नहीं
Question No# :
13
out of 50
Report Bug
Bookmark
An algorithm is best describe as
एक एल्गोरिथ्म का सबसे अच्छा वर्णन है
A.
A computer language
एक कंप्यूटर भाषा
B.
A step by step procedure for solving a problem
किसी समस्या को हल करने के लिए चरण दर चरण प्रक्रिया
C.
A branch of mathematics
गणित की एक शाखा
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
14
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# :
15
out of 50
Report Bug
Bookmark
Which of the following carries out the instructions defined in the interface ?
निम्नलिखित में से कौन इंटरफ़ेस में परिभाषित निर्देशों का पालन करता है?
A.
Operating System
ऑपरेटिंग सिस्टम
B.
Compiler
कम्पाइलर
C.
Implementation
इम्प्लीमेंटेशन
D.
Interpreter
इंटरप्रेटर
Question No# :
16
out of 50
Report Bug
Bookmark
It defines the accessibility and the lifetime of a variable.
यह वैरियेबल की पहुंच और जीवनकाल को डिफाइन करता है।
A.
scope
स्कोप
B.
Lifetime
लाइफटाइम
C.
keyword
कीवर्ड
D.
None
कोई नहीं
Question No# :
17
out of 50
Report Bug
Bookmark
Which of the following concepts is not a part of Python?
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?
A.
Pointers
पॉइंटर
B.
Loops
लूप्स
C.
Dynamic Typing
डॉयनामिक टाइपिंग
D.
All of the above
उपरोक्त सभी
Question No# :
18
out of 50
Report Bug
Bookmark
What is the order of namespaces in which Python looks for an identifier?
नेमस्पेस का क्रम क्या है जिसमें पायथन एक आइडेन्टिफॉयर की खोज करता है?Python first searches the built-in namespace, then the global namespace and finally the local namespace.
A.
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
पायथन पहले बिल्ट-इन नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में लोकल नेमस्पेस की खोज करता है
B.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
पायथन पहले बिल्ट-इन नेमस्पेस, फिर लोकल नेमस्पेस और अंत में ग्लोबल नेमस्पेस की खोज करता है
C.
Python first searches the local namespace, then the global namespace and finally the built-in namespace
पायथन पहले लोकल नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
D.
Python first searches the global namespace, then the local namespace and finally the built-in namespace
पायथन पहले ग्लोबल नेमस्पेस, फिर लोकल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
Question No# :
19
out of 50
Report Bug
Bookmark
Which of the following functions take iterables(can be zero or more), makes iterator that aggregates elements based on the iterables passed, and returns an iterator of tuples.
निम्नलिखित में से कौन सा फंक्शन एक इंटरेबल्स लेता है (शून्य या अधिक हो सकता है), इटरेटर बनाता है जो पास किए गए इटरेबल के आधार पर एलिमेन्टो को एकत्रित करता है, और टपल्स का इटरेटर देता है।
A.
Zip()
Zip()
B.
tuple()
tuple()
C.
list()
list()
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
20
out of 50
Report Bug
Bookmark
If we try to access the item outside the list index, then what type of error it may give ?
यदि हम लिस्ट इन्डेक्स के बाहर के आइटम तक पहुँचने का प्रयास करते हैं, तो यह किस प्रकार की त्रुटि दे सकता है?
A.
List is not defined
लिस्ट डिफाईन नहीं है
B.
List index out of range
लिस्ट इंडेक्स रेंज से बाहर है
C.
List index out of bound
लिस्ट इंडेक्स बाउंड से बाहर है
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
21
out of 50
Report Bug
Bookmark
The method used to removes all the items at once.
मेथड एक ही बार में सभी ऑइटम को हटा देता है।
A.
remove ()
remove ()
B.
clear()
clear()
C.
removelist ()
removelist ()
D.
None of these
इनमें से कोई नहीं
Question No# :
22
out of 50
Report Bug
Bookmark
The process of finding errors in code is called as
कोड में त्रुटियों को खोजने की प्रक्रिया को क्या कहा जाता है?
A.
Compiling
Compiling
B.
Running
Running
C.
Testing
Testing
D.
Debugging
Debugging
Question No# :
23
out of 50
Report Bug
Bookmark
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
24
out of 50
Report Bug
Bookmark
The word comes form the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called?
यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न- ए मूसा अल खोवारिजामी के नाम से आया है को..... क्या कहा जाता है?
A.
Flowchart
फ़्लोचार्ट
B.
Flow
फ्लो
C.
Algorithm
एल्गोरिथम
D.
syntax
सिन्टैक्स
Question No# :
25
out of 50
Report Bug
Bookmark
Select the reserved keyword in python.
पायथन में रिजर्व कीवर्ड का चयन करें।
A.
else
ईल्स
B.
raise
रेज
C.
import
इंपोर्ट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
26
out of 50
Report Bug
Bookmark
In Python, the primary use of the tell() method is that:
पायथन में, tell() मेथड का प्राथमिक उपयोग यह है कि:
A.
within the file, it tells the end position.
फाइल के भीतर, यह अंतिम स्थिति बताता है।
B.
within the file, it tells the current position.
फाइल के भीतर, यह वर्तमान स्थिति बताता है ।
C.
it tells us if the file is opened.
यह हमें बताता है कि फाइल खोली गई है या नहीं ।
D.
none of the above.
उपरोक्त में से कोई नहीं ।
Question No# :
27
out of 50
Report Bug
Bookmark
Which of these is the definition for packages in Python?
इनमें से कौन सी पायथन में पैकेजेस की डेफिनेशन है?
A.
A set of main modules.
मुख्य मॉड्यूल का एक सेट
B.
A folder of python modules
पायथन मॉड्यूल का एक फोल्डर
C.
A number of files containing Python definitions and statements.
अनेक फाइलें जिनमें पायथन डेफिनेशन और स्टेटमेन्ट शामिल हैं
D.
A set of programs making use of Python modules.
पायथन मॉड्यूल का उपयोग करने वाले प्रोग्रामों का एक सेट है
Question No# :
28
out of 50
Report Bug
Bookmark
Row data assigned to a variable is called as.
एक वेरिएबल को निर्दिष्ट रॉ डेटा को ......... कहा जाता है।
A.
variable
वेरिएबल
B.
literal
लिटरल
C.
identifier
आइडेंटिफायर
D.
comment
कमेंट
Question No# :
29
out of 50
Report Bug
Bookmark
How is a function declared in Python?
पायथन मे एक फंक्शन को कैसे डिक्लेयर किया जाता है?
A.
def function function_name():
def function function_name():
B.
declare function function_name():
declare function function_name():
C.
def function_name():
def function_name():
D.
declare function_name():
declare function_name():
Question No# :
30
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# :
31
out of 50
Report Bug
Bookmark
The Compexity of linear search algorithm is
लीनियर सर्च एल्गोरिथ्म की जटिलता है।
A.
O(n)
O(n)
B.
O (log n)
O (log n)
C.
O(n2)
O(n2)
D.
O (n log n)
O (n log n)
Question No# :
32
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# :
33
out of 50
Report Bug
Bookmark
Which function removes a set's first and the last element from a list?
कौन सा फंक्शन किसी सूची से सेट के पहले और अंतिम एलिमेन्ट को हटा देता है?
A.
pop
पॉप
B.
remove
रिमूव
C.
dispose
डिस्पोज
D.
None of these
इनमें से कोई नहीं
Question No# :
34
out of 50
Report Bug
Bookmark
Which of the following statement will be true.
निम्नलिखित में से कौन सा कथन सत्य होगा ।
A.
Python allows you to assign a single value to multiple variables simultaneously.
पायथन आपको एक साथ अनेक वेरिएबल लिए एक वैल्यू निर्दिष्ट करने की अनुमति
B.
You can assign multiple values to multiple variables by separating variables and values with commas.
आप अनेक वेरिएबल के लिए अनेक वैल्यू को कॉमा के द्वारा अलग करके निर्दिष्ट कर सकते है.
C.
You can assign the same value to multiple variables by using = consecutively..
आप एक ही वैल्यू को अनेक वेरिएबिलो के लिए = क्रमागत रूप से निर्दिष्ट कर सकते हैं
D.
All of the above
उपरोक्त सभी
Question No# :
35
out of 50
Report Bug
Bookmark
What does pip stand for python ?
पायथन के लिए pip का क्या अर्थ है ?
A.
unlimited length.
असीमित लंबाई
B.
all private members must have leading and trailing underscores.
सभी प्राइवेट मेम्बरो के पास अग्रणी और अनुगामी अंडरस्कोर होना चाहिए
C.
Preferred Installer Program.
पसंदीदा इंस्टालर प्रोग्राम
D.
none of the mentioned
उल्लिखित कोई नहीं
Question No# :
36
out of 50
Report Bug
Bookmark
____ statement used for error checking. -
एरर चेकिंग के लिए उपयोग किया जाने वाला स्टेटमेन्ट है।
A.
Assert
एजर्ट
B.
List
लिस्ट
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
37
out of 50
Report Bug
Bookmark
_____method calls the built-in Python help system.
____ मेथड बिल्ट-इन पायथन हेल्प सिस्टम को कॉल करती है।
A.
python.help ()
python.help ()
B.
help()
help()
C.
help.python()
help.python()
D.
None of the Above
उपर्युक्त में से कोई नहीं
Question No# :
38
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# :
39
out of 50
Report Bug
Bookmark
The ____ function is used to convert a string value to int.
_____फंक्शन का उपयोग स्ट्रिंग वैल्यू को int में बदलने के लिए किया जाता है।
A.
Str
Str
B.
int
int
C.
convert
कन्वर्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
40
out of 50
Report Bug
Bookmark
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
टपल्स और सूचियो के बीच यह अंतर है कि टपल्स सूचियो के विपरीत बदले नहीं जा सकते है और टपल्स ______का उपयोग करते हैं, जबकि सूचियाँ वर्ग कोष्ठक का उपयोग करती है।
A.
Angular brackets
एंगुलर ब्रैकेट
B.
parentheses
ब्रैकेट
C.
curly brackets
कर्ली ब्रैकेट
D.
None of these
इनमें से कोई नहीं
Question No# :
41
out of 50
Report Bug
Bookmark
Shape() function in Numpy array is used to
Numpy ऐरे में Shape() फंक्शन का उपयोग किया जाता है।
A.
Find the shape of the array
ऐरे का आकार खोजने
B.
change the shape of array
ऐरे का आकार बदलने
C.
Display elements
एलिमेन्ट डिस्प्ले करना
D.
None of these
इनमें से कोई नही
Question No# :
42
out of 50
Report Bug
Bookmark
Which of the following language is understood by computer ?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
A.
Machine language
Machine language
B.
Assembly language
Assembly language
C.
High-level language
High-level language
D.
None of the above
None of the above
Question No# :
43
out of 50
Report Bug
Bookmark
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों का प्रतिनिधित्व ____ में किया जाता है ।
A.
Boxes
बॉक्स
B.
Circles
सर्किल
C.
Arrows
एरो
D.
All of the above
उपर्युक्त सभी
Question No# :
44
out of 50
Report Bug
Bookmark
In the declaration, x = Circle (), x contains a _to Circle object. -
डिक्लेरेशन में, x=Circle (), x में Circle) का .....ऑब्जेक्ट शामिल होता है।
A.
dropna()
dropna()
B.
Reference
रेफ़्रेन्स
C.
Optimisers
ऑप्टिमाइजर
D.
None of these
इनमें से कोई नही
Question No# :
45
out of 50
Report Bug
Bookmark
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
A.
Interpreter
इंटरप्रीटर
B.
Modem
मॉडम
C.
Compiler
कम्पाइलर
D.
Operating system
ऑपरेटिंग सिस्टम
Question No# :
46
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# :
47
out of 50
Report Bug
Bookmark
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
Question No# :
48
out of 50
Report Bug
Bookmark
The correctness and appropriateness of _____ solution can be checked very easily.
____ की शुद्धता और उपयुक्तता की बहुत आसानी से जांच की जा सकती है।
A.
algorithmic
एल्गोरिथिमक
B.
heuristic
हेरिस्टिक
C.
random
यादृच्छिक
D.
none of these
इनमे से कोई नही
Question No# :
49
out of 50
Report Bug
Bookmark
Function blocks begin with the keyword _.
फंक्शन ब्लॉक कीवर्ड .... से शुरू होते हैं।
A.
function
फ़ंक्शन
B.
method
मेथड
C.
def
डीइएफ
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
50
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)
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