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
Which of the following is not true about an interpreter
इंटरप्रेटर के बारे में निम्नलिखित में से कौन सा सही नहीं है
A.
Interpreter generates an object program from the source program
दुभाषिया स्रोत कार्यक्रम से एक वस्तु कार्यक्रम उत्पन्न करता है
B.
Interpreter is a kind of translator
Interpreter अनुवादक का एक प्रकार है
C.
Interpreter analysis each source statement every time it is to be executed
Interpreter प्रत्येक स्रोत विवरण को हर बार निष्पादित करता है
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
02
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# :
03
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# :
04
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# :
05
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# :
06
out of 50
Report Bug
Bookmark
____ help to check the data type of an array-
एक ऐरे के डेटा टाइप की जांच करने में मदद करता है
A.
arraydtype()
arraydtype()
B.
arr.dtype()
arr.dtype()
C.
dtype.arr()
dtype.arr()
D.
None of these
इनमें से कोई नहीं
Question No# :
07
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# :
08
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# :
09
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# :
10
out of 50
Report Bug
Bookmark
____ statement used for error checking. -
एरर चेकिंग के लिए उपयोग किया जाने वाला स्टेटमेन्ट है।
A.
Assert
एजर्ट
B.
List
लिस्ट
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
11
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# :
12
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# :
13
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# :
14
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# :
15
out of 50
Report Bug
Bookmark
______ smallest individual unit or element in a program.
....प्रोग्राम में सबसे छोटी इन्डिविजुअल यूनिट या एलिमेन्ट होता है।
A.
Token
टोकन
B.
Keyword
कीवर्ड
C.
Identifier
आइडेन्टिफॉयर
D.
None of these
इनमें से कोई नहीं
Question No# :
16
out of 50
Report Bug
Bookmark
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
17
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# :
18
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# :
19
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# :
20
out of 50
Report Bug
Bookmark
______ are the modes of both writing and reading in binary format in file.
____ फाइल में बाइनरी फार्मेट में लिखने और पढ़ने दोनों मोड होते हैं।
A.
bw+
bw+
B.
wb+
wb+
C.
rb+
rb+
D.
None of these
इनमें से कोई नहीं
Question No# :
21
out of 50
Report Bug
Bookmark
Algorithm when transalated into a programming language is called
एल्गोरिथम जब एक प्रोग्रामिंग भाषा में अनुवादित किया जाता है तो उसे कहा जाता है।
A.
Flowchart
फ्लोचार्ट
B.
Identifier
आईडेन्टिफॉयर
C.
code
कोड
D.
Debugging
डिबगिंग
Question No# :
22
out of 50
Report Bug
Bookmark
The readlines() method reads and returns ______ .
रीडलाइन () मेथड पढ़ता है और _____ रिटर्न करता है।
A.
individual lines of a file.
किसी फाइल की अलग-अलग लाइने ।
B.
A list of remaining lines of the entire file
संपूर्ण फाइल की शेष पंक्तियों की लिस्ट
C.
Write individual lines
अलग-अलग पंक्तियाँ लिखता है।
D.
None of the Above
उपरोक्त में से कोई नहीं ।
Question No# :
23
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# :
24
out of 50
Report Bug
Bookmark
are set of procedures defined in library to find the minimum value function or the root of an equation.
फंक्शन की न्यूनतम वैल्यू या समीकरण रूट को खोजने के लिए SciPy लाइब्रेरी डिफाइन्ड प्रक्रियाओं का सेट है।
A.
Optimisers
ऑप्टिमाइजर
B.
Pandas
पंडास
C.
scipy ()
स्पाइसी()
D.
None of these
इनमें से कोई नही
Question No# :
25
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# :
26
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# :
27
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
उपर्युक्त में से कोई नहीं
Question No# :
28
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# :
29
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# :
30
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# :
31
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# :
32
out of 50
Report Bug
Bookmark
______ functions is a built-in function in python language.
A.
val()
val()
B.
print()
print()
C.
print In()
print In()
D.
const()
const()
Question No# :
33
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# :
34
out of 50
Report Bug
Bookmark
The brain of computer system is
कम्प्यूटर सिस्टम का मस्तिष्क है
A.
RAM
रैम
B.
CPU
सीपीयू
C.
ROM
रोम
D.
Control Unit
कण्ट्रोल यूनिट
Question No# :
35
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# :
36
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# :
37
out of 50
Report Bug
Bookmark
If we not see the rules of th programming language, we get ?
यदि हम प्रोग्रामिंग भाषा के नियमों को नही दे हैं, तो हमें प्राप्त होता है?
A.
Runtime Error
रनटाइम एरर
B.
Syntax Error
सिन्टैक्स एरर
C.
Logical Error
लॉजिकल एरर
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
38
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# :
39
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# :
40
out of 50
Report Bug
Bookmark
In python, Valid identifier is_
पायथन में वैलिड आइडेंटिफायर है____
A.
1abc
1abc
B.
$12a
$12a
C.
_xy 1
_xy 1
D.
@python
@python
Question No# :
41
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# :
42
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# :
43
out of 50
Report Bug
Bookmark
IDLE means..... -
आईडीएलई का मतलब है ......-
A.
Integrated Development and Learning Environment
इन्टीग्रेटेड डेवलपमेन्ट और लर्निंग इन्वायरनमेन्ट
B.
Ideal Development and Learning Environment
आइडियल डेवलपमेन्ट और लर्निंग इन्वायरनमेन्ट
C.
Interenet development and Learning Environment
इन्टरनेट डेवलपमेन्ट और लर्निंग इन्वायरनमेन्ट
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
44
out of 50
Report Bug
Bookmark
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
45
out of 50
Report Bug
Bookmark
_____ reports all error with line numbers and produce faster object code then interpreter.
____लाइन नंबरों के साथ सभी एरर की रिपोर्ट करता है और इन्टरप्रिटर की तुलना में तेजी से ऑब्जेक्ट कोड बनाता है ।
A.
Compiler
कंपाइलर
B.
Assembler
असेंबलर
C.
Translator
ट्रांसलेटर
D.
None of these
इनमें से कोई नहीं
Question No# :
46
out of 50
Report Bug
Bookmark
Which function is used to Writes the string(s) to the file and returns the number of characters written.
किस फंक्शन का उपयोग फ़ाइल में स्ट्रिंग लिखने और लिखे गए कैरेक्टरो की संख्या लौटाने के लिए किया जाता है।
A.
writeline (s)
writeline (s)
B.
write(s)
write(s)
C.
read(s)
read(s)
D.
None
कोई नहीं
Question No# :
47
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# :
48
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# :
49
out of 50
Report Bug
Bookmark
Raw data assigned to a variable is called as,
एक वैरिएबल को निर्दिष्ट रॉ डेटा को .....कहा जाता है
A.
variable
वैरिएबल
B.
literal
लिटरल
C.
identifier
आइडेंटिफायर
D.
comment
कमेंट
Question No# :
50
out of 50
Report Bug
Bookmark
Array processing package.
ऐरे प्रोसेसिंग पैकेज है ।
A.
Numpy
नमपाई
B.
Array
ऐरे
C.
dictionary
डिक्शनरी
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