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
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# :
02
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# :
03
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# :
04
out of 50
Report Bug
Bookmark
What is the use of the zeros function in Numpy array in python?
पायथन में Numpy ऐरे में शून्य ( फंक्शन का उपयोग क्या है?
A.
To make a Matrix with all element 0
सभी एलिमेन्टो 0 के साथ एक मैट्रिक्स बनाने के लिए
B.
To make a Matrix with all diagonal element
सभी डॉयगोनल एलीमेन्टो के साथ एक मैट्रिक्स बनाने के लिए
C.
To make a Matrix with first Row 0
पहली रो में 0 के साथ एक मैट्रिक्स बनाने के लिए
D.
None of these
इनमें से कोई नहीं
Question No# :
05
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# :
06
out of 50
Report Bug
Bookmark
In which of the following data type, duplicate items are not allowed?
निम्नलिखित में से किस डेटा टाइप में, डुप्लिकेट आइटम की अनुमति नहीं है ?
A.
list
लिस्ट
B.
tuple
टपल
C.
set
सेट
D.
None of the above
उपरोक्त में से कोई नही ।
Question No# :
07
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# :
08
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# :
09
out of 50
Report Bug
Bookmark
If we overcome the rules of the programming language, we get
यदि हम प्रोग्रामिंग भाषा के नियमों फेर बदल करते है तो उसका परिणाम
A.
Runtime error
रनटाइम एरर
B.
Syntax error
सिंटेक्स एरर
C.
logical error
लॉजिकल एरर
D.
None of the above.
इनमे से कोई भी नहीं
Question No# :
10
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# :
11
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# :
12
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# :
13
out of 50
Report Bug
Bookmark
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
14
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# :
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
Which of the following environment variable for Python is an alternative module search path ?
पायथन के लिए निम्नलिखित में से कौन सा इन्वायरनमेन्ट वेरिएबल के वैकल्पिक मॉड्यूल का खोज पाथ है?
A.
PYTHONPATH
PYTHONPATH
B.
PYTHONSTARTUP
PYTHONSTARTUP
C.
PYTHONCASEOK
PYTHONCASEOK
D.
PYTHONHOME
PYTHONHOME
Question No# :
17
out of 50
Report Bug
Bookmark
_____method calls the built-in Python help system.
____ मेथड बिल्ट-इन पायथन हेल्प सिस्टम को कॉल करती है।
A.
python.help ()
python.help ()
B.
help()
help()
C.
help.python()
help.python()
D.
None of the Above
उपर्युक्त में से कोई नहीं
Question No# :
18
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# :
19
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# :
20
out of 50
Report Bug
Bookmark
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
21
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# :
22
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# :
23
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# :
24
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# :
25
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# :
26
out of 50
Report Bug
Bookmark
Which of the following statement will be true.
निम्नलिखित में से कौन सा कथन सत्य होगा ।
A.
Python allows you to assign a single value to multiple variables simultaneously.
पायथन आपको एक साथ अनेक वेरिएबल लिए एक वैल्यू निर्दिष्ट करने की अनुमति
B.
You can assign multiple values to multiple variables by separating variables and values with commas.
आप अनेक वेरिएबल के लिए अनेक वैल्यू को कॉमा के द्वारा अलग करके निर्दिष्ट कर सकते है.
C.
You can assign the same value to multiple variables by using = consecutively..
आप एक ही वैल्यू को अनेक वेरिएबिलो के लिए = क्रमागत रूप से निर्दिष्ट कर सकते हैं
D.
All of the above
उपरोक्त सभी
Question No# :
27
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# :
28
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# :
29
out of 50
Report Bug
Bookmark
The function generates sequence of numbers from 1 to n.
फंक्शन 1 से n तक संख्याओं का एक सिक्वेन्स उत्पन्न करता है ।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open
ओपेन
D.
Pass
पास
Question No# :
30
out of 50
Report Bug
Bookmark
In Python, _____ defines a block of statements.
पायथन में, _____ स्टेटमेन्टो के एक ब्लॉक को स्टेटमेन्टो के एक ब्लॉक को
A.
Block
ब्लॉक
B.
{}
{}
C.
Indentation
इंडेशन
D.
loop
लूप
Question No# :
31
out of 50
Report Bug
Bookmark
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
32
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# :
33
out of 50
Report Bug
Bookmark
Python is written in
पायथन में लिखा गया है
A.
Java
जावा
B.
C
C
C.
PHP
PHP
D.
All of the above
उपरोक्त सभी
Question No# :
34
out of 50
Report Bug
Bookmark
All parameters (arguments) in the Python language are passed by.
पायथन लैंग्वेज मे सभी पैरामीटर्स (आर्गुमेंट्स)_____ द्वारा पास किये जाते है ।
A.
Text document
टेक्स्ट डॉक्यूमेन्ट
B.
Spreadsheet
स्प्रेडशीट
C.
reference
रिफरेन्स
D.
Database
डाटाबेस
Question No# :
35
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# :
36
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# :
37
out of 50
Report Bug
Bookmark
What is use of seek() method in files?
फाइलों में seek () पद्धति का उपयोग क्या है?
A.
sets the file's current position at the offset.
फ़ाइल की वर्तमान स्थिति को ऑफ़सेट पर सेट करता है।
B.
sets the file's previous position at the offset.
फ़ाइल की पिछली स्थिति ऑफ़सेट पर सेट करता है।
C.
sets the file's current position within the file.
फ़ाइल के भीतर फ़ाइल की वर्तमान स्थिति सेट करता है।
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
38
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# :
39
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# :
40
out of 50
Report Bug
Bookmark
Python converts the source code into an intermediate form called ____ .
_____ एक मध्यवर्ती रूप में सोर्स कोड को परिवर्तित करता है ।
A.
Source-code
सोर्स कोड
B.
bytecode
बाईटकोड
C.
human-readable code
ह्यूमन - रीडेबिल कोड
D.
None of these
इनमें से कोई नहीं
Question No# :
41
out of 50
Report Bug
Bookmark
A Python tuple that is created without using the parentheses brackets () is called as ?
एक पायथन टपल जो पैरेन्थिसीस ब्रैकेट () का उपयोग किए बिना बनाया जाता है, कहलाता है?
A.
Tuple packing
टपल पैकिंग
B.
Tuple sampling
टपल सैम्पलिंग
C.
Tuple sorting
टपल शॉर्टिंग
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
42
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# :
43
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# :
44
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
An algorithm
B.
A decision table
A decision table
C.
A program
A program
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
45
out of 50
Report Bug
Bookmark
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में ली इन्टीजर टाइप की वैल्यू नहीं है।
A.
Decimal
डेसीमल
B.
Octal
ऑक्टल
C.
Hexadecimal
हेक्साडेसीमल
D.
Roman
रोमन
Question No# :
46
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# :
47
out of 50
Report Bug
Bookmark
Which one is the type of algorithm:
एल्गोरिदम का टाइप कौन सा है?
A.
Flowchart
फ्लोचार्ट
B.
Pseudo
शूडो
C.
Greedy
ग्रिडी
D.
Connector
कनेक्टर
Question No# :
48
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# :
49
out of 50
Report Bug
Bookmark
NumPY stands for. -
नमपाई का पूर्ण अर्थ है।
A.
Numbering Python
नंबरिंग पायथन
B.
Number In Python
पायथन में नंबर
C.
Numerical Python
न्यूमेरिक पायथन
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
50
out of 50
Report Bug
Bookmark
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे कहते हैं
A.
Type conversion
टाईप कन्वर्जन
B.
Type casting
टाईप कॉस्टिंग
C.
Both of the above
उपर्युक्त दोनो
D.
None of the above
उपर्युक्त में से कोई नही
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