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.........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# :
02
out of 50
Numpy was developed by___ .
Numpy ____के द्वारा विकसित किया गया था
A.
Guido van Rosum
गुइडो वैन रोसुम
B.
Travis Oliphant
ट्रैविस ओलिफांट
C.
Wes McKinney
वेस मैककिनी
D.
Jim Hugunin
जिम हुगुनिन
Question No# :
03
out of 50
Testing is known as
परीक्षण के रूप में जाना जाता है
A.
A stage of all projects
A stage of all projects
B.
Finding broken code
Finding broken code
C.
Evaluating deliverable to find errors
Evaluating deliverable to find errors
D.
None of the above
None of the above
Question No# :
04
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# :
05
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# :
06
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# :
07
out of 50
A function used for writing data in the binary format:
बाइनरी प्रारूप में डेटा राइटिंग के लिए उपयोग किया जाने वाला फंक्शनः
A.
write
लिखना
B.
output
आउटपुट
C.
send
भेजना
D.
dump
डम्ब
Question No# :
08
out of 50
To give a default separator with print() argument is used.
प्रिंट () के साथ डिफॉल्ट सेपरेटर देने के लिए . आर्गुमेन्ट का उपयोग किया जाता है।
A.
sep
सेप
B.
separator
सेपरेटर
C.
end
एंड
D.
tab
टैब
Question No# :
09
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# :
10
out of 50
Which of the following is not a keyword?
निम्न में से कौन सा कीवर्ड नहीं है?
A.
eval
एवल
B.
nonlocal
नॉनलोकल
C.
assert
अस्सेर्ट
D.
finally
फाइनली
Question No# :
11
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# :
12
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# :
13
out of 50
The operator used for concatenating two strings. -
ऑपरेटर दो स्ट्रिंगो को जोड़ने के लिए प्रयोग कि जाता है ।
A.
+
+
B.
*
*
C.
%
%
D.
None
कोई नहीं
Question No# :
14
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# :
15
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# :
16
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# :
17
out of 50
<p>Match the following types of programming paradigms with their descriptions.</p><table class="table table-bordered"><tbody><tr><td><span style="font-size: 14px;"><b>Programming Paradigm</b></span></td><td><span style="font-size: 14px;"><b>Description</b></span></td></tr><tr><td><span style="font-size: 14px;">A. Object-Oriented</span></td><td><span style="font-size: 14px;">1. Based on mathematical functions</span></td></tr><tr><td><span style="font-size: 14px;">B. Procedural</span></td><td><span style="font-size: 14px;">2. Based on facts and rules</span></td></tr><tr><td><span style="font-size: 14px;">C. Functional</span></td><td><span style="font-size: 14px;">3. Based on objects and classes</span></td></tr><tr><td><span style="font-size: 14px;">D. Logic</span></td><td><span style="font-size: 14px;">4. Based on step-by-step instructions</span></td></tr></tbody></table><p><br></p>
निम्नलिखित प्रकार के प्रोग्रामिंग प्रतिमानों को उनके विवरण के साथ सुमेलित करें।
A.
A-1, B-2, C-3, D-4
A-1, B-2, C-3, D-4
B.
A-3, B-4, C-1, D-2
A-3, B-4, C-1, D-2
C.
A-2, B-1, C-4, D-3
A-2, B-1, C-4, D-3
D.
A-4, B-3, C-2, D-1
A-4, B-3, C-2, D-1
Question No# :
18
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
इनमें से कोई नहीं
Question No# :
19
out of 50
Select the reserved keyword in python.
पायथन में रिजर्व कीवर्ड का चयन करें।
A.
else
ईल्स
B.
raise
रेज
C.
import
इंपोर्ट
D.
All of the mentioned
उल्लिखित सभी
Question No# :
20
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# :
21
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# :
22
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# :
23
out of 50
____ an explicit set of step by step specific instructions that solve a problem with an end or a solution
चरण-दर-चरण विशिष्ट निर्देशों का एक स्पष्ट सेट जो किसी समस्या को अंत या समाधान के साथ हल करता है।
A.
Flowchart
फ्लोचार्ट
B.
Algorithm
एल्गोरिदम
C.
Process
प्रोसेस
D.
None of these
इनमें से कोई नहीं
Question No# :
24
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# :
25
out of 50
Array processing package.
ऐरे प्रोसेसिंग पैकेज है ।
A.
Numpy
नमपाई
B.
Array
ऐरे
C.
dictionary
डिक्शनरी
D.
None of these
इनमें से कोई नहीं
Question No# :
26
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# :
27
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# :
28
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# :
29
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# :
30
out of 50
The brain of computer system is
कम्प्यूटर सिस्टम का मस्तिष्क है
A.
RAM
रैम
B.
CPU
सीपीयू
C.
ROM
रोम
D.
Control Unit
कण्ट्रोल यूनिट
Question No# :
31
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# :
32
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# :
33
out of 50
NumPY stands for. -
नमपाई का पूर्ण अर्थ है।
A.
Numbering Python
नंबरिंग पायथन
B.
Number In Python
पायथन में नंबर
C.
Numerical Python
न्यूमेरिक पायथन
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
34
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# :
35
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# :
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
<p>Match the types of programming languages with their characteristics.</p><p><br></p><table class="table table-bordered"><tbody><tr><td><b>Programming Language</b></td><td><b>Characteristic</b></td></tr><tr><td>1<span style="white-space:pre"> </span>Machine Language</td><td>A<span style="white-space:pre"> </span>Uses simple English-like syntax (e.g., Python, Java)</td></tr><tr><td>2<span style="white-space:pre"> </span>Assembly Language</td><td>B<span style="white-space:pre"> </span>Directly executed by the CPU, consists of binary code</td></tr><tr><td>3<span style="white-space:pre"> </span>High-Level Language</td><td>C<span style="white-space:pre"> </span>Uses mnemonics to represent machine code instructions</td></tr><tr><td>4<span style="white-space:pre"> </span>Scripting Language</td><td>D<span style="white-space:pre"> </span>Used for automation, web development, and scripting (e.g., JavaScript, PHP)</td></tr><tr><td><br></td><td>E<span style="white-space:pre"> </span>Compiles code into machine-readable format</td></tr><tr><td><br></td><td>F<span style="white-space:pre"> </span>Uses artificial intelligence and natural language processing</td></tr></tbody></table><p><br></p>
प्रोग्रामिंग भाषाओं के प्रकारों को उनकी विशेषताओं से मिलाएँ।
A.
1 → B, 2 → C, 3 → A, 4 → D
1 → B, 2 → C, 3 → A, 4 → D
B.
1 → A, 2 → B, 3 → D, 4 → C
1 → A, 2 → B, 3 → D, 4 → C
C.
1 → D, 2 → A, 3 → F, 4 → B
1 → D, 2 → A, 3 → F, 4 → B
D.
1 → B, 2 → F, 3 → C, 4 → A
1 → B, 2 → F, 3 → C, 4 → A
Question No# :
38
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# :
39
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# :
40
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# :
41
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# :
42
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# :
43
out of 50
A Python tuple that is created without using the parentheses brackets () is called as ?
एक पायथन टपल जो पैरेन्थिसीस ब्रैकेट () का उपयोग किए बिना बनाया जाता है, कहलाता है?
A.
Tuple packing
टपल पैकिंग
B.
Tuple sampling
टपल सैम्पलिंग
C.
Tuple sorting
टपल शॉर्टिंग
D.
None of the above
उपर्युक्त में से कोई नहीं
Question No# :
44
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# :
45
out of 50
Which statement is correct about Isalnum().
Isalnum() के बारे में कौन सा कथन सही है ।
A.
Method returns true if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns false
यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड ट्रू रिटर्न करता है। यदि नहीं, तो यह फॉल्स रिर्न करता टहै।
B.
Method returns False if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns True
यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड फॉल्स रिटर्न करता है। यदि नहीं, तो यह ट्रू रिटर्न करता है।
C.
Both of the above
उपर्युक्त दोनों
D.
None of these
इनमें से कोई नहीं
Question No# :
46
out of 50
Strings in Python are _____
पायथन में स्ट्रिंग ..... है ।
A.
mutable
परिवर्तनशील
B.
immutable
अपरिवर्तनशील
C.
fixed
फिक्स्ड
D.
None of these
इनमें से कोई नहीं
Question No# :
47
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# :
48
out of 50
The operator returns the quotent after division.
ऑपरेटर डिवीजन के बाद भागफल रिटर्न करता है ।
A.
//
//
B.
%
%
C.
&
&
D.
None of these
इनमें से कोई नही
Question No# :
49
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# :
50
out of 50
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
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