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
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# :
02
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# :
03
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# :
04
out of 50
Report Bug
Bookmark
Strings in Python are _____
पायथन में स्ट्रिंग ..... है ।
A.
mutable
परिवर्तनशील
B.
immutable
अपरिवर्तनशील
C.
fixed
फिक्स्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
05
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# :
06
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# :
07
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# :
08
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# :
09
out of 50
Report Bug
Bookmark
Each module should also be divided into sub modules according to software engineering and programming style.
प्रत्येक मॉड्यूल को सॉफ्टवेयर इंजीनियरिंग और प्रोग्रामिंग शैली के अनुसार उप मॉड्यूल में भी विभाजित किया जाना चाहिए।
A.
Top down method
Top down method
B.
Bottom up method
Bottom up method
C.
Coding
Coding
D.
None of the above
None of the above
Question No# :
10
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# :
11
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# :
12
out of 50
Report Bug
Bookmark
______ functions is a built-in function in python language.
A.
val()
val()
B.
print()
print()
C.
print In()
print In()
D.
const()
const()
Question No# :
13
out of 50
Report Bug
Bookmark
_____ reports all error with line numbers and produce faster object code then interpreter.
____लाइन नंबरों के साथ सभी एरर की रिपोर्ट करता है और इन्टरप्रिटर की तुलना में तेजी से ऑब्जेक्ट कोड बनाता है ।
A.
Compiler
कंपाइलर
B.
Assembler
असेंबलर
C.
Translator
ट्रांसलेटर
D.
None of these
इनमें से कोई नहीं
Question No# :
14
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# :
15
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# :
16
out of 50
Report Bug
Bookmark
are set of procedures defined in library to find the minimum value function or the root of an equation.
फंक्शन की न्यूनतम वैल्यू या समीकरण रूट को खोजने के लिए SciPy लाइब्रेरी डिफाइन्ड प्रक्रियाओं का सेट है।
A.
Optimisers
ऑप्टिमाइजर
B.
Pandas
पंडास
C.
scipy ()
स्पाइसी()
D.
None of these
इनमें से कोई नही
Question No# :
17
out of 50
Report Bug
Bookmark
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Question No# :
18
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# :
19
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# :
20
out of 50
Report Bug
Bookmark
A Python tuple that is created without using the parentheses brackets () is called as ?
एक पायथन टपल जो पैरेन्थिसीस ब्रैकेट () का उपयोग किए बिना बनाया जाता है, कहलाता है?
A.
Tuple packing
टपल पैकिंग
B.
Tuple sampling
टपल सैम्पलिंग
C.
Tuple sorting
टपल शॉर्टिंग
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
21
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# :
22
out of 50
Report Bug
Bookmark
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए इस्तेमाल किया जाने वाला सिम्बल एक ..... है ।
A.
parallelogram
समांतर चतुर्भुज
B.
Diamond shape
डॉयमेन्ड शेप
C.
Circle shape
सर्किल शेप
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
23
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
An algorithm
B.
A decision table
A decision table
C.
A program
A program
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
24
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# :
25
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# :
26
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# :
27
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# :
28
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# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
A.
write
लिखना
B.
output
आउटपुट
C.
send
भेजना
D.
dump
डम्ब
Question No# :
32
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# :
33
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# :
34
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# :
35
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# :
36
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# :
37
out of 50
Report Bug
Bookmark
Which of the following is the use of id() function in python?
पायथन में निम्नलिखित में से id () फंक्शन का उपयोग क्या है?
A.
ID returns the identity of the object
आईडी ऑब्जेक्ट की पहचान रिटर्न करता है।
B.
Even object doesn't have a unique Id
प्रत्येक ऑब्जेक्ट की यूनिक आईडी नही होती है
C.
All of the mentioned
उपरोक्त सभी
D.
None of the mentioned
उपरोक्त में से कोई नही
Question No# :
38
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# :
39
out of 50
Report Bug
Bookmark
In Python assignment of more than one behaviour to a particular function and the operation performed varies by the types of objects or arguments involved are known as_____ .
पायथन में किसी विशेष फंक्शन के लिए एक से अधिक बिहैवियर असाइनमेंट और किए गए ऑपरेशन ऑब्जेक्ट टाइप या आर्गुमेंट्स के अनुसार भिन्न होते है, जिन्हें ____ के रूप में जाना जाता है।
A.
Function overloading
फंक्शन ओवरलोडिंग
B.
operator overloading
ऑपरेटर ओवरलोडिंग
C.
Both of the above.
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
40
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# :
41
out of 50
Report Bug
Bookmark
The ____ function takes two parameters, filename and mode.
_____फंक्शन पैरामीटर फाइल नाम और मोड लेता है।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open()
ओपेन()
D.
Pass
पास
Question No# :
42
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
43
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# :
44
out of 50
Report Bug
Bookmark
The errors that can be pointed out by the complier are..
कंपाइलर द्वारा बताये जा सकने वाले एरर हैं-
A.
Semantic errors
सिमेंटिक एरर
B.
Syntax errors
सिन्टैक्स एरर
C.
Logical errors
लॉजिकल एरर
D.
All of the above
उपर्युक्त सभी
Question No# :
45
out of 50
Report Bug
Bookmark
Which of the following python in-built function is used to remove all the leading and trailing spaces from a string.
निम्नलिखित में से कौन सा पायथन इन-बिल्ट फंक्शन एक स्ट्रिंग से सभी लीडिंग और ट्रेलिंग रिक्त स्थान को हटाने के लिए उपयोग किया जाता है।
A.
space()
space()
B.
strip()
strip()
C.
remove()
remove()
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
46
out of 50
Report Bug
Bookmark
Which of the following function returns the string with first letter of every word in the string in uppercase and rest in lowercase?
निम्नलिखित में से कौन सा फंक्शन स्ट्रिंग में प्रत्येक शब्द के पहले कैरेक्टर को अपरकेस में और बाकी
A.
capitalize()
capitalize()
B.
title()
title()
C.
upper()
upper()
D.
swapcase()
swapcase()
Question No# :
47
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# :
48
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# :
49
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# :
50
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
इनमें से कोई नहीं
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