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
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# :
02
out of 50
Report Bug
Bookmark
Which of the following is Immutable object.
निम्नलिखित में से कौन अपरिवर्तनीय ऑब्जेक्ट है।
A.
List
लिस्ट
B.
Tuple
टपल
C.
Dictionary
डिक्शनरी
D.
All of the above
उपरोक्त सभी
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
The function that yields current position in the file.
वह फंक्शन जो फाइल में वर्तमान स्थिति को बताता है ।
A.
tell()
टेल()
B.
write()
राइट()
C.
Writelines()
राइटलाइन्स()
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
05
out of 50
Report Bug
Bookmark
The function generates sequence of numbers from 1 to n.
फंक्शन 1 से n तक संख्याओं का एक सिक्वेन्स उत्पन्न करता है ।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open
ओपेन
D.
Pass
पास
Question No# :
06
out of 50
Report Bug
Bookmark
A natural number 1 is also an ____ .
एक नेचुरल नंबर 1 भी एक ____ है ।
A.
Factor
फैक्टर
B.
integer number
पूर्णांक संख्या
C.
unique number
यूनिक नंबर
D.
None of these
इनमें से कोई नहीं
Question No# :
07
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# :
08
out of 50
Report Bug
Bookmark
Which one is the type of algorithm:
एल्गोरिदम का टाइप कौन सा है?
A.
Flowchart
फ्लोचार्ट
B.
Pseudo
शूडो
C.
Greedy
ग्रिडी
D.
Connector
कनेक्टर
Question No# :
09
out of 50
Report Bug
Bookmark
Which type of Programming does Python support?
पायथन किस प्रकार की प्रोग्रामिंग को सपोर्ट करता है?
A.
Object-oriented programming
ऑब्जेक्ट ओरियन्टेड प्रोग्रामिंग
B.
Structured programming
स्ट्रक्चर्ड प्रोग्रामिंग
C.
Functional programming
फंक्शनल प्रोग्रामिंग
D.
All of the mentioned
उपर्युक्त सभी
Question No# :
10
out of 50
Report Bug
Bookmark
It refers to the ability of an application to run on different plateforms with or without minimal changes.
यह न्यूनतम परिवर्तनों के साथ या बिना, विभिन्न प्लेटफार्मों पर चलने के लिए किसी एप्लिकेशन की क्षमता को संदर्भित करता है।
A.
Error
एरर
B.
Flexibility
फ्लेक्सीबिल्टी
C.
Portability
पोर्टेबिल्टी
D.
Reliability
रीलायबिल्टी
Question No# :
11
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# :
12
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# :
13
out of 50
Report Bug
Bookmark
Correct syntax of file.writelines is?
File-writelines () का सही सिंटैक्स है?
A.
file.writelines(sequence)
file.writelines(sequence)
B.
fileObject.writelines()
fileObject.writelines()
C.
fileObject.writelines(sequence)
fileObject.writelines(sequence)
D.
none of the mentioned
उल्लिखित कोई नहीं
Question No# :
14
out of 50
Report Bug
Bookmark
____ is a set of functions you want to include in your application.
फंक्शनो का एक सेट है जिसे आप अपने एप्लिकेशन में शामिल करना चाहते हैं ।
A.
Module
मॉड्यूल
B.
Function
फंक्शन
C.
Folder
फोल्डर
D.
None of these
इनमें से कोई नहीं
Question No# :
15
out of 50
Report Bug
Bookmark
The.........symbol is always the first and the last symbol in the flowchart.
फ्लोचार्ट में ____ सिम्बल हमेशा पहला और अंतिम सिम्बल होता है।
A.
Rectangle
रैक्टेन्गिल
B.
Terminal
टर्मिनल
C.
Diamond
डॉयमंड
D.
None of these
None of these
Question No# :
16
out of 50
Report Bug
Bookmark
Which of the following statement is correct about Getcwd() .
Getcwd() के बारे में निम्नलिखित में से कौन सा कथन सही है।
A.
Method displays the directory of a process.
मेथड एक प्रक्रिया की डॉयरेक्ट्री को प्रदर्शित करता है।
B.
Method displays the current working directory of a process.
मेथड किसी प्रक्रिया की वर्तमान वर्किंग डॉयरेक्ट्री को प्रदर्शित करती है।
C.
Method create file of a process.
मेथड एक प्रक्रिया की फ़ाइल बनाता है।
D.
None of these
इनमें से कोई नहीं
Question No# :
17
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# :
18
out of 50
Report Bug
Bookmark
The datatype whose representation is unknown are called
डेटाटाइप जिसका रिप्रेसेन्टेशन अज्ञात होता है ।
A.
Built in datatype
डेटाटाइप में बनाना
B.
Derived datatype
प्राप्त डेटाटाइप
C.
concrete datatype
कंक्रीट डेटाटाइप
D.
Abstract datatype
एब्स्ट्रैक्ट डेटाटाइप
Question No# :
19
out of 50
Report Bug
Bookmark
The _____ function converts the specified value into a string.
....फंक्शन निर्दिष्ट वैल्यू को एक स्ट्रिंग में परिवर्तित करता है।
A.
str()
str()
B.
int()
int()
C.
String()
String()
D.
None of these
इनमें से कोई नहीं
Question No# :
20
out of 50
Report Bug
Bookmark
What is the symbol used to represent start and stop of a flowchart?
फ्लोचार्ट के स्टार्ट और स्टॉप को दर्शाने के लिए किस सिम्बल का उपयोग किया जाता है ?
A.
oval
अंडाकार
B.
rectangle
आयत
C.
arrow
एरो
D.
diamond
डायमंड
Question No# :
21
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# :
22
out of 50
Report Bug
Bookmark
The readlines() method reads and returns ______ .
रीडलाइन () मेथड पढ़ता है और _____ रिटर्न करता है।
A.
individual lines of a file.
किसी फाइल की अलग-अलग लाइने ।
B.
A list of remaining lines of the entire file
संपूर्ण फाइल की शेष पंक्तियों की लिस्ट
C.
Write individual lines
अलग-अलग पंक्तियाँ लिखता है।
D.
None of the Above
उपरोक्त में से कोई नहीं ।
Question No# :
23
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# :
24
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# :
25
out of 50
Report Bug
Bookmark
Explicitly remove entire tuple.
एक सम्पूर्ण टपल को स्पष्ट रूप से हटाता है।
A.
del
del
B.
remove
remove
C.
delete
delete
D.
None of these
इनमें से कोई नहीं
Question No# :
26
out of 50
Report Bug
Bookmark
filter() is used to
फ़िल्टर() का उपयोग किया जाता है
A.
constructs an iterator from elements of an iterable for which a function returns true.
एक इटरेबल के एलिमेन्टो से एक इटरेटर का निर्माण करता है जिससे एक फंक्शन true परिणाम देता है।
B.
filters the given sequence with the help of a function that tests each element in the sequence to be true or not.
दिए गए अनुक्रम को एक फंक्शन की सहायता से फ़िल्टर करता है जो अनुक्रम में प्रत्येक एलिमेन्ट को सत्य या गलत होने का परीक्षण करता है ।
C.
Both of the above
उपर्युक्त दोनो।
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
27
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# :
28
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# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
Which function is used to Evaluates string and returns an object.
स्ट्रिंग का मूल्यांकन करने और किसी ऑब्जेक्ट वापस करने के लिए किस फंक्शन का उपयोग किया जाता है।
A.
exp(x)
exp(x)
B.
eval(str)
eval(str)
C.
str(x)
str(x)
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
32
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# :
33
out of 50
Report Bug
Bookmark
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश के अनुक्रम को ....के रूप में जाना जाता है
A.
An Algorithm
एक एल्गोरिथ्म
B.
A decision table
एक डिसीज़न टेबल
C.
A program
एक प्रोग्राम
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
34
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# :
35
out of 50
Report Bug
Bookmark
The offset of the local DST time zone.
लेकल डीएसटी टाइम जोन का ऑफसेट होता है।
A.
Time.altzone
Time.altzone
B.
alt.Timezone
alt.Timezone
C.
zone.altTime
zone.altTime
D.
None
कोई नहीं
Question No# :
36
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# :
37
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
38
out of 50
Report Bug
Bookmark
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
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
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# :
41
out of 50
Report Bug
Bookmark
____ is a set of functions you want to include in your application.
फंक्शनो का एक सेट है जिसे आप अपने एप्लिकेशन में शामिल करना चाहते हैं ।
A.
Module
मॉड्यूल
B.
Function
फंक्शन
C.
Folder
फोल्डर
D.
None of these
इनमें से कोई नहीं
Question No# :
42
out of 50
Report Bug
Bookmark
Debugging is used to:
डिबगिंग का उपयोग किया जाता है:
A.
Find errors from the program
प्रोग्राम में से एरर का पता लगाने के लिए
B.
Check the functionality of the program
प्रोग्राम की कार्यक्षमता जाँच करने के लिए
C.
Black box testing
ब्लैक बॉक्स टेस्टिंग
D.
All of the above
उपर्युक्त सभी
Question No# :
43
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# :
44
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# :
45
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# :
46
out of 50
Report Bug
Bookmark
Python supports Object-Oriented style or technique of programming that encapsulates code within _____.
पायथन ऑब्जेक्ट-ओरिएंटेड स्टाइल या प्रोग्रामिंग की तकनीक का समर्थन करता है जिसमे कोड _____ के अंदर शामिल रहता है।
A.
objects
ऑब्जेक्ट्स
B.
style
स्टाइल
C.
memory
मेमोरी
D.
None
कोई नहीं
Question No# :
47
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# :
48
out of 50
Report Bug
Bookmark
____function reads a single line from the file; a newline character (\n) is left at the end of the string.
____फंक्शन फाइल से एक लाइन रीड करता है, एक न्यू लाइन कैरेक्टर (\n) स्ट्रिंग के अंत में छोड़ देता है।
A.
read()
read()
B.
Readline()
Readline()
C.
write()
write()
D.
None of these
इनमें से कोई नहीं
Question No# :
49
out of 50
Report Bug
Bookmark
Which of the following declarations is incorrect in python language?
निम्नलिखित में से कौन सा डिक्लेरेशन पायथन भाषा में गलत है?
A.
xyzp = 5,000,000
xyzp = 5,000,000
B.
xyzp = 5000 6000 7000 8000
xyzp = 5000 6000 7000 8000
C.
x, y, z,p = 5000, 6000, 7000, 8000
x, y, z,p = 5000, 6000, 7000, 8000
D.
x_y_z_p = 5,000,000
x_y_z_p = 5,000,000
Question No# :
50
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
उपर्युक्त में से कोई नहीं
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