Read the instructions carefully before you begin
Find the output of following Python Programs.
निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
a= “Meetmeatafterparty”
b= 13
print a+b Find the output of the following Python programs.
निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
class Acc:
def __init__(self, id):
self.id = id
id = 555
acc = Acc(111)
print (acc.id)
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक अमान्य चर है?
Find the output of the following Python programs.
निम्नलिखित पायथन प्रोग्राम का आउटपुट खोजें।
x=['ab','cd']
for i in x:
i.upper()
print(x) What is the output of the following program?
निम्नलिखित प्रोग्राम का आउटपुट क्या है?
a = 2
b= '3.77'
c = - 8
str1= '{0:4f} {0:3d} {2} {1}'. format(a, b, c)
print(str1)
Find out the output of the following Python programs:
निम्नलिखित पायथन प्रोग्रामों का आउटपुट पता करें:
def gfg(x,l=[]):
for i in range(x):
l.append(i*i)
print(l)
gfg(2)
Suppose t = (1, 2, 4, 3), which of the following is incorrect?
मान लीजिए t=(1, 2, 4, 3), तो निम्नलिखित में से कौन सा गलत है?
What will be the output of the following Python code?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
t1 = (1, 2, 4, 3)
t2 = (1, 2, 3, 4)
print(t1<t2) Which of the following statements is false about recursion ?
निम्नलिखित में से कौन सा कथन recursion के बारे में गलत है?
What will be the output of the following Python code ?
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
import functools
l=[1, 2, 3, 4, 5]
m=functools.reduce(lambda x, y:x if x>y else y, l)
print(m) Python is a high-level, interpreted, interactive and object-oriented scripting language. It is designed to be highly unreadable.
पायथन एक उच्च स्तरीय, व्याख्या की गई, इंटरैक्टिव और ऑब्जेक्ट-ओरिएंटेड स्क्रिप्टिंग भाषा है। इसे अत्यधिक अपठनीय होने के लिए डिज़ाइन किया गया है।
Python is derived from many other languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, and Unix shell and other scripting languages.
पायथन कई अन्य भाषाओं से व्युत्पन्न है, जिनमें एबीसी, मोडुला-3, सी, सी++, एल्गोल-68, स्मॉलटॉक, और यूनिक्स शेल तथा अन्य स्क्रिप्टिंग भाषाएं शामिल हैं।
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 operator overloading.
पायथन में किसी विशेष फ़ंक्शन को एक से अधिक व्यवहार सौंपना और निष्पादित ऑपरेशन, शामिल ऑब्जेक्ट या तर्कों के प्रकार के अनुसार भिन्न होता है, जिसे ऑपरेटर ओवरलोडिंग के रूप में जाना जाता है।
To access values in tuple, use the square brackets for slicing along with the index or indices to obtain value available at that index.
टपल में मानों तक पहुंचने के लिए, उस इंडेक्स पर उपलब्ध मान प्राप्त करने के लिए इंडेक्स या इंडेक्स के साथ स्लाइसिंग के लिए वर्गाकार कोष्ठकों का उपयोग करें।
The Python standard for database interfaces is the Python SB-API. Most Python database interfaces adhere to this standard.
डेटाबेस इंटरफेस के लिए पायथन मानक पायथन SB-API है। अधिकांश पायथन डेटाबेस इंटरफेस इस मानक का पालन करते हैं।
If a connection is established with the datasource, then a Connection Object is returned and saved into db for further use, otherwise db is set to None.
यदि डेटा स्रोत के साथ कनेक्शन स्थापित किया जाता है, तो कनेक्शन ऑब्जेक्ट लौटा दिया जाता है और आगे उपयोग के लिए db में सहेज लिया जाता है, अन्यथा db को None पर सेट कर दिया जाता है।
The tell() method tells you the current position within the file.
tell() विधि आपको फ़ाइल के भीतर वर्तमान स्थिति बताती है।
Removing individual tuple elements is possible.
व्यक्तिगत ट्यूपल तत्वों को हटाना संभव है।
When a Python script raises an exception, it must either handle the exception immediately otherwise it terminates and quits.
जब कोई पायथन स्क्रिप्ट कोई अपवाद उठाती है, तो उसे या तो अपवाद को तुरंत संभालना चाहिए अन्यथा वह समाप्त हो जाएगी और बंद हो जाएगी।
The first method_init_() is a special method, which is called class constructor or initialization method that Python calls when you create a new instance of this class.
पहला method_init_() एक विशेष विधि है, जिसे क्लास कंस्ट्रक्टर या इनिशियलाइज़ेशन विधि कहा जाता है जिसे पायथन तब कॉल करता है जब आप इस क्लास का एक नया इंस्टेंस बनाते हैं।
The output of following Python program is _____.
निम्नलिखित पायथन प्रोग्राम का आउटपुट ____ है
r = lambda q: q*2
s = lambda q: q * 3
x = 2
x = r(x)
x = s(x)
x = r(x)
print x
Let consider the following Python code. The output of this code is ____
आइए निम्नलिखित पायथन कोड पर विचार करें, इस कोड का आउटपुट है
a = True
b = False
c = False
if a or b and c:
print("TRUE")
else:
print("FALSE") Recursive functions usually take ________ memory space than non-recursive function.
पुनरावर्ती फ़ंक्शन आमतौर पर गैर-पुनरावर्ती फ़ंक्शन की तुलना में _______ मेमोरी स्थान लेते हैं।
Python programming language was created by ____________.
पायथन प्रोग्रामिंग भाषा __________ द्वारा बनाई गई थी।
Python supports Object-Oriented style or technique of programming that encapsulates code within ________ .
पायथन प्रोग्रामिंग की ऑब्जेक्ट-ओरिएंटेड शैली या तकनीक का समर्थन करता है जो कोड को _______ के भीतर समाहित करता है।
______ returns the current time instant, a floating-point number of seconds since the epoch.
__________ वर्तमान समय का क्षण, युग के बाद से सेकंड की एक फ्लोटिंग-पॉइंट संख्या लौटाता है।
The ______ variables 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.
______ variables को केवल उस फ़ंक्शन के अंदर ही एक्सेस किया जा सकता है जिसमें उन्हें घोषित किया गया है, जबकि वैश्विक चर को पूरे प्रोग्राम बॉडी में सभी फ़ंक्शन द्वारा एक्सेस किया जा सकता है
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use _______ ,whereas lists use square brackets.
ट्यूपल्स और सूचियों के बीच अंतर यह है कि ट्यूपल्स को सूचियों के विपरीत बदला नहीं जा सकता है और ट्यूपल्स _______ का उपयोग करते हैं, जबकि सूचियाँ वर्ग कोष्ठक का उपयोग करती हैं।
Python converts numbers internally in an expression containing mixed types to a Common type for evaluation. But sometimes, coerce a number explicitly from one type to another to satisfy the requirements of ______ parameter.
पायथन मिश्रित प्रकार वाले एक्सप्रेशन में आंतरिक रूप से संख्याओं को मूल्यांकन के लिए एक सामान्य प्रकार में परिवर्तित करता है। लेकिन कभी-कभी, __________पैरामीटर की आवश्यकताओं को पूरा करने के लिए एक संख्या को एक प्रकार से दूसरे प्रकार में स्पष्ट रूप से बाध्य करता है।
All parameters (arguments) in the Python language are passed by _______.
पायथन भाषा में सभी पैरामीटर (आर्गुमेंट) _________ द्वारा पास किए जाते हैं।
Thanks, Candidate! Your responses have been recorded.
Hook this screen up to your backend to show the actual score.