Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : python - INTRODUCTION TO PROGRAMMING
INTRODUCTION TO PROGRAMMING
00:00:00
English
Hindi
Question No# :
01
out of 50
The Pandas ______ method returns a new Data Prame.
पंडास का ______ मेथड एक नया डेटाप्रेम रीटर्न करता है।
A.
dropna()
dropna()
B.
Pandas
पंडास
C.
read_csv()
read_csv()
D.
None of these
इनमें से कोई नही
Question No# :
02
out of 50
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में लिस्ट का अंतिम एलिमेन्ट बताइयें ? मान लें "बाइक लिस्ट का नाम है।
A.
bikes[:-1]
bikes[:-1]
B.
bilkes[1]
bilkes[1]
C.
bikes (:-1)
bikes (:-1)
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
03
out of 50
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
उपर्युक्त में से कोई नही
Question No# :
04
out of 50
____function reads a single line from the file; a newline character (\n) is left at the end of the string.
____फंक्शन फाइल से एक लाइन रीड करता है, एक न्यू लाइन कैरेक्टर (\n) स्ट्रिंग के अंत में छोड़ देता है।
A.
read()
read()
B.
Readline()
Readline()
C.
write()
write()
D.
None of these
इनमें से कोई नहीं
Question No# :
05
out of 50
..........design approach starts by dividing the complex algorithm into one or more modules.
......डिजाइन एप्प्रोच जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
A.
Top-Down
Top-Down
B.
Down-Top
डाउन-टॉप
C.
Both of the above
उपर्युक्त दोनों
D.
None of the above
उपरोक्त मे से कोई नहीं
Question No# :
06
out of 50
Which of the statements about modules is false?
मॉड्यूल के बारे में कौन सा कथन गलत है ?
A.
In the “from-import" form of import, identifiers beginning with two underscores are private and aren't imported.
इम्पोर्ट के रूप में "from-import", दो अंडरस्कोर से शुरू होने वाले आईडेन्टिफॉयर प्राइवेट होते हैं और इम्पोर्ट नहीं किए जाते हैं
B.
dir() built-in function monitors the items in the namespace of the main module.
dir () बिल्ट-इन फंक्शन मुख्य मॉड्यूल के नेमस्पेस में आइटम को देखता है ।
C.
In the "from-import" form of import, all identifiers regardless of whether they are private or public are imported.
इम्पोर्ट के रूप में "from-import", सभी आईडेन्टिफॉयर चाहे वे प्राइवेट हों या पब्लिक, इम्पोर्ट किए जाते हैं ।
D.
When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced.
जब कोई मॉड्यूल लोड होता है, तो फ़ाइल एक्सटेंशन .pyc के साथ मॉड्यूल का एक कम्पाइल्ड वर्जन स्वचालित रूप से निर्मित होता है ।
Question No# :
07
out of 50
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
08
out of 50
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# :
09
out of 50
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# :
10
out of 50
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
11
out of 50
The function used to find power of a number.
किसी संख्या का पॉवर ज्ञात करने के लिए प्रयुक्त फंक्शन है।
A.
pow()
pow()
B.
exp()
exp()
C.
tell()
tell()
D.
None of these
इनमे से कोई भी नहीं
Question No# :
12
out of 50
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# :
13
out of 50
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# :
14
out of 50
The ____ function is used to convert a string value to int.
_____फंक्शन का उपयोग स्ट्रिंग वैल्यू को int में बदलने के लिए किया जाता है।
A.
Str
Str
B.
int
int
C.
convert
कन्वर्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
15
out of 50
The _____ symbol is used at the beginning of a flow chart.
____ सिम्बल का उपयोग फ्लोचार्ट की शुरुआत में किया जाता है।
A.
Oval or Pill Shape
ओवल या पिल शेप
B.
Rectangle
आयत
C.
Diamond
डॉयमण्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
16
out of 50
In Python, _____ defines a block of statements.
पायथन में, _____ स्टेटमेन्टो के एक ब्लॉक को स्टेटमेन्टो के एक ब्लॉक को
A.
Block
ब्लॉक
B.
{}
{}
C.
Indentation
इंडेशन
D.
loop
लूप
Question No# :
17
out of 50
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
टपल्स और सूचियो के बीच यह अंतर है कि टपल्स सूचियो के विपरीत बदले नहीं जा सकते है और टपल्स ______का उपयोग करते हैं, जबकि सूचियाँ वर्ग कोष्ठक का उपयोग करती है।
A.
Angular brackets
एंगुलर ब्रैकेट
B.
parentheses
ब्रैकेट
C.
curly brackets
कर्ली ब्रैकेट
D.
None of these
इनमें से कोई नहीं
Question No# :
18
out of 50
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# :
19
out of 50
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# :
20
out of 50
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# :
21
out of 50
_____function takes a list of lines to be written to file.
फंक्शन फ़ाइल में लिखी जाने वाली लाइनो एक सूची लेता है ।
A.
writelines()
राइटलाइन्स()
B.
write()
राइट()
C.
tell()
टेल()
D.
None of these
इनमें से कोई नहीं
Question No# :
22
out of 50
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# :
23
out of 50
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# :
24
out of 50
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# :
25
out of 50
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# :
26
out of 50
____ is a set of functions you want to include in your application.
फंक्शनो का एक सेट है जिसे आप अपने एप्लिकेशन में शामिल करना चाहते हैं ।
A.
Module
मॉड्यूल
B.
Function
फंक्शन
C.
Folder
फोल्डर
D.
None of these
इनमें से कोई नहीं
Question No# :
27
out of 50
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# :
28
out of 50
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# :
29
out of 50
Correcting the program code:
प्रोग्राम कोड को ठीक करना:
A.
Testing
Testing
B.
Syntax error
Syntax error
C.
Runtime error
Runtime error
D.
Debugging
Debugging
Question No# :
30
out of 50
_______ are user Define name
___________उपयोगकर्ता परिभाषित नाम।
A.
Identifiers
Identifier
B.
constant
constant
C.
syntax
syntax
D.
expression
expression
Question No# :
31
out of 50
To give a default separator with print() argument is used.
प्रिंट () के साथ डिफॉल्ट सेपरेटर देने के लिए . आर्गुमेन्ट का उपयोग किया जाता है।
A.
sep
सेप
B.
separator
सेपरेटर
C.
end
एंड
D.
tab
टैब
Question No# :
32
out of 50
In python-1 corresponds to the :
पायथन में - 1 का सम्बन्ध है ।
A.
last index
लास्ट इंडेक्स
B.
first index
फर्स्ट इंडेक्स
C.
middle index
मीडिल इंडेक्स
D.
end index
इंड इंडेक्स
Question No# :
33
out of 50
Debugging means ____.
डीबगिंग का मतलब है ____।
A.
Compiling code
Compiling code
B.
Removing errors
Removing errors
C.
Designing hardware
Designing hardware
D.
Writing code
Writing code
Question No# :
34
out of 50
Algorithm when translated into a programming language is called
जब किसी एल्गोरिथम को किसी प्रोग्रामिंग लैंग्वेज में ट्रांसलेट करते है तो उसे क्या कहते है
A.
Flowchart
Flowchart
B.
Identifier
Identifier
C.
Code
Code
D.
Debugging
Debugging
Question No# :
35
out of 50
Which of these functions can NOT be defined under the sys module?
इनमें से कौन सा फंक्शन sys मॉड्यूल के अन्तर्गत डिफाइन्ड नहीं किया जा सकता है?
A.
sys.argv
sys.argv
B.
sys.readline
sys.readline
C.
sys.path
sys.path
D.
sys.platform
sys.platform
Question No# :
36
out of 50
_____ reads one entire line from the file.
____ फाइल से एक पूरी लाइन पढता है ।
A.
readline()
readline
B.
read()
read
C.
readinglines()
readinglines()
D.
None of these
इनमें से कोई नहीं
Question No# :
37
out of 50
The structure having keys and values is called _____ .
"की" और वैल्यू वाले स्ट्रक्चर को_____ कहा जाता है ।
A.
List
लिस्ट
B.
Dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
38
out of 50
What is the symbol used to represent start and stop of a flowchart?
फ्लोचार्ट के स्टार्ट और स्टॉप को दर्शाने के लिए किस सिम्बल का उपयोग किया जाता है ?
A.
oval
अंडाकार
B.
rectangle
आयत
C.
arrow
एरो
D.
diamond
डायमंड
Question No# :
39
out of 50
Which type of Programming does Python support?
पायथन किस प्रकार की प्रोग्रामिंग को सपोर्ट करता है?
A.
Object-oriented programming
ऑब्जेक्ट ओरियन्टेड प्रोग्रामिंग
B.
Structured programming
स्ट्रक्चर्ड प्रोग्रामिंग
C.
Functional programming
फंक्शनल प्रोग्रामिंग
D.
All of the mentioned
उपर्युक्त सभी
Question No# :
40
out of 50
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# :
41
out of 50
Advantage of using Flow Charts are :
फ्लोचार्ट का उपयोग करने का लाभ है:
A.
Effective Analysis
प्रभावी विश्लेषण
B.
Proper documentation
उचित डॉक्युमेन्ट
C.
Efficient Coding
कुशल कोडिंग
D.
All of the above
उपर्युक्त सभी
Question No# :
42
out of 50
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# :
43
out of 50
____ 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# :
44
out of 50
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# :
45
out of 50
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# :
46
out of 50
Which of the following operator in python evaluates to true if the variables on either side of the operator point to the same object and false otherwise?
पायथन में निम्नलिखित में से कौन सा ऑपरेटर सत्य का मूल्यांकन करता है यदि ऑपरेटर के दोनों और वेरियेबिल एक ही ऑब्जेक्ट को इंगित करते हैं और अन्यथा गलत हैं?
A.
**
**
B.
//
//
C.
is
is
D.
not in
not in
Question No# :
47
out of 50
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# :
48
out of 50
All keywords in python are in ____
पायथन में सभी कीवर्ड ____में होते हैं।
A.
lowercase
लोअरकेस
B.
UPPERCASE
अपरकेस
C.
Capitalized
कैपिटलाईज्ड
D.
None of the mentioned
उल्लिखित कोई नहीं
Question No# :
49
out of 50
In python, Valid identifier is_
पायथन में वैलिड आइडेंटिफायर है____
A.
1abc
1abc
B.
$12a
$12a
C.
_xy 1
_xy 1
D.
@python
@python
Question No# :
50
out of 50
Which of the following is Immutable object.
निम्नलिखित में से कौन अपरिवर्तनीय ऑब्जेक्ट है।
A.
List
लिस्ट
B.
Tuple
टपल
C.
Dictionary
डिक्शनरी
D.
All of the above
उपरोक्त सभी
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2026
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Best Website and Software Company in Allahabad