page-banner
Chapter-8 Scope and Module
Q16.
टॉप-डाउन डिज़ाइन में प्रत्येक मॉड्यूल को समान संख्या में सबमॉड्यूल में विभाजित किया गया है।<break-line><break-line>In top-down design every module is broken into same number of submodules.
A. सही/True
B. गलत/False
C. पता नहीं/Can’t say
D. इनमें से कोई नहीं/None of these
View Answer
Q17.
पैकेज एक फ़ोल्डर है जिसमें एक या अधिक पायथन मॉड्यूल होते हैं। पैकेज में मॉड्यूल में से एक को ……… कहा जाना चाहिए<break-line><break-line>A package is a folder containing one or more Python modules. One of the modules in a package must be called ………
A. Package.py
B. __main__.py
C. main.py
D. __init__.py
View Answer
Q18.
निम्नलिखित में से कौन सा गलत सिंटेक्स है?<break-line><break-line>Which of the following is an incorrect syntax?
A. import function from module
B. from module import function
C. import module
D. None of the above
View Answer
Q19.
पायथन के लिए निम्नलिखित में से कौन सा एनवायरनमेंट वेरिएबल पायथन इंटरप्रेटर को बताता है कि प्रोग्राम में इम्पोर्टेड मॉड्यूल फ़ाइलों का पता कहाँ लगाना है?<break-line><break-line>Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program?
A. PYTHONPATH
B. PYTHONSTARTUP
C. PYTHONCASEOK
D. PYTHONHOME
View Answer
Q20.
एक पायथन मॉड्यूल में ………… एक्सटेंशन होता है।<break-line><break-line>A python module has …………extension.
A. .mod
B. .imp
C. .py
D. .mpy
View Answer