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
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
Question No# :
02
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# :
03
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# :
04
out of 50
Report Bug
Bookmark
Istrip() method is used for :
Istrip() मेथड का उपयोग.... के लिए होता है ।
A.
delete all the trailing characters
सभी ट्रेलिंग कैरेक्टर्स को डिलीट करने
B.
delete all the leading characters
सभी लिडिंग कैरेक्टर्स को डिलीट करने
C.
delete all the leading and trailing characters
सभी लिडिंग और ट्रेलिंग कैरेक्टर्स को डिलीट करने
D.
delete upper case characters
अपरकेस कैरेक्टर्स को डिलीट करने के लिए
Question No# :
05
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# :
06
out of 50
Report Bug
Bookmark
All parameters (arguments) in the Python language are passed by.
पायथन लैंग्वेज मे सभी पैरामीटर्स (आर्गुमेंट्स)_____ द्वारा पास किये जाते है ।
A.
Text document
टेक्स्ट डॉक्यूमेन्ट
B.
Spreadsheet
स्प्रेडशीट
C.
reference
रिफरेन्स
D.
Database
डाटाबेस
Question No# :
07
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# :
08
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# :
09
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# :
10
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# :
11
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# :
12
out of 50
Report Bug
Bookmark
Designing the problem in known as
समस्या को डिजाइन करना जिसे के रूप में जाना जाता है
A.
Testing
Testing
B.
Debugging
Debugging
C.
logical error
logical error
D.
Algorithm
Algorithm
Question No# :
13
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# :
14
out of 50
Report Bug
Bookmark
immutable means.
इम्यूटेबिल का अर्थ है ।
A.
They cannot be edited
वे बदले नही जा सकते है
B.
They can be edited
वे बदले जा सकते है
C.
Both of the above
Both of the above
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
15
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
उपर्युक्त में से कोई नहीं
Question No# :
16
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# :
17
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# :
18
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# :
19
out of 50
Report Bug
Bookmark
Which statement best captures the difference between testing and debugging?
Testing और Debugging के बीच सही अंतर क्या है?
A.
Testing and debugging are identical processes
Testing and debugging are identical processes
B.
Testing guarantees error-free programs
Testing guarantees error-free programs
C.
Debugging must be completed before testing
Debugging must be completed before testing
D.
Testing reveals defects, while debugging locates and removes them
Testing reveals defects, while debugging locates and removes them
Question No# :
20
out of 50
Report Bug
Bookmark
The meaning of bug is a-
बग का एकअर्थ है-
A.
difficult syntax error in a program
किसी प्रोग्राम में कठिन सिंटैक्स एरर
B.
logical error in a programm
एक प्रोग्राम में लॉजिकल एरर
C.
Both a and b
A और B दोनों
D.
All of the above
ऊपर के सभी
Question No# :
21
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# :
22
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# :
23
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# :
24
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# :
25
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# :
26
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# :
27
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# :
28
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# :
29
out of 50
Report Bug
Bookmark
Other name of Pseudo code
सूड़ो कोड का अन्य नाम क्या है
A.
False Code
False Code
B.
Representation of Code
Representation of Code
C.
Both A and B
Both A and B
D.
None of these
None of these
Question No# :
30
out of 50
Report Bug
Bookmark
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Question No# :
31
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# :
32
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# :
33
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# :
34
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# :
35
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# :
36
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# :
37
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# :
38
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# :
39
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# :
40
out of 50
Report Bug
Bookmark
Which function is used to Writes the string(s) to the file and returns the number of characters written.
किस फंक्शन का उपयोग फ़ाइल में स्ट्रिंग लिखने और लिखे गए कैरेक्टरो की संख्या लौटाने के लिए किया जाता है।
A.
writeline (s)
writeline (s)
B.
write(s)
write(s)
C.
read(s)
read(s)
D.
None
कोई नहीं
Question No# :
41
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# :
42
out of 50
Report Bug
Bookmark
Which one is the type of algorithm:
एल्गोरिदम का टाइप कौन सा है?
A.
Flowchart
फ्लोचार्ट
B.
Pseudo
शूडो
C.
Greedy
ग्रिडी
D.
Connector
कनेक्टर
Question No# :
43
out of 50
Report Bug
Bookmark
The datatype whose representation is known are called
डेटाटाइप जिसका रिप्रेसेन्टेशन पहले से ज्ञात होता है ।
A.
Built in datatype
डेटाटाइप में बनाना
B.
Derived datatype
प्राप्त डेटाटाइप
C.
Concrete datatype
कंक्रीट डेटाटाइप
D.
Abstract datatype
एब्स्ट्रैक्ट डेटाटाइप
Question No# :
44
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# :
45
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# :
46
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# :
47
out of 50
Report Bug
Bookmark
Error does not fall into any category
एरर किसी भी कैटेगरी में नही आती ।
A.
Syntax Error
सिन्टैक्स एरर
B.
Runtime Error
रनटाइम एरर
C.
Value Error
वैल्यू एरर
D.
None of these
इनमें से कोई नहीं
Question No# :
48
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# :
49
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# :
50
out of 50
Report Bug
Bookmark
How can we create on empty list in Python?
हम पायथन में एक खाली सूची कैसे बना सकते हैं?
A.
list=()
list=()
B.
list.null
list.null
C.
null.list
null.list
D.
list=[]
list=[]
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