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 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# :
02
out of 50
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# :
03
out of 50
The expression _____ implies that the variable x is converted to integer.
एक्सप्रेशन _____ वेरिएबल x को इंटीजर में बदल देता है।
A.
exp(x)
exp(x)
B.
int (x)
int (x)
C.
chr (x)
chr (x)
D.
None of these
इनमें से कोई नहीं
Question No# :
04
out of 50
Which of the following is not true about an interpreter
इंटरप्रेटर के बारे में निम्नलिखित में से कौन सा सही नहीं है
A.
Interpreter generates an object program from the source program
दुभाषिया स्रोत कार्यक्रम से एक वस्तु कार्यक्रम उत्पन्न करता है
B.
Interpreter is a kind of translator
Interpreter अनुवादक का एक प्रकार है
C.
Interpreter analysis each source statement every time it is to be executed
Interpreter प्रत्येक स्रोत विवरण को हर बार निष्पादित करता है
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
05
out of 50
Which type of errors flagged by compilers
किस प्रकार की त्रुटि को compilers द्वारा चिह्नित किया जाता है
A.
Logical errors
Logical errors
B.
Syntax errors
Syntax errors
C.
Both Logical and Syntax errors
Logical और Syntax errors दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
06
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# :
07
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# :
08
out of 50
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# :
09
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# :
10
out of 50
Which of the following is not a valid namespace?
निम्नलिखित में से कौन एक वैध नेमस्पेस नहीं है
A.
Global namespace
ग्लोबल नेमस्पेस
B.
Public namespace
पब्लिक नेमस्पेस
C.
Built-in namespace
बिल्ट-ईन नेमस्पेस
D.
Local namespace
लोकल नेमस्पेसं
Question No# :
11
out of 50
Data structure used in recursion.
रिकर्सन में प्रयुक्त डेटा स्ट्रक्चर है।
A.
Stack
स्टैक
B.
Queue
क्यू
C.
Pointer
पॉइंटर
D.
None of these
इनमें से कोई नहीं
Question No# :
12
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# :
13
out of 50
The correctness and appropriateness of _____ solution can be checked very easily.
____ की शुद्धता और उपयुक्तता की बहुत आसानी से जांच की जा सकती है।
A.
algorithmic
एल्गोरिथिमक
B.
heuristic
हेरिस्टिक
C.
random
यादृच्छिक
D.
none of these
इनमे से कोई नही
Question No# :
14
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# :
15
out of 50
Which of the following is Immutable object.
निम्नलिखित में से कौन अपरिवर्तनीय ऑब्जेक्ट है।
A.
List
लिस्ट
B.
Tuple
टपल
C.
Dictionary
डिक्शनरी
D.
All of the above
उपरोक्त सभी
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
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
_____ 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# :
19
out of 50
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
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
Which one of the following is a valid Python if statement:
निम्नलिखित में से कौन सा एक वैध पायथन if स्टेटमेन्ट है:
A.
if a> = 2:
if a> = 2:
B.
if (a>= 2)
if (a>= 2)
C.
if (a => 22)
if (a => 22)
D.
if a >= 22
if a >= 22
Question No# :
22
out of 50
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
A.
Interpreter
इंटरप्रीटर
B.
Modem
मॉडम
C.
Compiler
कम्पाइलर
D.
Operating system
ऑपरेटिंग सिस्टम
Question No# :
23
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# :
24
out of 50
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# :
25
out of 50
______ smallest individual unit or element in a program.
....प्रोग्राम में सबसे छोटी इन्डिविजुअल यूनिट या एलिमेन्ट होता है।
A.
Token
टोकन
B.
Keyword
कीवर्ड
C.
Identifier
आइडेन्टिफॉयर
D.
None of these
इनमें से कोई नहीं
Question No# :
26
out of 50
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# :
27
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# :
28
out of 50
Which method is used to Write(s) a list of lines to the file.
फाइल में लाइन्स की लिस्ट लिखने के लिए किस मेथड का प्रयोग किया जाता है ।
A.
write(s)
write(s)
B.
writelines (lines)
writelines (lines)
C.
readlines (lines)
readlines (lines)
D.
None of these
इनमे से कोई नहीं
Question No# :
29
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# :
30
out of 50
You can obtain a value in a ______using a key for a single element.
आप एक एलिमेन्ट के लिए एक "की" का उपयोग करके ....... से एक वैल्यू प्राप्त कर सकते हैं।
A.
List
लिस्ट
B.
dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमे से कोई नहीं
Question No# :
31
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# :
32
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# :
33
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# :
34
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# :
35
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# :
36
out of 50
Suppose a list with name arr, contains 5 elements, You can get the 2nd element from the list using?
मान लीजिए कि arr नामक सूची में पाँच एलीमेंट्स हैं । आप सूची से दूसरा एलीमेंट.... के उपयोग से प्राप्त कर सकते है ?
A.
arr[-2]
arr[-2]
B.
arr[2]
arr[2]
C.
arr[-1]
arr[-1]
D.
arr[1]
arr[1]
Question No# :
37
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# :
38
out of 50
Which one is the type of algorithm:
एल्गोरिदम का टाइप कौन सा है?
A.
Flowchart
फ्लोचार्ट
B.
Pseudo
शूडो
C.
Greedy
ग्रिडी
D.
Connector
कनेक्टर
Question No# :
39
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# :
40
out of 50
Select the reserved keyword in python.
पायथन में रिजर्व कीवर्ड का चयन करें।
A.
else
ईल्स
B.
raise
रेज
C.
import
इंपोर्ट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
41
out of 50
Users write the programs in which language?
यूजर किस भाषा में प्रोग्राम लिखते हैं?
A.
Low-level Language
लो लेवल लैंग्वेज
B.
High-level Language
हाई लेवल लैंग्वेज
C.
Middle-level Language
मिडिल लेवल लैंग्वेज
D.
None of these
इनमें से कोई नहीं
Question No# :
42
out of 50
Which of the following precedence order is correct in Python?
निम्नलिखित में से कौन सा वरीयता क्रम पायथन में सही है?
A.
Parentheses, Exponential,Multiplication, Division, Addition, Subtraction
कोष्ठक, घातीय, गुणा, भाग, जोड़, घटाव
B.
Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
गुणा, भाग, जोड़, घटाव, कोष्ठक, घातीय
C.
Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
भाग, गुणा, जोड़, घटाव, कोष्ठक, घातीय
D.
Exponential,Parentheses,Multiplication, Division, Addition, Subtraction
घातीय, कोष्ठक, गुणा, भाग, जोड़, घटाव
Question No# :
43
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# :
44
out of 50
The _____ function reads a line entered on a console by an input device such as a keyboard and convert it into a string and returns it.
फंक्शन एक इनपुट डिवाइस जैसे कि एक कीबोर्ड द्वारा दर्ज की गई लाइन को रीड करता है और इसे एक स्ट्रिंग में परिवर्तित करता है और इसे रिटर्न करता है।
A.
raw_input
raw_input
B.
input()
input()
C.
eval
eval
D.
accep
accep
Question No# :
45
out of 50
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# :
46
out of 50
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# :
47
out of 50
are set of procedures defined in library to find the minimum value function or the root of an equation.
फंक्शन की न्यूनतम वैल्यू या समीकरण रूट को खोजने के लिए SciPy लाइब्रेरी डिफाइन्ड प्रक्रियाओं का सेट है।
A.
Optimisers
ऑप्टिमाइजर
B.
Pandas
पंडास
C.
scipy ()
स्पाइसी()
D.
None of these
इनमें से कोई नही
Question No# :
48
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# :
49
out of 50
Python is written in
पायथन में लिखा गया है
A.
Java
जावा
B.
C
C
C.
PHP
PHP
D.
All of the above
उपरोक्त सभी
Question No# :
50
out of 50
NumPY stands for. -
नमपाई का पूर्ण अर्थ है।
A.
Numbering Python
नंबरिंग पायथन
B.
Number In Python
पायथन में नंबर
C.
Numerical Python
न्यूमेरिक पायथन
D.
None of the above
उपर्युक्त में से कोई नहीं
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