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
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# :
02
out of 50
All keywords in python are in ____
पायथन में सभी कीवर्ड ____में होते हैं।
A.
lowercase
लोअरकेस
B.
UPPERCASE
अपरकेस
C.
Capitalized
कैपिटलाईज्ड
D.
None of the mentioned
उल्लिखित कोई नहीं
Question No# :
03
out of 50
will return the mathematical number PI from the constants module.
स्थिरांक मॉड्यूल से गणितीय संख्या PI रीटर्न करेगा ।
A.
Math.Pi
Math.Pi
B.
Circle()
Circle()
C.
Pandas
पंडास
D.
None of these
इनमें से कोई नही
Question No# :
04
out of 50
Connectors used to connect flowchart symbols to each other are classified as.
फ़्लोचार्ट सिम्बलो को एक दूसरे से जोड़ने के लिए उपयोग किए जाने वाले कनेक्टरों को वर्गीकृत किया जाता है ।
A.
Arrow lines.
ऐरो लाइन्स
B.
Symbols
सिम्बल
C.
Annotation
एनोटेशन
D.
Special symbols
विशेष सिम्बल
Question No# :
05
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# :
06
out of 50
Which of the following declarations is incorrect in python language?
निम्नलिखित में से कौन सा डिक्लेरेशन पायथन भाषा में गलत है?
A.
xyzp = 5,000,000
xyzp = 5,000,000
B.
xyzp = 5000 6000 7000 8000
xyzp = 5000 6000 7000 8000
C.
x, y, z,p = 5000, 6000, 7000, 8000
x, y, z,p = 5000, 6000, 7000, 8000
D.
x_y_z_p = 5,000,000
x_y_z_p = 5,000,000
Question No# :
07
out of 50
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# :
08
out of 50
What is the order of namespaces in which Python looks for an identifier?
नेमस्पेस का क्रम क्या है जिसमें पायथन एक आइडेन्टिफॉयर की खोज करता है?Python first searches the built-in namespace, then the global namespace and finally the local namespace.
A.
Python first searches the built-in namespace, then the global namespace and finally the local namespace.
पायथन पहले बिल्ट-इन नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में लोकल नेमस्पेस की खोज करता है
B.
Python first searches the built-in namespace, then the local namespace and finally the global namespace
पायथन पहले बिल्ट-इन नेमस्पेस, फिर लोकल नेमस्पेस और अंत में ग्लोबल नेमस्पेस की खोज करता है
C.
Python first searches the local namespace, then the global namespace and finally the built-in namespace
पायथन पहले लोकल नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
D.
Python first searches the global namespace, then the local namespace and finally the built-in namespace
पायथन पहले ग्लोबल नेमस्पेस, फिर लोकल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है
Question No# :
09
out of 50
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# :
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 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# :
12
out of 50
ndarray is also known as the ____ array.
ndarray को ऐरे के रूप में भी जाना जाता है
A.
Array
ऐरे
B.
alias
एलियॉस
C.
variable
वेरिएबल
D.
None of these
इनमें से कोई नहीं
Question No# :
13
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# :
14
out of 50
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# :
15
out of 50
Recursive functions usually take _____ memory space than non- recursive function.
नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन सामान्यतः मेमोरी स्थान लेते है ।
A.
less
लेस
B.
more
मोर
C.
End
इंड
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
_____ is also known as the alias array.
को alias array के रूप में भी जाना जाता है।
A.
ndarray
एनडीऐरे
B.
array
ऐरे
C.
alias
एलियॉस
D.
None of these
इनमें से कोई नहीं
Question No# :
18
out of 50
The meaning of bug is a-
बग का एकअर्थ है-
A.
difficult syntax error in a program
किसी प्रोग्राम में कठिन सिंटैक्स एरर
B.
logical error in a programm
एक प्रोग्राम में लॉजिकल एरर
C.
Both a and b
A और B दोनों
D.
All of the above
ऊपर के सभी
Question No# :
19
out of 50
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# :
20
out of 50
Designing the problem?
समस्या को बनाना है?
A.
Testing
टेस्टिंग
B.
Debugging
डिबगिंग
C.
logical error
लॉजिकल एरर
D.
Algorithm
एल्गोरिथम
Question No# :
21
out of 50
The ______ statement lets the program go through the piece of code without performing any action.
स्टेटमेंट प्रोग्राम को बिना किसी भी क्रिया को किये कोड के टुकड़े के माध्यम से जाने देता है ।
A.
pass
पास
B.
Get
गेट
C.
Range
रेंज
D.
None of these
इनमें से कोई नहीं
Question No# :
22
out of 50
Python supports Object-Oriented style or technique of programming that encapsulates code within _____.
पायथन ऑब्जेक्ट-ओरिएंटेड स्टाइल या प्रोग्रामिंग की तकनीक का समर्थन करता है जिसमे कोड _____ के अंदर शामिल रहता है।
A.
objects
ऑब्जेक्ट्स
B.
style
स्टाइल
C.
memory
मेमोरी
D.
None
कोई नहीं
Question No# :
23
out of 50
What is identifier ?
आइडेन्टिफॉयर क्या है?
A.
User-defined name
यूजर - डिफाइन्ड नेम
B.
Pre-defined name
प्री-डिफाइन्ड नेम
C.
Both of the above
उपरोक्त दोनो
D.
None of the above
उपरोक्त में कोई नहीं
Question No# :
24
out of 50
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# :
25
out of 50
It defines the accessibility and the lifetime of a variable.
यह वैरियेबल की पहुंच और जीवनकाल को डिफाइन करता है।
A.
scope
स्कोप
B.
Lifetime
लाइफटाइम
C.
keyword
कीवर्ड
D.
None
कोई नहीं
Question No# :
26
out of 50
_____ is a procedure or step by step process for solving a problem.
किसी समस्या को हल करने के लिए एक स्टेप बाई स्टेप प्रक्रिया है ।
A.
Algorithm
एल्गोरिदम
B.
Flowchart
फ्लोचॉर्ट
C.
Pseudocode
शूडीकोड
D.
All of these
इनमें से सभी
Question No# :
27
out of 50
Python converts numbers internally in an expression containing mixed types to a Common type for evaluation. But sometimes, coerce a number explicitly from one type to another to satisfy the requirements of ____ parameter.
पाइथन संख्याओ को मूल्यांकन के लिए मिश्रित प्रकारो को एक सामान्य प्रकार से युक्त अभिव्यक्ति में आंतरिक रूप से परिवर्तित करता है। लेकिन कभी-कभी, पैरामीटर की आवश्यकताओं को पूरा करने के लिए एक संख्या को एक प्रकार से दूसरे प्रकार में स्पष्ट रूप से जमा करते हैं।
A.
function
फंक्शन
B.
tuple
टपल
C.
list
लिस्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
28
out of 50
Error does not fall into any category
एरर किसी भी कैटेगरी में नही आती ।
A.
Syntax Error
सिन्टैक्स एरर
B.
Runtime Error
रनटाइम एरर
C.
Value Error
वैल्यू एरर
D.
None of these
इनमें से कोई नहीं
Question No# :
29
out of 50
_____ returns the current time instant, a floating-point number of seconds since the epoch.
_____ करेंट टाइम इंस्टेंट, काल के बाद से सेकंड की एक फ्लोटिंग-पॉइट संख्या लौटाता है।
A.
Time.time()
Time.time()
B.
datetime()
datetime()
C.
time.date()
time.date()
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
30
out of 50
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# :
31
out of 50
The offset of the local DST time zone.
लेकल डीएसटी टाइम जोन का ऑफसेट होता है।
A.
Time.altzone
Time.altzone
B.
alt.Timezone
alt.Timezone
C.
zone.altTime
zone.altTime
D.
None
कोई नहीं
Question No# :
32
out of 50
Designing the problem in known as
समस्या को डिजाइन करना जिसे के रूप में जाना जाता है
A.
Testing
Testing
B.
Debugging
Debugging
C.
logical error
logical error
D.
Algorithm
Algorithm
Question No# :
33
out of 50
Which of the following is Immutable object.
निम्नलिखित में से कौन अपरिवर्तनीय ऑब्जेक्ट है।
A.
List
लिस्ट
B.
Tuple
टपल
C.
Dictionary
डिक्शनरी
D.
All of the above
उपरोक्त सभी
Question No# :
34
out of 50
Numpy was developed by___ .
Numpy ____के द्वारा विकसित किया गया था
A.
Guido van Rosum
गुइडो वैन रोसुम
B.
Travis Oliphant
ट्रैविस ओलिफांट
C.
Wes McKinney
वेस मैककिनी
D.
Jim Hugunin
जिम हुगुनिन
Question No# :
35
out of 50
______ functions is a built-in function in python language.
______ 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# :
36
out of 50
NumPY stands for. -
नमपाई का पूर्ण अर्थ है।
A.
Numbering Python
नंबरिंग पायथन
B.
Number In Python
पायथन में नंबर
C.
Numerical Python
न्यूमेरिक पायथन
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
37
out of 50
Select the reserved keyword in python.
पायथन में रिजर्व कीवर्ड का चयन करें।
A.
else
ईल्स
B.
raise
रेज
C.
import
इंपोर्ट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
38
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# :
39
out of 50
The correct extension of the Python file is
पायथन फ़ाइल का सही एक्सटेंशन है|
A.
.py
.py
B.
.pyth
.pyth
C.
.python
.python
D.
none of these
इनमे से कोई नहीं
Question No# :
40
out of 50
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
The brain of computer system is
कम्प्यूटर सिस्टम का मस्तिष्क है
A.
RAM
रैम
B.
CPU
सीपीयू
C.
ROM
रोम
D.
Control Unit
कण्ट्रोल यूनिट
Question No# :
42
out of 50
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# :
43
out of 50
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# :
44
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# :
45
out of 50
A natural number 1 is also an ____ .
एक नेचुरल नंबर 1 भी एक ____ है ।
A.
Factor
फैक्टर
B.
integer number
पूर्णांक संख्या
C.
unique number
यूनिक नंबर
D.
None of these
इनमें से कोई नहीं
Question No# :
46
out of 50
___ 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# :
47
out of 50
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# :
48
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# :
49
out of 50
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# :
50
out of 50
Which of the following is the use of id() function in python?
पायथन में निम्नलिखित में से id () फंक्शन का उपयोग क्या है?
A.
ID returns the identity of the object
आईडी ऑब्जेक्ट की पहचान रिटर्न करता है।
B.
Even object doesn't have a unique Id
प्रत्येक ऑब्जेक्ट की यूनिक आईडी नही होती है
C.
All of the mentioned
उपरोक्त सभी
D.
None of the mentioned
उपरोक्त में से कोई नही
Latest Current Affairs 2025
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2025
Python Programming Tutorials
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
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz