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
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program?
पायथन के लिए निम्नलिखित में से कौन सा एनवायरनमेंट वेरिएबल पायथन इंटरप्रेटर को यह बताता है कि प्रोग्राम में इम्पोर्ट की गई मॉड्यूल फाइलों को कहाँ स्थापित करना है ?
A.
PYTHONPATH
पाइथनपाथ
B.
PYTHONSTARTUP
पाइथनस्टार्टअप
C.
PYTHONCASEOK
पाइथनकासोक
D.
PYTHONHOME
पाइथनहोम
Question No# :
02
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# :
03
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# :
04
out of 50
Report Bug
Bookmark
Designing the problem in known as
समस्या को डिजाइन करना जिसे के रूप में जाना जाता है
A.
Testing
Testing
B.
Debugging
Debugging
C.
logical error
logical error
D.
Algorithm
Algorithm
Question No# :
05
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# :
06
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# :
07
out of 50
Report Bug
Bookmark
Designing the problem?
समस्या को बनाना है?
A.
Testing
टेस्टिंग
B.
Debugging
डिबगिंग
C.
logical error
लॉजिकल एरर
D.
Algorithm
एल्गोरिथम
Question No# :
08
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# :
09
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# :
10
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# :
11
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# :
12
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# :
13
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# :
14
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# :
15
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# :
16
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# :
17
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# :
18
out of 50
Report Bug
Bookmark
A graphical representation of a computer program in relation to its sequence of functions____ .
एक कंप्यूटर प्रोग्राम का उसके फंक्शनो के क्रम के संबंध में एक ग्राफिकल रिप्रेसेन्टेशन _____ है।
A.
Algorithm
Algorithm
B.
flowchart
flowchart
C.
Both of the above
उपर्युक्त दोनो
D.
None of these
इनमें से कोई नहीं
Question No# :
19
out of 50
Report Bug
Bookmark
What does pip stand for python ?
पायथन के लिए pip का क्या अर्थ है ?
A.
unlimited length.
असीमित लंबाई
B.
all private members must have leading and trailing underscores.
सभी प्राइवेट मेम्बरो के पास अग्रणी और अनुगामी अंडरस्कोर होना चाहिए
C.
Preferred Installer Program.
पसंदीदा इंस्टालर प्रोग्राम
D.
none of the mentioned
उल्लिखित कोई नहीं
Question No# :
20
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# :
21
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# :
22
out of 50
Report Bug
Bookmark
Which symbol is used to write single line comment?
सिंगल लाइन कमेंट लिखने के लिए किस सिम्बल का प्रयोग किया जाता है?
A.
*
*
B.
#
#
C.
/
/
D.
?
?
Question No# :
23
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# :
24
out of 50
Report Bug
Bookmark
Which of the following language is understood by computer?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
A.
Machine language
मशीन लैंग्वेज
B.
Assembly language
असेंब्ली लैंग्वेज
C.
High-level language
हाई-लेवल लैंग्वेज
D.
None of these
इनमें से कोई नही
Question No# :
25
out of 50
Report Bug
Bookmark
The datatype whose representation is known are called
डेटाटाइप जिसका रिप्रेसेन्टेशन पहले से ज्ञात होता है ।
A.
Built in datatype
डेटाटाइप में बनाना
B.
Derived datatype
प्राप्त डेटाटाइप
C.
Concrete datatype
कंक्रीट डेटाटाइप
D.
Abstract datatype
एब्स्ट्रैक्ट डेटाटाइप
Question No# :
26
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# :
27
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# :
28
out of 50
Report Bug
Bookmark
The brain of computer system is
कम्प्यूटर सिस्टम का मस्तिष्क है
A.
RAM
रैम
B.
CPU
सीपीयू
C.
ROM
रोम
D.
Control Unit
कण्ट्रोल यूनिट
Question No# :
29
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# :
30
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# :
31
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# :
32
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# :
33
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# :
34
out of 50
Report Bug
Bookmark
_____ reads one entire line from the file.
____ फाइल से एक पूरी लाइन पढता है ।
A.
readline()
readline
B.
read()
read
C.
readinglines()
readinglines()
D.
None of these
इनमें से कोई नहीं
Question No# :
35
out of 50
Report Bug
Bookmark
Which of the following functions take iterables(can be zero or more), makes iterator that aggregates elements based on the iterables passed, and returns an iterator of tuples.
निम्नलिखित में से कौन सा फंक्शन एक इंटरेबल्स लेता है (शून्य या अधिक हो सकता है), इटरेटर बनाता है जो पास किए गए इटरेबल के आधार पर एलिमेन्टो को एकत्रित करता है, और टपल्स का इटरेटर देता है।
A.
Zip()
Zip()
B.
tuple()
tuple()
C.
list()
list()
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
36
out of 50
Report Bug
Bookmark
In the declaration, x = Circle (), x contains a _to Circle object. -
डिक्लेरेशन में, x=Circle (), x में Circle) का .....ऑब्जेक्ट शामिल होता है।
A.
dropna()
dropna()
B.
Reference
रेफ़्रेन्स
C.
Optimisers
ऑप्टिमाइजर
D.
None of these
इनमें से कोई नही
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
PyPI stands for
PyPI का मतलब ____ है
A.
Python Package Index.
पायथन पैकेज इंडेक्स
B.
Python package Installer
पायथन पैकेज इंस्टालर
C.
Both A & B
A तथा B दोनों
D.
None of the above.
उपरोक्त में से कोई नही
Question No# :
39
out of 50
Report Bug
Bookmark
The.........symbol is always the first and the last symbol in the flowchart.
फ्लोचार्ट में ____ सिम्बल हमेशा पहला और अंतिम सिम्बल होता है।
A.
Rectangle
रैक्टेन्गिल
B.
Terminal
टर्मिनल
C.
Diamond
डॉयमंड
D.
None of these
None of these
Question No# :
40
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# :
41
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# :
42
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# :
43
out of 50
Report Bug
Bookmark
Which of the following is the proper syntax to check if a particular element is present in a list?
लिस्ट में कोई विशेष एलिमेन्ट मौजूद है या नहीं, यह जांचने के लिए निम्नलिखित में से कौन सा उचित सिन्टैक्स है?
A.
if ele in list
if ele in list
B.
if not ele not in list
if not ele not in list
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
44
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# :
45
out of 50
Report Bug
Bookmark
ndarray is also known as the ____ array.
ndarray को ऐरे के रूप में भी जाना जाता है
A.
Array
ऐरे
B.
alias
एलियॉस
C.
variable
वेरिएबल
D.
None of these
इनमें से कोई नहीं
Question No# :
46
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# :
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
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# :
49
out of 50
Report Bug
Bookmark
The method used to removes all the items at once.
मेथड एक ही बार में सभी ऑइटम को हटा देता है।
A.
remove ()
remove ()
B.
clear()
clear()
C.
removelist ()
removelist ()
D.
None of these
इनमें से कोई नहीं
Question No# :
50
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
इनमे से कोई भी नहीं
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