page-banner
Python M3-R5.1 MCQs SET-6
Q11.
इनमें से कौन सी परिभाषा मॉड्यूल का सही वर्णन करती है?

Which of these definitions correctly describes a module?
A. कुछ कार्यक्रम तत्वों के विनिर्देश प्रदान करने के लिए ट्रिपल कोट्स द्वारा अस्वीकृत/Denoted by triple quotes for providing the specification of certain program elements
B. एक कार्यक्रम में शामिल करने के लिए विशिष्ट कार्यक्षमता का डिजाइन और कार्यान्वयन/Design and implementation of specific functionality to be incorporated into a program
C. इसका उपयोग कैसे किया जाना है, इसके विनिर्देश को परिभाषित करता है/Defines the specification of how it is to be used
D. कोई भी प्रोग्राम जो कोड का पुन: उपयोग करता है/Any program that reuses code
View Answer
Q12.
पैकेज से सभी मॉड्यूल आयात करने के लिए कौन सा कथन सही है?

Which statement is correct to import all modules from the package?
A. from package import all
B. from package import *
C. from package include all
D. from package include *
View Answer
Q13.
__________ लूप को तुरंत पूरी तरह से समाप्त कर देता है।

__________ immediately terminates a loop entirely.
A. break
B. continue
C. pass
D. none of these
View Answer
Q14.
प्रोग्रामिंग लैंग्वेज के रूप में प्रदर्शित एल्गोरिथम __________ है।

An algorithm represented in the form of programming languages is __________.
A. Flowchart
B. Pseudo code
C. Program
D. None of the above
View Answer
Q15.
निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

import numpy as np
a = np.array([1.1,2,3])
print(a.dtype)
A. int32
B. float64
C. float
D. None
View Answer

Create Account