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
What is identifier ?
आइडेन्टिफॉयर क्या है?
A.
User-defined name
यूजर - डिफाइन्ड नेम
B.
Pre-defined name
प्री-डिफाइन्ड नेम
C.
Both of the above
उपरोक्त दोनो
D.
None of the above
उपरोक्त में कोई नहीं
Question No# :
02
out of 50
Report Bug
Bookmark
Which type of errors flagged by compilers
किस प्रकार की त्रुटि को compilers द्वारा चिह्नित किया जाता है
A.
Logical errors
Logical errors
B.
Syntax errors
Syntax errors
C.
Both Logical and Syntax errors
Logical और Syntax errors दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
03
out of 50
Report Bug
Bookmark
Explicitly remove entire tuple.
एक सम्पूर्ण टपल को स्पष्ट रूप से हटाता है।
A.
del
del
B.
remove
remove
C.
delete
delete
D.
None of these
इनमें से कोई नहीं
Question No# :
04
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# :
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
Function of a compiler is to
एक कंपाइलर का फंक्शन है
A.
put to gether the file and functions that are required by the program
प्रोगाम द्वारा आवश्यक फाइल और फक्शन को एक साथ रखे।
B.
translate the instructions in to a form suitable for execution by the program
प्रोगाम द्वारा एक्जिक्यूसन के लिए उपयुक्त फॉर्म में निर्देशों का अनुवाद करें
C.
load the executable code in to the memory and execute them
एक्जिक्यूटेबल कोड को मेमोरी में लोड करें और उन्हें एक्जिक्यूट करें
D.
allow the user to type the program
यूजर को प्रोग्राम टाइप करने की अनुमति देता
Question No# :
07
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# :
08
out of 50
Report Bug
Bookmark
Which one of these is NOT true about recursion?
इनमें से कौन सा रिकर्सन के बारे में सत्य नहीं है?
A.
We can replace a recursive function by a non-recursive function.
हम एक रिकर्सिव फंक्शन को एक नॉन-रिकर्सिव फंक्शन द्वारा प्रतिस्थापित कर सकते हैं।
B.
The memory space taken by the recursive functions is more than that of non-recursive function,
रिकर्सिव फंक्शनो द्वारा लिया गया मेमोरी स्पेस नॉन-रिकर्सिव फंक्शन की तुलना में अधिक है।
C.
Running a recursive function is faster as compared to a non-recursive function.
नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन को रन करना तेज़ होता है।
D.
The process of recursion makes it easier for users to understand a program.
रिकर्सन की प्रक्रिया उपयोगकर्ताओं के लिए प्रोग्राम को समझना आसान बनाती है
Question No# :
09
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# :
10
out of 50
Report Bug
Bookmark
Empty list indicated by which symbol.
खाली लिस्ट किस सिम्बल द्वारा इंगित की जाती है।
A.
[]
[]
B.
()
()
C.
{}
{}
D.
None
कोई नहीं
Question No# :
11
out of 50
Report Bug
Bookmark
Which of the following statement is correct about Getcwd() .
Getcwd() के बारे में निम्नलिखित में से कौन सा कथन सही है।
A.
Method displays the directory of a process.
मेथड एक प्रक्रिया की डॉयरेक्ट्री को प्रदर्शित करता है।
B.
Method displays the current working directory of a process.
मेथड किसी प्रक्रिया की वर्तमान वर्किंग डॉयरेक्ट्री को प्रदर्शित करती है।
C.
Method create file of a process.
मेथड एक प्रक्रिया की फ़ाइल बनाता है।
D.
None of these
इनमें से कोई नहीं
Question No# :
12
out of 50
Report Bug
Bookmark
___ is correct regarding the object- oriented programming concept in Python?
पायथन में ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग कॉन्सेप्ट के बारे में सही है।
A.
Classes are real world entities.
क्लॉसेस रियल वर्ल्ड इन्ट्टिीज हैं।
B.
Objects are real world entities
ऑब्जेक्ट रियल वर्ल्ड इन्ट्टिीज है।
C.
Objects and classes are real world entities.
ऑब्जेक्ट्स और क्लॉसेस रियल वर्ल्ड इन्ट्टिीज है ।
D.
objects are real-world entities while classes are not real.
ऑब्जेक्ट्स रियल वर्ल्ड इन्ट्टिीज हैं जबकि क्लॉसेस रियल वर्ल्ड इन्ट्टिीज नहीं हैं ।
Question No# :
13
out of 50
Report Bug
Bookmark
What is full form of PVM?
पीवीएम का फुल फॉर्म क्या है?
A.
Python Visual Machine
Python Visual Machine
B.
Python Visual Mode
Python Visual Mode
C.
Python Virtual Machine
Python Virtual Machine
D.
Python Virtual Mode
Python Virtual Mode
Question No# :
14
out of 50
Report Bug
Bookmark
In computer science, refers to a special method usable by a computer for the solution to a problem.
कंप्यूटर विज्ञान में, किसी समस्या के समाधान के लिए कंप्यूटर द्वारा उपयोग की जाने वाली एक विशेष विधि को संदर्भित करता है।
A.
algorithm
एल्गोरिथम
B.
program
प्रोग्राम
C.
Graph
ग्रॉफ
D.
None of these
इनमें से कोई नहीं
Question No# :
15
out of 50
Report Bug
Bookmark
Which one of the following is a valid Python if statement:
निम्नलिखित में से कौन सा एक वैध पायथन if स्टेटमेन्ट है:
A.
if a> = 2:
if a> = 2:
B.
if (a>= 2)
if (a>= 2)
C.
if (a => 22)
if (a => 22)
D.
if a >= 22
if a >= 22
Question No# :
16
out of 50
Report Bug
Bookmark
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
A.
Interpreter
इंटरप्रीटर
B.
Modem
मॉडम
C.
Compiler
कम्पाइलर
D.
Operating system
ऑपरेटिंग सिस्टम
Question No# :
17
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# :
18
out of 50
Report Bug
Bookmark
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
19
out of 50
Report Bug
Bookmark
What is called when a function is defined inside a class?
जब एक क्लॉस में फंक्शन को डिफाइन्ड किया जाता है तो उसे क्या कहतें है?
A.
Module
मॉड्यूल
B.
Class
क्लॉस
C.
Another function
अन्य फंक्शन
D.
Method
मेथड
Question No# :
20
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# :
21
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# :
22
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# :
23
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# :
24
out of 50
Report Bug
Bookmark
The word comes form the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al khowarizami is a called?
यह शब्द एक फारसी गणितज्ञ अबू जाफर मोहम्मद इब्न- ए मूसा अल खोवारिजामी के नाम से आया है को..... क्या कहा जाता है?
A.
Flowchart
फ़्लोचार्ट
B.
Flow
फ्लो
C.
Algorithm
एल्गोरिथम
D.
syntax
सिन्टैक्स
Question No# :
25
out of 50
Report Bug
Bookmark
The error that can be pointed out by the compiler are
compiler द्वारा इंगित की जा सकने वाली त्रुटि हैं
A.
Syntax errors
Syntax errors
B.
Semantic errors
Semantic errors
C.
logical errors
logical errors
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
26
out of 50
Report Bug
Bookmark
Which statement is correct about Isalnum().
Isalnum() के बारे में कौन सा कथन सही है ।
A.
Method returns true if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns false
यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड ट्रू रिटर्न करता है। यदि नहीं, तो यह फॉल्स रिर्न करता टहै।
B.
Method returns False if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns True
यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड फॉल्स रिटर्न करता है। यदि नहीं, तो यह ट्रू रिटर्न करता है।
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
27
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# :
28
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# :
29
out of 50
Report Bug
Bookmark
The Compexity of linear search algorithm is
लीनियर सर्च एल्गोरिथ्म की जटिलता है।
A.
O(n)
O(n)
B.
O (log n)
O (log n)
C.
O(n2)
O(n2)
D.
O (n log n)
O (n log n)
Question No# :
30
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# :
31
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# :
32
out of 50
Report Bug
Bookmark
which of the following is correct about Python ?
निम्नलिखित में से कौन सा पायथन के बारे में सही है?
A.
It supports automatic garbage collection.
यह स्वचालित गारबेज कलेक्शन को सपोर्ट करता है।
B.
It can be easily integrated with C, C++,Com, ActiveX, CORBA, and Java.
इसे आसानी से C, C++,Com, ActiveX, CORBA और Java के साथ एकीकृत किया जा सकता है।
C.
Both of the above
ऊपर के दोनों
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
33
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# :
34
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# :
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
Which one of the following is the correct extension of the Python file-
निम्नलिखित में से कौन सा पायथन फाइल का सही एक्सटेंशन है-
A.
.py
.py
B.
.python
.python
C.
.p
.p
D.
None of these
इनमें से कोई नहीं
Question No# :
37
out of 50
Report Bug
Bookmark
A flowchart is used to represent ____.
फ्लोचार्ट का उपयोग ____ को दर्शाने के लिए किया जाता है।
A.
Program logic
Program logic
B.
Database
Database
C.
Network
Network
D.
Hardware design
Hardware design
Question No# :
38
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# :
39
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# :
40
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# :
41
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# :
42
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# :
43
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# :
44
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# :
45
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# :
46
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# :
47
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# :
48
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# :
49
out of 50
Report Bug
Bookmark
_____ help programmers to create lists in a concise way.
_____ संक्षिप्त रूप में सूची बनाने के लिए प्रोग्रामर की मदद करता है।
A.
Tuple
टपल
B.
Dictionary
डिक्शनरी
C.
List Comprehensions
लिस्ट कम्प्रीहेन्सन
D.
None of these
इनमें से कोई नही
Question No# :
50
out of 50
Report Bug
Bookmark
____ statement used for error checking. -
एरर चेकिंग के लिए उपयोग किया जाने वाला स्टेटमेन्ट है।
A.
Assert
एजर्ट
B.
List
लिस्ट
C.
Tuple
टपल
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