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
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
Python code can run on variety of plateforms, it means Python is a _____language.
पायथन कोड विभिन्न प्लेटफार्मों पर चल सकता है, इसका मतलब है कि पायथन एक
A.
Graphical
चित्रात्मक
B.
Cross-plateform
क्रॉस-प्लेटफॉर्म
C.
Plateform Dependent
प्लेटफॉर्म पर निर्भर
D.
All 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
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# :
04
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# :
05
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# :
06
out of 50
Report Bug
Bookmark
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
07
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# :
08
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# :
09
out of 50
Report Bug
Bookmark
Why does the name of local variables start with an underscore denote?
लोकल वेरिएबल का नाम अंडरस्कोर डिनोट से क्यों शुरू होता है?
A.
To identify the variable.
वेरिएबल की पहचान करने के लिए
B.
To identify the constant.
कॉन्स्टेन्ट की पहचान करने के लिए
C.
It indicates a public variable of a class.
यह एक क्लॉस के पब्लिक वेरिएबल को इंगित करता है।
D.
Variables cannot be accessed from outside the class.
वेरिएबल्स को क्लॉस के बाहर से एक्सेस नहीं किया जा सकता है
Question No# :
10
out of 50
Report Bug
Bookmark
Empty list in python is made by ?
पायथन में एम्पटी लिस्ट किसके द्वारा बनाई जाती है?
A.
l=[]
l=[]
B.
l=list()
l=list()
C.
Both of the above
उपरोक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
11
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# :
12
out of 50
Report Bug
Bookmark
Which of the following is the basic I/O connections in file?
निम्न में से कौन फाइल में बेसिक आई / ओ कनेक्शन है?
A.
Standard Input
स्टैंडर्ड इनपुट
B.
Standard Output
स्टैंडर्ड आउटपुट
C.
Standard Errors
स्टैंडर्ड एरर
D.
All of the mentioned
उल्लिखित सभी
Question No# :
13
out of 50
Report Bug
Bookmark
The GCD of the numbers 136 and 170 is ______ .
संख्या 136 और 170 की जीसीडी है _____ .
A.
34
34
B.
40
40
C.
50
50
D.
None
कोई नहीं
Question No# :
14
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# :
15
out of 50
Report Bug
Bookmark
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
16
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# :
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 order of namespaces in which Python looks for an identifier?
नेमस्पेस का क्रम क्या है जिसमें पायथन एक आइडेन्टिफॉयर की खोज करता है?Python first searches the built-in namespace, then the global namespace and finally the local namespace.
A.
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
पायथन पहले बिल्ट-इन नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में लोकल नेमस्पेस की खोज करता है
B.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
पायथन पहले बिल्ट-इन नेमस्पेस, फिर लोकल नेमस्पेस और अंत में ग्लोबल नेमस्पेस की खोज करता है
C.
Python first searches the local namespace, then the global namespace and finally the built-in namespace
पायथन पहले लोकल नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
D.
Python first searches the global namespace, then the local namespace and finally the built-in namespace
पायथन पहले ग्लोबल नेमस्पेस, फिर लोकल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
Question No# :
19
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# :
20
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# :
21
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# :
22
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# :
23
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# :
24
out of 50
Report Bug
Bookmark
In Python, _____ defines a block of statements.
पायथन में, _____ स्टेटमेन्टो के एक ब्लॉक को स्टेटमेन्टो के एक ब्लॉक को
A.
Block
ब्लॉक
B.
{}
{}
C.
Indentation
इंडेशन
D.
loop
लूप
Question No# :
25
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# :
26
out of 50
Report Bug
Bookmark
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
27
out of 50
Report Bug
Bookmark
You can obtain a value in a ______using a key for a single element.
आप एक एलिमेन्ट के लिए एक "की" का उपयोग करके ....... से एक वैल्यू प्राप्त कर सकते हैं।
A.
List
लिस्ट
B.
dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमे से कोई नहीं
Question No# :
28
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# :
29
out of 50
Report Bug
Bookmark
Leading white space at the beginning of each element, which is used to determine the group of statement
प्रत्येक एलिमेन्ट की शुरुआत में अग्रणी सफेद स्पेस, जिसका उपयोग कथन के समूह को निर्धारित करने के लिए किया जाता है।
A.
Testing
टेस्टिंग
B.
Indentation
इन्डेन्टेशन
C.
Debugging
डिबगिंग
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
30
out of 50
Report Bug
Bookmark
The scope rule in Python are summarized as____.
पायथन में स्कोप रूल को के रूप में संक्षेपित किया गया है।
A.
ELGB ( enclosed, local,global, built-in).
ELGB ( enclosed, local,global, built-in).
B.
LEGB (local, enclosed,global, built-in ).
LEGB (local, enclosed,global, built-in ).
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
31
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# :
32
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# :
33
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# :
34
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# :
35
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
एक एल्गोरिथ्म
B.
A decision table
एक डिसीज़न टेबल
C.
A program
एक प्रोग्राम
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
36
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# :
37
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# :
38
out of 50
Report Bug
Bookmark
The operator used to calculate remainder after division.
.......ऑपरेटर डिवीजन के बाद शेषफल की गणना करता है।
A.
%
%
B.
/
/
C.
\\
\\
D.
None of these
इनमें से कोई नहीं
Question No# :
39
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# :
40
out of 50
Report Bug
Bookmark
To give a default separator with print() argument is used.
प्रिंट () के साथ डिफॉल्ट सेपरेटर देने के लिए . आर्गुमेन्ट का उपयोग किया जाता है।
A.
sep
सेप
B.
separator
सेपरेटर
C.
end
एंड
D.
tab
टैब
Question No# :
41
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# :
42
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# :
43
out of 50
Report Bug
Bookmark
If a is declared as a=['me', 'he', 'they'], the value of a="".join(a) print(a) will be ______ .
यदि a को a= ['me', 'he', 'they'] के रूप में डिक्लेयर किया जाता है, तो a='''.join (a) print(a) की वैल्यू _____ होगी।
A.
mehethey
mehethey
B.
me he they
me he they
C.
he they me
he they me
D.
None of these
इनमें से कोई नहीं
Question No# :
44
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# :
45
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# :
46
out of 50
Report Bug
Bookmark
The process of finding errors in code is called as
कोड में त्रुटियों को खोजने की प्रक्रिया को क्या कहा जाता है?
A.
Compiling
Compiling
B.
Running
Running
C.
Testing
Testing
D.
Debugging
Debugging
Question No# :
47
out of 50
Report Bug
Bookmark
Which of the following statement will be true?
निम्नलिखित में से कौन सा कथन सत्य होगा?
A.
It is mandatory to have_main_function in python.
पायथन में _main_function होना अनिवार्य है ।
B.
It is not mandatory to have _main_function in python.
पायथन में _main_function होना अनिवार्य नही है ।
C.
It is mandatory to have any function in python.
पायथन में कोई फंक्शन होना अनिवार्य है ।
D.
None of the above
इनमे से कोई नहीं
Question No# :
48
out of 50
Report Bug
Bookmark
Connectors used to connect flowchart symbols to each other are classified as.
फ़्लोचार्ट सिम्बलो को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को वर्गीकृत किया जाता है ।
A.
Arrow lines.
ऐरो लाइन्स
B.
Symbols
सिम्बल
C.
Annotation
एनोटेशन
D.
Special symbols
विशेष सिम्बल
Question No# :
49
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# :
50
out of 50
Report Bug
Bookmark
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Latest Current Affairs 2025
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