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
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
02
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# :
03
out of 50
Report Bug
Bookmark
Which of the following defines what an object can do?
निम्न में से कौन परिभाषित करता है कि कोई ऑब्जेक्ट क्या कर सकता है?
A.
Operating System
ऑपरेटिंग सिस्टम
B.
Compiler
कम्पाइलर
C.
Interface
इंटरफ़ेस
D.
None of these
इनमें से कोई नहीं
Question No# :
04
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# :
05
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# :
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
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# :
08
out of 50
Report Bug
Bookmark
Which type of Error generate, when the argument have invalid values specified?
जब आर्गुमेंन्ट में इन्वैलिड वैल्यू स्पेशिफाई होती है तो किस प्रकार की एरर जनरेट होती है?
A.
Value Error
वैल्यू एरर
B.
Syntax Error
सिन्टैक्स एरर
C.
Logical Error
लॉजीकल एरर
D.
None of these
इनमें से कोई नहीं
Question No# :
09
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# :
10
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# :
11
out of 50
Report Bug
Bookmark
Which of the following is not an advantage of using modules?
निम्नलिखित में से कौन सा मॉड्यूल का उपयोग करने का लाभ नहीं है?
A.
Provides a means of reuse of program code
प्रोग्राम कोड के पुनः उपयोग का एक साधन प्रदान करता है
B.
Provides a means of dividing up tasks
कार्यों को विभाजित करने का एक साधन प्रदान करता है
C.
Provides a means of reducing the size of the program
प्रोग्राम के आकार को काम करने का एक साधन प्रदान करता है
D.
Provides a means of testing individual parts of the program
प्रोग्राम के अलग-अलग हिस्सों के परीक्षण का एक साधन प्रदान करता है
Question No# :
12
out of 50
Report Bug
Bookmark
Strings in Python are _____
पायथन में स्ट्रिंग ..... है ।
A.
mutable
परिवर्तनशील
B.
immutable
अपरिवर्तनशील
C.
fixed
फिक्स्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
13
out of 50
Report Bug
Bookmark
will return the mathematical number PI from the constants module.
स्थिरांक मॉड्यूल से गणितीय संख्या PI रीटर्न करेगा ।
A.
Math.Pi
Math.Pi
B.
Circle()
Circle()
C.
Pandas
पंडास
D.
None of these
इनमें से कोई नही
Question No# :
14
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# :
15
out of 50
Report Bug
Bookmark
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में ली इन्टीजर टाइप की वैल्यू नहीं है।
A.
Decimal
डेसीमल
B.
Octal
ऑक्टल
C.
Hexadecimal
हेक्साडेसीमल
D.
Roman
रोमन
Question No# :
16
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# :
17
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
इनमें से कोई नहीं
Question No# :
18
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# :
19
out of 50
Report Bug
Bookmark
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Question No# :
20
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# :
21
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# :
22
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# :
23
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# :
24
out of 50
Report Bug
Bookmark
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
25
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# :
26
out of 50
Report Bug
Bookmark
Which of the following precedence order is correct in Python?
निम्नलिखित में से कौन सा वरीयता क्रम पायथन में सही है?
A.
Parentheses, Exponential,Multiplication, Division, Addition, Subtraction
कोष्ठक, घातीय, गुणा, भाग, जोड़, घटाव
B.
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
गुणा, भाग, जोड़, घटाव, कोष्ठक, घातीय
C.
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
भाग, गुणा, जोड़, घटाव, कोष्ठक, घातीय
D.
Exponential,Parentheses,Multiplication, Division, Addition, Subtraction
घातीय, कोष्ठक, गुणा, भाग, जोड़, घटाव
Question No# :
27
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# :
28
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# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च-स्तरीय भाषा प्रोग्राम के निर्देश के एक सेट में परिवर्तित करता है जिससे वह कंप्यूटर पर चल सके
A.
Compiler
कम्पाइलर
B.
Debugger
डीबगर
C.
Editor
एडिटर
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
32
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# :
33
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# :
34
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# :
35
out of 50
Report Bug
Bookmark
Designing the problem?
समस्या को बनाना है?
A.
Testing
टेस्टिंग
B.
Debugging
डिबगिंग
C.
logical error
लॉजिकल एरर
D.
Algorithm
एल्गोरिथम
Question No# :
36
out of 50
Report Bug
Bookmark
_____function takes a list of lines to be written to file.
फंक्शन फ़ाइल में लिखी जाने वाली लाइनो एक सूची लेता है ।
A.
writelines()
राइटलाइन्स()
B.
write()
राइट()
C.
tell()
टेल()
D.
None of these
इनमें से कोई नहीं
Question No# :
37
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# :
38
out of 50
Report Bug
Bookmark
It defines the accessibility and the lifetime of a variable.
यह वैरियेबल की पहुंच और जीवनकाल को डिफाइन करता है।
A.
scope
स्कोप
B.
Lifetime
लाइफटाइम
C.
keyword
कीवर्ड
D.
None
कोई नहीं
Question No# :
39
out of 50
Report Bug
Bookmark
Which of the following is not a valid namespace?
निम्नलिखित में से कौन एक वैध नेमस्पेस नहीं है
A.
Global namespace
ग्लोबल नेमस्पेस
B.
Public namespace
पब्लिक नेमस्पेस
C.
Built-in namespace
बिल्ट-ईन नेमस्पेस
D.
Local namespace
लोकल नेमस्पेसं
Question No# :
40
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# :
41
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# :
42
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# :
43
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
44
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# :
45
out of 50
Report Bug
Bookmark
What you can use to convert from a string to a list of character.
आप एक स्ट्रिंग से कैरेक्टर की लिस्ट में बदलने के लिए क्या उपयोग कर सकते हैं।
A.
list ()
list ()
B.
str ()
str ()
C.
chr()
chr()
D.
None of these
इनमें से कोई नहीं
Question No# :
46
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# :
47
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# :
48
out of 50
Report Bug
Bookmark
The command is used to take input from the keyboard.
कीबोर्ड से इनपुट लेने के लिए ____ कमांड का उपयोग किया जाता है ।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open
ओपेन
D.
Pass
पास
Question No# :
49
out of 50
Report Bug
Bookmark
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
50
out of 50
Report Bug
Bookmark
Python converts numbers internally in an expression containing mixed types to a Common type for evaluation. But sometimes, coerce a number explicitly from one type to another to satisfy the requirements of ____ parameter.
पाइथन संख्याओ को मूल्यांकन के लिए मिश्रित प्रकारो को एक सामान्य प्रकार से युक्त अभिव्यक्ति में आंतरिक रूप से परिवर्तित करता है। लेकिन कभी-कभी, पैरामीटर की आवश्यकताओं को पूरा करने के लिए एक संख्या को एक प्रकार से दूसरे प्रकार में स्पष्ट रूप से जमा करते हैं।
A.
function
फंक्शन
B.
tuple
टपल
C.
list
लिस्ट
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