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 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# :
02
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# :
03
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# :
04
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# :
05
out of 50
____ operator repeats a list for the given number of items.
किसी दिए गए आइटम की संख्या के लिए एक लिस्ट को दोहराता है।
A.
*
*
B.
+
+
C.
&
&
D.
None of these
इनमें से कोई नहीं
Question No# :
06
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# :
07
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# :
08
out of 50
..........design approach starts by dividing the complex algorithm into one or more modules.
......डिजाइन एप्प्रोच जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
A.
Top-Down
Top-Down
B.
Down-Top
डाउन-टॉप
C.
Both of the above
उपर्युक्त दोनों
D.
None of the above
उपरोक्त मे से कोई नहीं
Question No# :
09
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# :
10
out of 50
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे कहते हैं
A.
Type conversion
टाईप कन्वर्जन
B.
Type casting
टाईप कॉस्टिंग
C.
Both of the above
उपर्युक्त दोनो
D.
None of the above
उपर्युक्त में से कोई नही
Question No# :
11
out of 50
_____ help programmers to create lists in a concise way.
_____ संक्षिप्त रूप में सूची बनाने के लिए प्रोग्रामर की मदद करता है।
A.
Tuple
टपल
B.
Dictionary
डिक्शनरी
C.
List Comprehensions
लिस्ट कम्प्रीहेन्सन
D.
None of these
इनमें से कोई नही
Question No# :
12
out of 50
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए इस्तेमाल किया जाने वाला सिम्बल एक ..... है ।
A.
parallelogram
समांतर चतुर्भुज
B.
Diamond shape
डॉयमेन्ड शेप
C.
Circle shape
सर्किल शेप
D.
None of the above
उपरोक्त में से कोई नहीं
Question No# :
13
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# :
14
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# :
15
out of 50
Which of the following language is understood by computer ?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
A.
Machine language
Machine language
B.
Assembly language
Assembly language
C.
High-level language
High-level language
D.
None of the above
None of the above
Question No# :
16
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# :
17
out of 50
If we overcome the rules of the programming language, we get
यदि हम प्रोग्रामिंग भाषा के नियमों फेर बदल करते है तो उसका परिणाम
A.
Runtime error
रनटाइम एरर
B.
Syntax error
सिंटेक्स एरर
C.
logical error
लॉजिकल एरर
D.
None of the above.
इनमे से कोई भी नहीं
Question No# :
18
out of 50
The Pandas ______ method returns a new Data Prame.
पंडास का ______ मेथड एक नया डेटाप्रेम रीटर्न करता है।
A.
dropna()
dropna()
B.
Pandas
पंडास
C.
read_csv()
read_csv()
D.
None of these
इनमें से कोई नही
Question No# :
19
out of 50
Converts a list into tuple.
लिस्ट को टपल में परिवर्तित करता है ।
A.
Tuples (seq)
Tuples (seq)
B.
list(seq)
list(seq)
C.
dict (seq)
dict (seq)
D.
None
कोई नहीं
Question No# :
20
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# :
21
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# :
22
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# :
23
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# :
24
out of 50
Algorithms cannot be represented by____
एल्गोरिथम को द्वारा प्रदर्शित नहीं किया जा सकता है ।
A.
pseudo codes
pseudo कोड
B.
syntax
वाक्य - विन्यास
C.
flowcharts
फ़्लोचार्ट
D.
programs
प्रोग्राम्स
Question No# :
25
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# :
26
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# :
27
out of 50
The datatype whose representation is unknown are called
डेटाटाइप जिसका रिप्रेसेन्टेशन अज्ञात होता है ।
A.
Built in datatype
डेटाटाइप में बनाना
B.
Derived datatype
प्राप्त डेटाटाइप
C.
concrete datatype
कंक्रीट डेटाटाइप
D.
Abstract datatype
एब्स्ट्रैक्ट डेटाटाइप
Question No# :
28
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# :
29
out of 50
The _____ function converts the specified value into a string.
....फंक्शन निर्दिष्ट वैल्यू को एक स्ट्रिंग में परिवर्तित करता है।
A.
str()
str()
B.
int()
int()
C.
String()
String()
D.
None of these
इनमें से कोई नहीं
Question No# :
30
out of 50
What is identity array?
आइडेंटिटि ऐरे क्या है ।
A.
This is a square array with ones on the main diagonal.
यह एक वर्गाकार ऐरे है जिसमें मुख्य विकर्ण पर एक होता हैं।
B.
This is a normal array.
यह एक सामान्य ऐरे है
C.
This is a array with ones on the main diagonal.
यह मुख्य विकर्ण पर एक के साथ एक ऐरे है ।
D.
None of these
इनमें से कोई नहीं
Question No# :
31
out of 50
Which one of these is NOT true about recursion?
इनमें से कौन सा रिकर्सन के बारे में सत्य नहीं है?
A.
We can replace a recursive function by a non-recursive function.
हम एक रिकर्सिव फंक्शन को एक नॉन-रिकर्सिव फंक्शन द्वारा प्रतिस्थापित कर सकते हैं।
B.
The memory space taken by the recursive functions is more than that of non-recursive function,
रिकर्सिव फंक्शनो द्वारा लिया गया मेमोरी स्पेस नॉन-रिकर्सिव फंक्शन की तुलना में अधिक है।
C.
Running a recursive function is faster as compared to a non-recursive function.
नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन को रन करना तेज़ होता है।
D.
The process of recursion makes it easier for users to understand a program.
रिकर्सन की प्रक्रिया उपयोगकर्ताओं के लिए प्रोग्राम को समझना आसान बनाती है
Question No# :
32
out of 50
Which type of Error generate, when the argument have invalid values specified?
जब आर्गुमेंन्ट में इन्वैलिड वैल्यू स्पेशिफाई होती है तो किस प्रकार की एरर जनरेट होती है?
A.
Value Error
वैल्यू एरर
B.
Syntax Error
सिन्टैक्स एरर
C.
Logical Error
लॉजीकल एरर
D.
None of these
इनमें से कोई नहीं
Question No# :
33
out of 50
Which of the following concepts is not a part of Python?
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?
A.
Pointers
पॉइंटर
B.
Loops
लूप्स
C.
Dynamic Typing
डॉयनामिक टाइपिंग
D.
All of the above
उपरोक्त सभी
Question No# :
34
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# :
35
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# :
36
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# :
37
out of 50
Raw data assigned to a variable is called as,
एक वैरिएबल को निर्दिष्ट रॉ डेटा को .....कहा जाता है
A.
variable
वैरिएबल
B.
literal
लिटरल
C.
identifier
आइडेंटिफायर
D.
comment
कमेंट
Question No# :
38
out of 50
The GCD of the numbers 136 and 170 is ______ .
संख्या 136 और 170 की जीसीडी है _____ .
A.
34
34
B.
40
40
C.
50
50
D.
None
कोई नहीं
Question No# :
39
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# :
40
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# :
41
out of 50
An empty / null statement in Python is _____ .
पायथन में एक इम्पटी / नल स्टेटमेन्ट है ____
A.
pass
पास
B.
null
नल
C.
empty
इम्पटी
D.
None
कोई नहीं
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
The correctness and appropriateness of _____ solution can be checked very easily.
____ की शुद्धता और उपयुक्तता की बहुत आसानी से जांच की जा सकती है।
A.
algorithmic
एल्गोरिथिमक
B.
heuristic
हेरिस्टिक
C.
random
यादृच्छिक
D.
none of these
इनमे से कोई नही
Question No# :
44
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# :
45
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# :
46
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# :
47
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# :
48
out of 50
______ smallest individual unit or element in a program.
....प्रोग्राम में सबसे छोटी इन्डिविजुअल यूनिट या एलिमेन्ट होता है।
A.
Token
टोकन
B.
Keyword
कीवर्ड
C.
Identifier
आइडेन्टिफॉयर
D.
None of these
इनमें से कोई नहीं
Question No# :
49
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# :
50
out of 50
Python is written in
पायथन में लिखा गया है
A.
Java
जावा
B.
C
C
C.
PHP
PHP
D.
All 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