O Level Exam : Student Portal
Email address
Password
Remember me
Forgot password?
Sign In
Google
Facebook
Don't have an account?
Register now
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
____ 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# :
02
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# :
03
out of 50
Report Bug
Bookmark
____ operator repeats a list for the given number of items.
किसी दिए गए आइटम की संख्या के लिए एक लिस्ट को दोहराता है।
A.
*
*
B.
+
+
C.
&
&
D.
None of these
इनमें से कोई नहीं
Question No# :
04
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
05
out of 50
Report Bug
Bookmark
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
06
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# :
07
out of 50
Report Bug
Bookmark
Row data assigned to a variable is called as.
एक वेरिएबल को निर्दिष्ट रॉ डेटा को ......... कहा जाता है।
A.
variable
वेरिएबल
B.
literal
लिटरल
C.
identifier
आइडेंटिफायर
D.
comment
कमेंट
Question No# :
08
out of 50
Report Bug
Bookmark
The part of a machine level instruction, which tells the central processor what has to be done, is
इनमे से कौन मशीन स्तर के निर्देश का एक हिस्सा, जो सेंट्रल प्रोसेसर को बताता है कि क्या करना है
A.
An operation code
ऑपरेशन कोड
B.
An address
एड्रेस
C.
An operand
ऑपरेंड
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
09
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# :
10
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# :
11
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# :
12
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# :
13
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# :
14
out of 50
Report Bug
Bookmark
A graphical representation of a computer program in relation to its sequence of functions____ .
एक कंप्यूटर प्रोग्राम का उसके फंक्शनो के क्रम के संबंध में एक ग्राफिकल रिप्रेसेन्टेशन _____ है।
A.
Algorithm
Algorithm
B.
flowchart
flowchart
C.
Both of the above
उपर्युक्त दोनो
D.
None of these
इनमें से कोई नहीं
Question No# :
15
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# :
16
out of 50
Report Bug
Bookmark
In which year was the Python 3.0 version developed?
पायथन 3.0 वर्जन किस वर्ष विकसित किया गया था?
A.
2008
2008
B.
2010
2010
C.
2000
2000
D.
2005
2005
Question No# :
17
out of 50
Report Bug
Bookmark
Recursive functions usually take _____ memory space than non- recursive function.
नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन सामान्यतः मेमोरी स्थान लेते है ।
A.
less
लेस
B.
more
मोर
C.
End
इंड
D.
None of these
इनमें से कोई नहीं
Question No# :
18
out of 50
Report Bug
Bookmark
If list1=[10,20,30], then operation list1*2 returns ____ .
स्ट 1 = [10,20,30], तो ऑपरेशन list1*2 रिटर्न ______
A.
[10,20,30,10,20,30]
[10,20,30,10,20,30]
B.
[20,40,60]
[20,40,60]
C.
[10,20,30,20,40,60]
[10,20,30,20,40,60]
D.
None
कोई नहीं
Question No# :
19
out of 50
Report Bug
Bookmark
The brain of computer system is
कम्प्यूटर सिस्टम का मस्तिष्क है
A.
RAM
रैम
B.
CPU
सीपीयू
C.
ROM
रोम
D.
Control Unit
कण्ट्रोल यूनिट
Question No# :
20
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# :
21
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# :
22
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# :
23
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# :
24
out of 50
Report Bug
Bookmark
The functions which are coming with Python software automatically are called ____ .
पायथन सॉफ्टवेयर के साथ स्वचालित रूप आने वाले फंक्शन को कहा जाता है।
A.
built-in functions
बिल्ट-इन फंक्शन
B.
User-defined functions
यूजर - डिफाइन्ड फंक्शन
C.
Both of the above
उपरोक्त दोनो
D.
None of these
इनमें से कोई नहीं
Question No# :
25
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# :
26
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# :
27
out of 50
Report Bug
Bookmark
The ______ can be accessed only inside the function in which they are declared, whereas global variables can be accessed throughout the program body by all functions.
को केवल उस फंक्शन के अन्दर एक्सेस किया जा सकता है जिसमें उन्हें डिक्लेयर किया गया है, जबकि ग्लोबल वेरियबल को सभी फंक्शन द्वारा प्रोग्राम बॉडी मे शुरू से अंत तक एक्सेस किया जा सकता है।
A.
Global variables
ग्लोबल वेरियबल
B.
local variables
लोकल वेरिएबल
C.
datatype
डाटा टाइप
D.
None of these
इनमें से कोई नहीं
Question No# :
28
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# :
29
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# :
30
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# :
31
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# :
32
out of 50
Report Bug
Bookmark
is used for data analysis and manipulations in tabular data in Python.
..... का उपयोग पायथन में डेटा विश्लेषण और टेबुलर डेटा को मैनीपुलेट करने के लिए किया जाता है ।
A.
Pandas
पंडास
B.
circle
सर्किल
C.
rhombus
रहोम्बुस
D.
block
ब्लॉक
Question No# :
33
out of 50
Report Bug
Bookmark
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
34
out of 50
Report Bug
Bookmark
Function blocks begin with the keyword _.
फंक्शन ब्लॉक कीवर्ड .... से शुरू होते हैं।
A.
function
फ़ंक्शन
B.
method
मेथड
C.
def
डीइएफ
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
35
out of 50
Report Bug
Bookmark
How is a function declared in Python?
पायथन मे एक फंक्शन को कैसे डिक्लेयर किया जाता है?
A.
def function function_name():
def function function_name():
B.
declare function function_name():
declare function function_name():
C.
def function_name():
def function_name():
D.
declare function_name():
declare function_name():
Question No# :
36
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# :
37
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# :
38
out of 50
Report Bug
Bookmark
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों का प्रतिनिधित्व ____ में किया जाता है ।
A.
Boxes
बॉक्स
B.
Circles
सर्किल
C.
Arrows
एरो
D.
All of the above
उपर्युक्त सभी
Question No# :
39
out of 50
Report Bug
Bookmark
The operator used to calculate remainder after division.
.......ऑपरेटर डिवीजन के बाद शेषफल की गणना करता है।
A.
%
%
B.
/
/
C.
\\
\\
D.
None of these
इनमें से कोई नहीं
Question No# :
40
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# :
41
out of 50
Report Bug
Bookmark
What are the three different types, of algorithm constructions?
तीन अलग-अलग प्रकार के एल्गोरिथा कंशट्रकशन्स क्या होते है।
A.
Input/Output, Decision, Repeat
इनपुट/आउटपुट, डिसीज़न,रीपीट
B.
Input, Output, Process
इनपुट, आउटपुट, प्रॉसेस
C.
Loop, Input/Output, Process
लूप, इनपुट/आउटपुट, प्रॉसेस
D.
Sequence, Selection, Repeat
सीक्वेंस,सेलेक्शन,रीपीट
Question No# :
42
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# :
43
out of 50
Report Bug
Bookmark
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
44
out of 50
Report Bug
Bookmark
In python-1 corresponds to the :
पायथन में - 1 का सम्बन्ध है ।
A.
last index
लास्ट इंडेक्स
B.
first index
फर्स्ट इंडेक्स
C.
middle index
मीडिल इंडेक्स
D.
end index
इंड इंडेक्स
Question No# :
45
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# :
46
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# :
47
out of 50
Report Bug
Bookmark
Which one is not the attribute of a file?
इनमें से कौन सा फाइल का ऐट्रिब्यूट नहीं है?
A.
softspace
सॉफ्ट स्पेस
B.
mode
मोड
C.
closed
क्लोस्ड
D.
rename
रिनेम
Question No# :
48
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# :
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
Negative count from the Right.
दायीं ओर से ऋणात्मक गणना ।
A.
L1[-2]
L1[-2]
B.
L1[-1]
L1[-1]
C.
L1[2]
L1[2]
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