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
____ is a function of dictionary gets all the values from the dictionary.
_____ डिक्शनरी का एक फंक्शन है जो डिक्शनरी से सभी वैल्यूज प्राप्त करता है।
A.
values()
values()
B.
chr()
chr()
C.
uni()
uni()
D.
None of these
इनमें से कोई नहीं
Question No# :
02
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# :
03
out of 50
Report Bug
Bookmark
Which language is derived from many other language, including ABC, Modula- 3, C, C++, Algol-68, SmallTalk, and Unix shell and other scripting languages.
कौन सी भाषा एबीसी, मोडुला-3, सी, सी ++, अल्गोल-68, स्मॉलटॉक, और यूनिक्स शेल और अन्य स्क्रिप्टिंग भाषाओं सहित अनेक अन्य भाषाओं से ली गई है।
A.
Python
पायथन
B.
Java
जावा
C.
Fortran
फोरट्रॉन
D.
None of the above
उपरोक्त में कोई नहीं
Question No# :
04
out of 50
Report Bug
Bookmark
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
Question No# :
05
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# :
06
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# :
07
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# :
08
out of 50
Report Bug
Bookmark
The _____ statement is used for exiting from the loop.
____ स्टेटमेंट का उपयोग लूप से बाहर निकलने के लिए किया जाता है
A.
Continue
कंटिन्यू
B.
Break
ब्रेक
C.
pass
पास
D.
None of these
इनमें से कोई नहीं
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
The correct extension of the Python file is
पायथन फ़ाइल का सही एक्सटेंशन है|
A.
.py
.py
B.
.pyth
.pyth
C.
.python
.python
D.
none of these
इनमे से कोई नहीं
Question No# :
11
out of 50
Report Bug
Bookmark
_______ are user Define name
___________उपयोगकर्ता परिभाषित नाम।
A.
Identifiers
Identifier
B.
constant
constant
C.
syntax
syntax
D.
expression
expression
Question No# :
12
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# :
13
out of 50
Report Bug
Bookmark
The ____ function takes two parameters, filename and mode.
_____फंक्शन पैरामीटर फाइल नाम और मोड लेता है।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open()
ओपेन()
D.
Pass
पास
Question No# :
14
out of 50
Report Bug
Bookmark
A program which translate a high-level language code into a machine language code is called
एक प्रोग्राम जो एक उच्च-स्तरीय भाषा प्रोग्राम को मशीन भाषा प्रोग्राम में अनुवाद करता है, कहलाता है
A.
Compiler
Compiler
B.
Interpreters
Interpreters
C.
Both Compiler and Interpreter
Compiler और Interpreter दोनों
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
15
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# :
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
The Pandas ______ method returns a new Data Prame.
पंडास का ______ मेथड एक नया डेटाप्रेम रीटर्न करता है।
A.
dropna()
dropna()
B.
Pandas
पंडास
C.
read_csv()
read_csv()
D.
None of these
इनमें से कोई नही
Question No# :
18
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# :
19
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# :
20
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# :
21
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# :
22
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
23
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# :
24
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# :
25
out of 50
Report Bug
Bookmark
Which inbuilt function is used to takes an iterable object as input and makes them immutable.
कौन सा इनबिल्ट फंक्शन इनपुट के रूप में एक पुनरावृत्त ऑब्जेक्ट को लेने के लिए उपयोग किया जाता है और उन्हें अपरिवर्तनीय बनाता है ।
A.
frozenset()
frozenset()
B.
obj()
obj()
C.
input()
input()
D.
None of these
इनमें से कोई नहीं
Question No# :
26
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# :
27
out of 50
Report Bug
Bookmark
Which of these functions can NOT be defined under the sys module?
इनमें से कौन सा फंक्शन sys मॉड्यूल के अन्तर्गत डिफाइन्ड नहीं किया जा सकता है?
A.
sys.argv
sys.argv
B.
sys.readline
sys.readline
C.
sys.path
sys.path
D.
sys.platform
sys.platform
Question No# :
28
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# :
29
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# :
30
out of 50
Report Bug
Bookmark
Which one of the following is the correct extension of the Python file-
निम्नलिखित में से कौन सा पायथन फाइल का सही एक्सटेंशन है-
A.
.py
.py
B.
.python
.python
C.
.p
.p
D.
None of these
इनमें से कोई नहीं
Question No# :
31
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# :
32
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# :
33
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# :
34
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# :
35
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# :
36
out of 50
Report Bug
Bookmark
_______ method converts all uppercase characters to lowercase and vice versa of the given string, and returns it.
____मेथड सभी अपरकेस कैरेक्टरो को दिए गए स्ट्रिंग के लोअरकेस और इसके विपरीत में परिवर्तित करती है, और इसे रिटर्न कर देती है ।
A.
swapcase
स्वैपकेस
B.
uppertolower()
अप्परटूलोअर()
C.
lowertoUpper()
लोअरटूअप्पर()
D.
None of these
इनमें से कोई नहीं
Question No# :
37
out of 50
Report Bug
Bookmark
What is the output of >>>float('12.6')
>>>float('12.6') का आउटपुट क्या है?
A.
12.6
12.6
B.
'12.6'
'12.6'
C.
12
12
D.
syntax error
सिंटेक्स एरर
Question No# :
38
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# :
39
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# :
40
out of 50
Report Bug
Bookmark
Compilation converts source code into ____.
कम्पाइलर सोर्स कोड को ____ में परिवर्तित करता है।
A.
Algorithm
Algorithm
B.
Diagram
Diagram
C.
Machine code
Machine code
D.
Flowchart
Flowchart
Question No# :
41
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# :
42
out of 50
Report Bug
Bookmark
Array processing package.
ऐरे प्रोसेसिंग पैकेज है ।
A.
Numpy
नमपाई
B.
Array
ऐरे
C.
dictionary
डिक्शनरी
D.
None of these
इनमें से कोई नहीं
Question No# :
43
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# :
44
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
इनमें से कोई नही
Question No# :
45
out of 50
Report Bug
Bookmark
Which one is the type of algorithm:
एल्गोरिदम का टाइप कौन सा है?
A.
Flowchart
फ्लोचार्ट
B.
Pseudo
शूडो
C.
Greedy
ग्रिडी
D.
Connector
कनेक्टर
Question No# :
46
out of 50
Report Bug
Bookmark
Which function is used to converts and returns the binary equivalent string of a given integer.
किसी किसी दिए गए इन्टीजर के बाइनरी समकक्ष स्ट्रिंग को कनवर्ट करने और रिटर्न करने के लिए किस फंक्शन का उपयोग किया जाता है।
A.
bin()
bin()
B.
int()
int()
C.
binary()
binary()
D.
Zip()
Zip()
Question No# :
47
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# :
48
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# :
49
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# :
50
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
इनमें से कोई नहीं
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