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
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# :
02
out of 50
Report Bug
Bookmark
Strings in Python are _____
पायथन में स्ट्रिंग ..... है ।
A.
mutable
परिवर्तनशील
B.
immutable
अपरिवर्तनशील
C.
fixed
फिक्स्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
03
out of 50
Report Bug
Bookmark
The structure having keys and values is called _____ .
"की" और वैल्यू वाले स्ट्रक्चर को_____ कहा जाता है ।
A.
List
लिस्ट
B.
Dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
04
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# :
05
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
06
out of 50
Report Bug
Bookmark
_____ reads one entire line from the file.
____ फाइल से एक पूरी लाइन पढता है ।
A.
readline()
readline
B.
read()
read
C.
readinglines()
readinglines()
D.
None of these
इनमें से कोई नहीं
Question No# :
07
out of 50
Report Bug
Bookmark
If we not see the rules of th programming language, we get ?
यदि हम प्रोग्रामिंग भाषा के नियमों को नही दे हैं, तो हमें प्राप्त होता है?
A.
Runtime Error
रनटाइम एरर
B.
Syntax Error
सिन्टैक्स एरर
C.
Logical Error
लॉजिकल एरर
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
08
out of 50
Report Bug
Bookmark
Raw data assigned to a variable is called as,
एक वैरिएबल को निर्दिष्ट रॉ डेटा को .....कहा जाता है
A.
variable
वैरिएबल
B.
literal
लिटरल
C.
identifier
आइडेंटिफायर
D.
comment
कमेंट
Question No# :
09
out of 50
Report Bug
Bookmark
The _____ symbol is used at the beginning of a flow chart.
____ सिम्बल का उपयोग फ्लोचार्ट की शुरुआत में किया जाता है।
A.
Oval or Pill Shape
ओवल या पिल शेप
B.
Rectangle
आयत
C.
Diamond
डॉयमण्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
10
out of 50
Report Bug
Bookmark
Testing is known as
परीक्षण के रूप में जाना जाता है
A.
A stage of all projects
A stage of all projects
B.
Finding broken code
Finding broken code
C.
Evaluating deliverable to find errors
Evaluating deliverable to find errors
D.
None of the above
None of the above
Question No# :
11
out of 50
Report Bug
Bookmark
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में लिस्ट का अंतिम एलिमेन्ट बताइयें ? मान लें "बाइक लिस्ट का नाम है।
A.
bikes[:-1]
bikes[:-1]
B.
bilkes[1]
bilkes[1]
C.
bikes (:-1)
bikes (:-1)
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
12
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# :
13
out of 50
Report Bug
Bookmark
Which of the following statement is false about recursion:
रिकर्शन के बारे में निम्नलिखित कथनों में से कौन सा गलत है:
A.
Every recursive function must have a base case
प्रत्येक रिकर्सिव फंक्शन का एक बेस केस अवश्य होना चाहिए
B.
Infinite recursion can occur if the base case isn't properly mentioned
यदि बेस केस का उल्लेख उपयुक्त रूप में न किया गया हो तो इन्फाइनाईट रिकर्शन हो सकता है
C.
A recursive function makes the code easier to understand
एक रिकर्सिव फंक्शन कोड को समझने में आसान बनाता है
D.
Every recursive function must have a return value
प्रत्येक रिकर्सिव फंक्शन की एक रिटर्न वैल्यू अवश्य होनी चाहिए
Question No# :
14
out of 50
Report Bug
Bookmark
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी फॉर्मेट में पढ़ने और लिखने दोनों के लिए फाइल खोलता है।
A.
rb+
rb+
B.
rb-
rb-
C.
Wb
Wb
D.
None
कोई नहीं
Question No# :
15
out of 50
Report Bug
Bookmark
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
16
out of 50
Report Bug
Bookmark
Which of the following is the proper syntax to check if a particular element is present in a list?
लिस्ट में कोई विशेष एलिमेन्ट मौजूद है या नहीं, यह जांचने के लिए निम्नलिखित में से कौन सा उचित सिन्टैक्स है?
A.
if ele in list
if ele in list
B.
if not ele not in list
if not ele not in list
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
17
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# :
18
out of 50
Report Bug
Bookmark
Which of the following operator in python evaluates to true if the variables on either side of the operator point to the same object and false otherwise?
पायथन में निम्नलिखित में से कौन सा ऑपरेटर सत्य का मूल्यांकन करता है यदि ऑपरेटर के दोनों और वेरियेबिल एक ही ऑब्जेक्ट को इंगित करते हैं और अन्यथा गलत हैं?
A.
**
**
B.
//
//
C.
is
is
D.
not in
not in
Question No# :
19
out of 50
Report Bug
Bookmark
_______ are user Define name
___________उपयोगकर्ता परिभाषित नाम।
A.
Identifiers
Identifier
B.
constant
constant
C.
syntax
syntax
D.
expression
expression
Question No# :
20
out of 50
Report Bug
Bookmark
Every function has an implicit statement _____ as the last instruction in the function body.
प्रत्येक फंक्शन का फंक्शन बॉडी में अंतिम निर्देश के रूप में एक अंतर्निहित _____ स्टेटमेंट होता है।
A.
Return
रिटर्न
B.
pass
पास
C.
for
फॉर
D.
None of these
इनमें से कोई नहीं
Question No# :
21
out of 50
Report Bug
Bookmark
Connectors used to connect flowchart symbols to each other are classified as.
फ़्लोचार्ट सिम्बलो को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को वर्गीकृत किया जाता है ।
A.
Arrow lines.
ऐरो लाइन्स
B.
Symbols
सिम्बल
C.
Annotation
एनोटेशन
D.
Special symbols
विशेष सिम्बल
Question No# :
22
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# :
23
out of 50
Report Bug
Bookmark
Which one of the following is a valid Python if statement:
निम्नलिखित में से कौन सा एक वैध पायथन if स्टेटमेन्ट है:
A.
if a> = 2:
if a> = 2:
B.
if (a>= 2)
if (a>= 2)
C.
if (a => 22)
if (a => 22)
D.
if a >= 22
if a >= 22
Question No# :
24
out of 50
Report Bug
Bookmark
The ____ function takes two parameters, filename and mode.
_____फंक्शन पैरामीटर फाइल नाम और मोड लेता है।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open()
ओपेन()
D.
Pass
पास
Question No# :
25
out of 50
Report Bug
Bookmark
Python programming language was create by ______.
पायथन प्रोग्रामिंग लैंग्वेज ______ द्वारा बनाई गई थी।
A.
Ray temilson
रे टेमिलसन
B.
Guido van Rossum
गाइडो वॉन रोसम
C.
Tim Berner
टिम बर्नर
D.
None of these
इनमें से कोई नहीं
Question No# :
26
out of 50
Report Bug
Bookmark
____ help to check the data type of an array-
एक ऐरे के डेटा टाइप की जांच करने में मदद करता है
A.
arraydtype()
arraydtype()
B.
arr.dtype()
arr.dtype()
C.
dtype.arr()
dtype.arr()
D.
None of these
इनमें से कोई नहीं
Question No# :
27
out of 50
Report Bug
Bookmark
Which of the following keyword is used to access the numpy module in python?
पायथन में संख्यात्मक मॉड्यूल का उपयोग करने के लिए निम्न में से किस कीवर्ड का उपयोग किया जाता है?
A.
form
फॉर्म
B.
access
एक्सेज
C.
import
इंपोर्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
28
out of 50
Report Bug
Bookmark
_____ is also known as the alias array.
को alias array के रूप में भी जाना जाता है।
A.
ndarray
एनडीऐरे
B.
array
ऐरे
C.
alias
एलियॉस
D.
None of these
इनमें से कोई नहीं
Question No# :
29
out of 50
Report Bug
Bookmark
Which of the following is the datatype possible in python?
पायथन में निम्नलिखित में से कौन सा डेटाटाइप संभव है?
A.
int
int
B.
list
list
C.
dictionary
ड़िक्शनरी
D.
All 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
In which of the following data type, duplicate items are not allowed?
निम्नलिखित में से किस डेटा टाइप में, डुप्लिकेट आइटम की अनुमति नहीं है ?
A.
list
लिस्ट
B.
tuple
टपल
C.
set
सेट
D.
None of the above
उपरोक्त में से कोई नही ।
Question No# :
32
out of 50
Report Bug
Bookmark
_____ symbols are used to connect one box of flow chart to another.
____ प्रतीकों का उपयोग फ्लोचार्ट के एक बॉक्स को दूसरे में जोड़ने के लिए किया जाता है।
A.
Flow Lines
फ्लो लाइन्स
B.
circle
सर्किल
C.
diamond
डायमंड
D.
None of the above
इनमे से कोई नहीं
Question No# :
33
out of 50
Report Bug
Bookmark
What are the three different types, of algorithm constructions?
तीन अलग-अलग प्रकार के एल्गोरिथा कंशट्रकशन्स क्या होते है।
A.
Input/Output, Decision, Repeat
इनपुट/आउटपुट, डिसीज़न,रीपीट
B.
Input, Output, Process
इनपुट, आउटपुट, प्रॉसेस
C.
Loop, Input/Output, Process
लूप, इनपुट/आउटपुट, प्रॉसेस
D.
Sequence, Selection, Repeat
सीक्वेंस,सेलेक्शन,रीपीट
Question No# :
34
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# :
35
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# :
36
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# :
37
out of 50
Report Bug
Bookmark
The correct extension of the Python file is
पायथन फ़ाइल का सही एक्सटेंशन है|
A.
.py
.py
B.
.pyth
.pyth
C.
.python
.python
D.
none of these
इनमे से कोई नहीं
Question No# :
38
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# :
39
out of 50
Report Bug
Bookmark
The expression _____ implies that the variable x is converted to integer.
एक्सप्रेशन _____ वेरिएबल x को इंटीजर में बदल देता है।
A.
exp(x)
exp(x)
B.
int (x)
int (x)
C.
chr (x)
chr (x)
D.
None of these
इनमें से कोई नहीं
Question No# :
40
out of 50
Report Bug
Bookmark
_____ is a procedure or step by step process for solving a problem.
किसी समस्या को हल करने के लिए एक स्टेप बाई स्टेप प्रक्रिया है ।
A.
Algorithm
एल्गोरिदम
B.
Flowchart
फ्लोचॉर्ट
C.
Pseudocode
शूडीकोड
D.
All of these
इनमें से सभी
Question No# :
41
out of 50
Report Bug
Bookmark
What is use of seek() method in files?
फाइलों में seek () पद्धति का उपयोग क्या है?
A.
sets the file's current position at the offset.
फ़ाइल की वर्तमान स्थिति को ऑफ़सेट पर सेट करता है।
B.
sets the file's previous position at the offset.
फ़ाइल की पिछली स्थिति ऑफ़सेट पर सेट करता है।
C.
sets the file's current position within the file.
फ़ाइल के भीतर फ़ाइल की वर्तमान स्थिति सेट करता है।
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
42
out of 50
Report Bug
Bookmark
Which type of errors flagged by compilers
किस प्रकार की त्रुटि को compilers द्वारा चिह्नित किया जाता है
A.
Logical errors
Logical errors
B.
Syntax errors
Syntax errors
C.
Both Logical and Syntax errors
Logical और Syntax errors दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
43
out of 50
Report Bug
Bookmark
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किसकी एक्सप्रेशन में सर्वोच्च प्राथमिकता है?
A.
Exponential
घातीय
B.
Parentheses
कोष्ठक
C.
Multiplication
गुणन
D.
None of the above
इनमें से कोई नहीं
Question No# :
44
out of 50
Report Bug
Bookmark
______ are the modes of both writing and reading in binary format in file.
____ फाइल में बाइनरी फार्मेट में लिखने और पढ़ने दोनों मोड होते हैं।
A.
bw+
bw+
B.
wb+
wb+
C.
rb+
rb+
D.
None of these
इनमें से कोई नहीं
Question No# :
45
out of 50
Report Bug
Bookmark
_____ returns the current time instant, a floating-point number of seconds since the epoch.
_____ करेंट टाइम इंस्टेंट, काल के बाद से सेकंड की एक फ्लोटिंग-पॉइट संख्या लौटाता है।
A.
Time.time()
Time.time()
B.
datetime()
datetime()
C.
time.date()
time.date()
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
46
out of 50
Report Bug
Bookmark
In computer science, refers to a special method usable by a computer for the solution to a problem.
कंप्यूटर विज्ञान में, किसी समस्या के समाधान के लिए कंप्यूटर द्वारा उपयोग की जाने वाली एक विशेष विधि को संदर्भित करता है।
A.
algorithm
एल्गोरिथम
B.
program
प्रोग्राम
C.
Graph
ग्रॉफ
D.
None of these
इनमें से कोई नहीं
Question No# :
47
out of 50
Report Bug
Bookmark
In python-1 corresponds to the :
पायथन में - 1 का सम्बन्ध है ।
A.
last index
लास्ट इंडेक्स
B.
first index
फर्स्ट इंडेक्स
C.
middle index
मीडिल इंडेक्स
D.
end index
इंड इंडेक्स
Question No# :
48
out of 50
Report Bug
Bookmark
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
49
out of 50
Report Bug
Bookmark
Why does the name of local variables start with an underscore denote?
लोकल वेरिएबल का नाम अंडरस्कोर डिनोट से क्यों शुरू होता है?
A.
To identify the variable.
वेरिएबल की पहचान करने के लिए
B.
To identify the constant.
कॉन्स्टेन्ट की पहचान करने के लिए
C.
It indicates a public variable of a class.
यह एक क्लॉस के पब्लिक वेरिएबल को इंगित करता है।
D.
Variables cannot be accessed from outside the class.
वेरिएबल्स को क्लॉस के बाहर से एक्सेस नहीं किया जा सकता है
Question No# :
50
out of 50
Report Bug
Bookmark
Which of the following language is understood by computer?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
A.
Machine language
मशीन लैंग्वेज
B.
Assembly language
असेंब्ली लैंग्वेज
C.
High-level language
हाई-लेवल लैंग्वेज
D.
None of these
इनमें से कोई नही
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