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
A program that convert a high-level language program to a set of instructions that can run on a computer is called a
एक प्रोग्राम जो एक उच्च-स्तरीय भाषा प्रोग्राम के निर्देश के एक सेट में परिवर्तित करता है जिससे वह कंप्यूटर पर चल सके
A.
Compiler
कम्पाइलर
B.
Debugger
डीबगर
C.
Editor
एडिटर
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
02
out of 50
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# :
03
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# :
04
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# :
05
out of 50
If a is declared as a=['me', 'he', 'they'], the value of a="".join(a) print(a) will be ______ .
यदि a को a= ['me', 'he', 'they'] के रूप में डिक्लेयर किया जाता है, तो a='''.join (a) print(a) की वैल्यू _____ होगी।
A.
mehethey
mehethey
B.
me he they
me he they
C.
he they me
he they me
D.
None of these
इनमें से कोई नहीं
Question No# :
06
out of 50
Actual instructions in flowcharting are represented in ____ .
फ्लोचार्टिंग में वास्तविक निर्देशों का प्रतिनिधित्व ____ में किया जाता है ।
A.
Boxes
बॉक्स
B.
Circles
सर्किल
C.
Arrows
एरो
D.
All of the above
उपर्युक्त सभी
Question No# :
07
out of 50
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# :
08
out of 50
_____ 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# :
09
out of 50
The output of this expression, >>>6*1**3 is ____ .
इस एक्सप्रेशन >>>6*1**3 का आउटपुट ____ है।
A.
6
6
B.
18
18
C.
10
10
D.
None of these
इनमें से कोई नहीं
Question No# :
10
out of 50
The structure having keys and values is called _____ .
"की" और वैल्यू वाले स्ट्रक्चर को_____ कहा जाता है ।
A.
List
लिस्ट
B.
Dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
11
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# :
12
out of 50
What are the three different types, of algorithm constructions?
तीन अलग-अलग प्रकार के एल्गोरिथा कंशट्रकशन्स क्या होते है।
A.
Input/Output, Decision, Repeat
इनपुट/आउटपुट, डिसीज़न,रीपीट
B.
Input, Output, Process
इनपुट, आउटपुट, प्रॉसेस
C.
Loop, Input/Output, Process
लूप, इनपुट/आउटपुट, प्रॉसेस
D.
Sequence, Selection, Repeat
सीक्वेंस,सेलेक्शन,रीपीट
Question No# :
13
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# :
14
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# :
15
out of 50
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# :
16
out of 50
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# :
17
out of 50
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# :
18
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# :
19
out of 50
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# :
20
out of 50
A computer programme that manages and controls a computer’s activity :
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:
A.
Interpreter
Interpreter
B.
Modem
Modem
C.
Compiler
Compiler
D.
Operating system
Operating system
Question No# :
21
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# :
22
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# :
23
out of 50
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# :
24
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# :
25
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# :
26
out of 50
An algorithm is best describe as
एक एल्गोरिथ्म का सबसे अच्छा वर्णन है
A.
A computer language
एक कंप्यूटर भाषा
B.
A step by step procedure for solving a problem
किसी समस्या को हल करने के लिए चरण दर चरण प्रक्रिया
C.
A branch of mathematics
गणित की एक शाखा
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
27
out of 50
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
28
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# :
29
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# :
30
out of 50
The error that can be pointed out by the compiler are
compiler द्वारा इंगित की जा सकने वाली त्रुटि हैं
A.
Syntax errors
Syntax errors
B.
Semantic errors
Semantic errors
C.
logical errors
logical errors
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
31
out of 50
Select the reserved keyword in python.
पायथन में रिजर्व कीवर्ड का चयन करें।
A.
else
ईल्स
B.
raise
रेज
C.
import
इंपोर्ट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
32
out of 50
In Python, _____ defines a block of statements.
पायथन में, _____ स्टेटमेन्टो के एक ब्लॉक को स्टेटमेन्टो के एक ब्लॉक को
A.
Block
ब्लॉक
B.
{}
{}
C.
Indentation
इंडेशन
D.
loop
लूप
Question No# :
33
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# :
34
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# :
35
out of 50
The ____ provides pictorial representation of given problem.
_____ दी गई समस्या का सचित्र रिप्रेजेन्टेशन करता है।
A.
Algorithm
एल्गोरिदम
B.
Flowchart
फ्लोचॉर्ट
C.
Pseudocode
शूडोकोड
D.
All of these
इनमें से सभी
Question No# :
36
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# :
37
out of 50
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
38
out of 50
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# :
39
out of 50
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# :
40
out of 50
The function generates sequence of numbers from 1 to n.
फंक्शन 1 से n तक संख्याओं का एक सिक्वेन्स उत्पन्न करता है ।
A.
Range
रेंज
B.
Input
इनपुट
C.
Open
ओपेन
D.
Pass
पास
Question No# :
41
out of 50
Istrip() method is used for :
Istrip() मेथड का उपयोग.... के लिए होता है ।
A.
delete all the trailing characters
सभी ट्रेलिंग कैरेक्टर्स को डिलीट करने
B.
delete all the leading characters
सभी लिडिंग कैरेक्टर्स को डिलीट करने
C.
delete all the leading and trailing characters
सभी लिडिंग और ट्रेलिंग कैरेक्टर्स को डिलीट करने
D.
delete upper case characters
अपरकेस कैरेक्टर्स को डिलीट करने के लिए
Question No# :
42
out of 50
Why does the name of local variables start with an underscore denote?
लोकल वेरिएबल का नाम अंडरस्कोर डिनोट से क्यों शुरू होता है?
A.
To identify the variable.
वेरिएबल की पहचान करने के लिए
B.
To identify the constant.
कॉन्स्टेन्ट की पहचान करने के लिए
C.
It indicates a public variable of a class.
यह एक क्लॉस के पब्लिक वेरिएबल को इंगित करता है।
D.
Variables cannot be accessed from outside the class.
वेरिएबल्स को क्लॉस के बाहर से एक्सेस नहीं किया जा सकता है
Question No# :
43
out of 50
_____ is also known as the alias array.
को alias array के रूप में भी जाना जाता है।
A.
ndarray
एनडीऐरे
B.
array
ऐरे
C.
alias
एलियॉस
D.
None of these
इनमें से कोई नहीं
Question No# :
44
out of 50
Which one is not the attribute of a file?
इनमें से कौन सा फाइल का ऐट्रिब्यूट नहीं है?
A.
softspace
सॉफ्ट स्पेस
B.
mode
मोड
C.
closed
क्लोस्ड
D.
rename
रिनेम
Question No# :
45
out of 50
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# :
46
out of 50
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# :
47
out of 50
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
48
out of 50
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# :
49
out of 50
A detailed flowchart is known as:
एक विस्तृत फ्लोचार्ट को... के रूप में जाना जाता है:
A.
Micro
माइक्रो
B.
Union
यूनियन
C.
Macro
मैक्रो
D.
Stack
स्टैक
Question No# :
50
out of 50
______ 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
इनमें से कोई नहीं
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