page-banner
Python M3-R5.1 MCQs SET-14
Q16.
निम्नलिखित में से कौन सा फंक्शन पाइथन में बिल्ट-इन फंक्शन है?<break-line><break-line>Which of the following functions is a built-in function in python?
A. factorial()
B. print()
C. seed()
D. sqrt()
View Answer
Q17.
निम्न प्रोग्राम का आउटपुट क्या है: Print "Hello World"[::-1]<break-line><break-line>What is the output of the following program: print "Hello World"[::-1]
A. dlroW olleH
B. Hello Worl
C. D
D. Error
View Answer
Q18.
निम्नलिखित में से कौन सा फंक्शन पायथन में दिनांक को संबंधित समय में परिवर्तित करता है?<break-line><break-line>Which of the following functions converts date to corresponding time in Python?
A. strptime()
B. strftime()
C. Both A and B
D. None of the above
View Answer
Q19.
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, ______ कमांड का प्रयोग करें<break-line><break-line>To start Python from the command prompt, use the command ______
A. execute python
B. go python
C. python
D. run python
View Answer
Q20.
पायथन में दिनांक समय संगणना को संभालने के लिए निम्नलिखित में से किस मॉड्यूल को इम्पोर्ट करने की आवश्यकता है?<break-line><break-line>Which of the following modules need to be imported to handle date time computations in Python?
A. datetime
B. date
C. time
D. timedate
View Answer