page-banner
Chapter-6 (Part-1) Python Function
Q6.
रिकर्सिव फंक्शन आमतौर पर नॉन-रिकर्सिव फंक्शन की तुलना में ………… मेमोरी स्पेस लेते हैं।<break-line><break-line>Recursive functions usually take ………… memory space than non-recursive function.
A. more
B. less
C. can’t say
D. None of these
View Answer
Q7.
Python भाषा में सभी Parameters (arguments) ……………… द्वारा पारित किए जाते हैं।<break-line><break-line>All parameters (arguments) in the Python language are passed by………………
A. objects
B. parenthesis
C. reference
D. None of these
View Answer
Q8.
…………… को केवल उस फंक्शन के अंदर एक्सेस किया जा सकता है जिसमें वे घोषित किए गए हैं, जबकि ग्लोबल वेरिएबल्स को सभी फंक्शन्स द्वारा पूरे प्रोग्राम बॉडी में एक्सेस किया जा सकता है।<break-line><break-line>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. can’t say
D. None
View Answer
Q9.
पायथन के इन-बिल्ट फंक्शन का उपयोग एक स्ट्रिंग से सभी प्रमुख और अनुगामी रिक्त स्थान को हटाने के लिए किया जाता है<break-line><break-line>in-built function of Python is used to remove all the leading and trailing spaces from a string.
A. lsstrip()
B. trail()
C. strip()
D. None of these
View Answer
Q10.
यदि स्ट्रिंग में सभी वर्ण अल्फ़ान्यूमेरिक (या तो अक्षर या संख्या) हैं, तो विधि true रिटर्न करता है यदि नहीं, तो यह false लौटाता है।<break-line><break-line>This method returns true if all characters in the string are alphanumeric (either alphabets or numbers). If not, it returns false.
A. isalphanum()
B. isalnum()
C. isalphanumeric()
D. None
View Answer