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
Correcting the program code:
प्रोग्राम कोड को ठीक करना:
A.
Testing
Testing
B.
Syntax error
Syntax error
C.
Runtime error
Runtime error
D.
Debugging
Debugging
Question No# :
02
out of 50
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश के अनुक्रम को ....के रूप में जाना जाता है
A.
An Algorithm
एक एल्गोरिथ्म
B.
A decision table
एक डिसीज़न टेबल
C.
A program
एक प्रोग्राम
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
03
out of 50
Which of the following keyword is used to access the numpy module in python?
पायथन में संख्यात्मक मॉड्यूल का उपयोग करने के लिए निम्न में से किस कीवर्ड का उपयोग किया जाता है?
A.
form
फॉर्म
B.
access
एक्सेज
C.
import
इंपोर्ट
D.
None of these
इनमें से कोई नहीं
Question No# :
04
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# :
05
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# :
06
out of 50
How can we create on empty list in Python?
हम पायथन में एक खाली सूची कैसे बना सकते हैं?
A.
list=()
list=()
B.
list.null
list.null
C.
null.list
null.list
D.
list=[]
list=[]
Question No# :
07
out of 50
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# :
08
out of 50
If we try to access the item outside the list index, then what type of error it may give ?
यदि हम लिस्ट इन्डेक्स के बाहर के आइटम तक पहुँचने का प्रयास करते हैं, तो यह किस प्रकार की त्रुटि दे सकता है?
A.
List is not defined
लिस्ट डिफाईन नहीं है
B.
List index out of range
लिस्ट इंडेक्स रेंज से बाहर है
C.
List index out of bound
लिस्ट इंडेक्स बाउंड से बाहर है
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
09
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# :
10
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# :
11
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# :
12
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# :
13
out of 50
Array processing package.
ऐरे प्रोसेसिंग पैकेज है ।
A.
Numpy
नमपाई
B.
Array
ऐरे
C.
dictionary
डिक्शनरी
D.
None of these
इनमें से कोई नहीं
Question No# :
14
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# :
15
out of 50
To give a default separator with print() argument is used.
प्रिंट () के साथ डिफॉल्ट सेपरेटर देने के लिए . आर्गुमेन्ट का उपयोग किया जाता है।
A.
sep
सेप
B.
separator
सेपरेटर
C.
end
एंड
D.
tab
टैब
Question No# :
16
out of 50
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# :
17
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# :
18
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# :
19
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# :
20
out of 50
Which one of the following has the highest precedence in the expression? -
निम्नलिखित में से किसकी एक्सप्रेशन में सर्वोच्च प्राथमिकता है?
A.
Exponential
घातीय
B.
Parentheses
कोष्ठक
C.
Multiplication
गुणन
D.
None of the above
इनमें से कोई नहीं
Question No# :
21
out of 50
The structure having keys and values is called _____ .
"की" और वैल्यू वाले स्ट्रक्चर को_____ कहा जाता है ।
A.
List
लिस्ट
B.
Dictionary
डिक्शनरी
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
22
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# :
23
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# :
24
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# :
25
out of 50
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
26
out of 50
Numpy was developed by___ .
Numpy ____के द्वारा विकसित किया गया था
A.
Guido van Rosum
गुइडो वैन रोसुम
B.
Travis Oliphant
ट्रैविस ओलिफांट
C.
Wes McKinney
वेस मैककिनी
D.
Jim Hugunin
जिम हुगुनिन
Question No# :
27
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# :
28
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# :
29
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# :
30
out of 50
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# :
31
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# :
32
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# :
33
out of 50
____ statement used for error checking. -
एरर चेकिंग के लिए उपयोग किया जाने वाला स्टेटमेन्ट है।
A.
Assert
एजर्ट
B.
List
लिस्ट
C.
Tuple
टपल
D.
None of these
इनमें से कोई नहीं
Question No# :
34
out of 50
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# :
35
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# :
36
out of 50
In python, Valid identifier is_
पायथन में वैलिड आइडेंटिफायर है____
A.
1abc
1abc
B.
$12a
$12a
C.
_xy 1
_xy 1
D.
@python
@python
Question No# :
37
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# :
38
out of 50
____ operator repeats a list for the given number of items.
किसी दिए गए आइटम की संख्या के लिए एक लिस्ट को दोहराता है।
A.
*
*
B.
+
+
C.
&
&
D.
None of these
इनमें से कोई नहीं
Question No# :
39
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# :
40
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# :
41
out of 50
To create sequence of numbers,Numpy provides a function ____ analogous to range that returns arrays instead of lists.
संख्याओं का क्रम बनाने के लिए, Numpy रेंज के समरूप एक फंक्शन _____ प्रदान करता है जो सूचियों के बजाय ऐरे रिटर्न करता है।
A.
arange
अरेंज
B.
aspace
एस्पेस
C.
aline
अलाइन
D.
All of the above
उपर्युक्त सभी
Question No# :
42
out of 50
____ is a function of dictionary gets all the values from the dictionary.
_____ डिक्शनरी का एक फंक्शन है जो डिक्शनरी से सभी वैल्यूज प्राप्त करता है।
A.
values()
values()
B.
chr()
chr()
C.
uni()
uni()
D.
None of these
इनमें से कोई नहीं
Question No# :
43
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# :
44
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# :
45
out of 50
Which of the following is not an advantage of using modules?
निम्नलिखित में से कौन सा मॉड्यूल का उपयोग करने का लाभ नहीं है?
A.
Provides a means of reuse of program code
प्रोग्राम कोड के पुनः उपयोग का एक साधन प्रदान करता है
B.
Provides a means of dividing up tasks
कार्यों को विभाजित करने का एक साधन प्रदान करता है
C.
Provides a means of reducing the size of the program
प्रोग्राम के आकार को काम करने का एक साधन प्रदान करता है
D.
Provides a means of testing individual parts of the program
प्रोग्राम के अलग-अलग हिस्सों के परीक्षण का एक साधन प्रदान करता है
Question No# :
46
out of 50
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# :
47
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# :
48
out of 50
What is the use of the zeros function in Numpy array in python?
पायथन में Numpy ऐरे में शून्य ( फंक्शन का उपयोग क्या है?
A.
To make a Matrix with all element 0
सभी एलिमेन्टो 0 के साथ एक मैट्रिक्स बनाने के लिए
B.
To make a Matrix with all diagonal element
सभी डॉयगोनल एलीमेन्टो के साथ एक मैट्रिक्स बनाने के लिए
C.
To make a Matrix with first Row 0
पहली रो में 0 के साथ एक मैट्रिक्स बनाने के लिए
D.
None of these
इनमें से कोई नहीं
Question No# :
49
out of 50
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
50
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
घातीय, कोष्ठक, गुणा, भाग, जोड़, घटाव
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