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
Which of the following is not a valid namespace?
निम्नलिखित में से कौन एक वैध नेमस्पेस नहीं है
A.
Global namespace
ग्लोबल नेमस्पेस
B.
Public namespace
पब्लिक नेमस्पेस
C.
Built-in namespace
बिल्ट-ईन नेमस्पेस
D.
Local namespace
लोकल नेमस्पेसं
Question No# :
02
out of 50
Report Bug
Bookmark
The symbol used for conditional statement n a flow chart is a ____
फ्लो चार्ट में कंडीशनल स्टेटमेन्ट के लिए उपयोग किया जाने वाला प्रतीक ____ है ।
A.
Diamond box
डॉयमन्ड बॉक्स
B.
rectangular box
आयताकार बॉक्स
C.
Circle shape
सर्किल शेप
D.
None of the above
उपर्युक्त से कोई नहीं
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
A sentinel-controlled loop can be implemented using _____
एक sentinel-controlled लूप _____ का उपयोग करके लागू किया जा सकता है।
A.
if
इफ
B.
for
फॉर
C.
Both of the above
उपर्युक्त दोनों
D.
None
कोई नहीं
Question No# :
05
out of 50
Report Bug
Bookmark
A computer programme that manages and controls a computer’s activity :
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:
A.
Interpreter
Interpreter
B.
Modem
Modem
C.
Compiler
Compiler
D.
Operating system
Operating system
Question No# :
06
out of 50
Report Bug
Bookmark
Identify the correct sequence of steps to run a program.
प्रोग्राम चलाने को रन करने के लिए स्टेप्स के सही सीक्वेंस की पहचान करें।
A.
Link, Load, Code, Compile, & Execute
लिंक, लोड, कोड, कम्पाइल, एवं एक्सीक्यूट
B.
Code, Compile, Link, Execute & Load
कोड, कम्पाइल, लिंक, एक्सीक्यूट एवं लोड
C.
Code, Compile, Link, load & Execute
कोड, कम्पाइल, लिंक, लोड एवं एक्सीक्यूट
D.
Compile, Code, Link, load, & Execute
कम्पाइल, कोड, लिंक, लोड एवं एक्सीक्यूट
Question No# :
07
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# :
08
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# :
09
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# :
10
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# :
11
out of 50
Report Bug
Bookmark
Which of the following is not a correct mode to open a file?
फाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
A.
ab
ab
B.
rw
rw
C.
a+
a+
D.
r+
r+
Question No# :
12
out of 50
Report Bug
Bookmark
The ____ provides pictorial representation of given problem.
_____ दी गई समस्या का सचित्र रिप्रेजेन्टेशन करता है।
A.
Algorithm
एल्गोरिदम
B.
Flowchart
फ्लोचॉर्ट
C.
Pseudocode
शूडोकोड
D.
All of these
इनमें से सभी
Question No# :
13
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# :
14
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# :
15
out of 50
Report Bug
Bookmark
_______ are user Define name
___________उपयोगकर्ता परिभाषित नाम।
A.
Identifiers
Identifier
B.
constant
constant
C.
syntax
syntax
D.
expression
expression
Question No# :
16
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# :
17
out of 50
Report Bug
Bookmark
_____ is a procedure or step by step process for solving a problem.
किसी समस्या को हल करने के लिए एक स्टेप बाई स्टेप प्रक्रिया है ।
A.
Algorithm
एल्गोरिदम
B.
Flowchart
फ्लोचॉर्ट
C.
Pseudocode
शूडीकोड
D.
All of these
इनमें से सभी
Question No# :
18
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# :
19
out of 50
Report Bug
Bookmark
Advantage of using Flow Charts are :
फ्लोचार्ट का उपयोग करने का लाभ है:
A.
Effective Analysis
प्रभावी विश्लेषण
B.
Proper documentation
उचित डॉक्युमेन्ट
C.
Efficient Coding
कुशल कोडिंग
D.
All of the above
उपर्युक्त सभी
Question No# :
20
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# :
21
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# :
22
out of 50
Report Bug
Bookmark
Which function removes a set's first and the last element from a list?
कौन सा फंक्शन किसी सूची से सेट के पहले और अंतिम एलिमेन्ट को हटा देता है?
A.
pop
पॉप
B.
remove
रिमूव
C.
dispose
डिस्पोज
D.
None of these
इनमें से कोई नहीं
Question No# :
23
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# :
24
out of 50
Report Bug
Bookmark
Suppose t=(1,2,4,3), which of the following is incorrect?
मान लें कि t= (1,2,4,3), निम्नलिखित में से कौन सा गलत है?
A.
print(t[3])
print(t[3])
B.
t[3] = 45
t[3] = 45
C.
print(max(t))
print(max(t))
D.
print(len(t))
print(len(t))
Question No# :
25
out of 50
Report Bug
Bookmark
To create sequence of numbers,Numpy provides a function ____ analogous to range that returns arrays instead of lists.
संख्याओं का क्रम बनाने के लिए, Numpy रेंज के समरूप एक फंक्शन _____ प्रदान करता है जो सूचियों के बजाय ऐरे रिटर्न करता है।
A.
arange
अरेंज
B.
aspace
एस्पेस
C.
aline
अलाइन
D.
All of the above
उपर्युक्त सभी
Question No# :
26
out of 50
Report Bug
Bookmark
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
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
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
Which function is used to Evaluates string and returns an object.
स्ट्रिंग का मूल्यांकन करने और किसी ऑब्जेक्ट वापस करने के लिए किस फंक्शन का उपयोग किया जाता है।
A.
exp(x)
exp(x)
B.
eval(str)
eval(str)
C.
str(x)
str(x)
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
32
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# :
33
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# :
34
out of 50
Report Bug
Bookmark
_____is a Pandas function for loading CSV files into Dataframe.
____CSV फ़ाइलों को डेटाफ्रेम में लोड करने के लिए एक पांडा फंक्शन है।
A.
read_csv()
read_csv()
B.
csv_read()
csv_read()
C.
csv.write()
csv.write()
D.
None of these
इनमें से कोई नहीं
Question No# :
35
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# :
36
out of 50
Report Bug
Bookmark
Empty list indicated by which symbol.
खाली लिस्ट किस सिम्बल द्वारा इंगित की जाती है।
A.
[]
[]
B.
()
()
C.
{}
{}
D.
None
कोई नहीं
Question No# :
37
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# :
38
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# :
39
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# :
40
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# :
41
out of 50
Report Bug
Bookmark
Which of the following is the datatype possible in python?
पायथन में निम्नलिखित में से कौन सा डेटाटाइप संभव है?
A.
int
int
B.
list
list
C.
dictionary
ड़िक्शनरी
D.
All 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 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# :
44
out of 50
Report Bug
Bookmark
Which type of Programming does Python support?
पायथन किस प्रकार की प्रोग्रामिंग को सपोर्ट करता है?
A.
Object-oriented programming
ऑब्जेक्ट ओरियन्टेड प्रोग्रामिंग
B.
Structured programming
स्ट्रक्चर्ड प्रोग्रामिंग
C.
Functional programming
फंक्शनल प्रोग्रामिंग
D.
All of the mentioned
उपर्युक्त सभी
Question No# :
45
out of 50
Report Bug
Bookmark
The ____ function takes two parameters, filename and mode.
_____फंक्शन पैरामीटर फाइल नाम और मोड लेता है।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open()
ओपेन()
D.
Pass
पास
Question No# :
46
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=[]
Question No# :
47
out of 50
Report Bug
Bookmark
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किसकी एक्सप्रेशन में सर्वोच्च प्राथमिकता है?
A.
Exponential
घातीय
B.
Parentheses
कोष्ठक
C.
Multiplication
गुणन
D.
None of the above
इनमें से कोई नहीं
Question No# :
48
out of 50
Report Bug
Bookmark
List structure in python where elements are stored in parenthesis.
पायथन में लिस्ट स्ट्रक्चर जहां एलीमेंट को _____ कोष्ठक में संग्रहीत किया जाता है।
A.
[]
[]
B.
()
()
C.
{}
{}
D.
none of these
इनमें से कोई नहीं
Question No# :
49
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# :
50
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
अपरकेस कैरेक्टर्स को डिलीट करने के लिए
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