page-banner
Python M3-R5.1 MCQs SET-14
Q1.
Python में सिंगल लाइन कमेंट करने के लिए किस कैरेक्टर का प्रयोग किया जाता है?

Which character is used in Python to make a single line comment?
A. /
B. //
C. #
D. !
View Answer
Q2.
पायथन में राइज एक्सेप्शन के लिए किस कीवर्ड का उपयोग किया जाता है?

What keyword is used in Python to raise exceptions?
A. Raise
B. goto
C. try
D. except
View Answer
Q3.
निम्न में से कौन सा Python फ़ाइल का सही एक्सटेंशन है?

Which one of the following is the correct extension of the Python file?
A. .python
B. .py
C. .p
D. None of the above
View Answer
Q4.
निम्नलिखित में से कौन सा पायथन में वैध सेट ऑपरेशन नहीं है?

Which of the following is not a valid set operation in python?
A. Union
B. Intersection
C. Difference
D. None of the above
View Answer
Q5.
आइडेंटिफायर की अधिकतम संभव लंबाई क्या है?

What is the maximum possible length of an identifier?
A. 16
B. 8
C. 32
D. None of the above
View Answer
Q6.
निम्नलिखित में से कौन सा पायथन में मान्य स्ट्रिंग मैनिपुलेशन फंक्शन हैं?

Which of the following are valid string manipulation functions in Python?
A. count()
B. upper()
C. strip()
D. All of the above
View Answer
Q7.
पायथन प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?

How many keywords present in the python programming language?
A. 32
B. 64
C. 33
D. 29
View Answer
Q8.
पायथन किस भाषा में लिखा गया है?

In which language is Python written?
A. C++
B. C
C. Java
D. None of the above
View Answer
Q9.
पायथन कितने कण्ट्रोल स्टेटमेंट का समर्थन करता है?

How many control statements python supports?
A. 3
B. 4
C. 5
D. 6
View Answer
Q10.
आइडेंटिफायर से डीलिंग के दौरान पाइथन केस संवेदनशील है?

Is Python case sensitive when dealing with identifiers?
A. Yes
B. No
C. Machine dependent
D. None of the above
View Answer
Q11.
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?

Which of the following concepts is not a part of Python?
A. Pointers
B. Loops
C. Dynamic typing
D. All of the Above
View Answer
Q12.
पायथन भाषा में फंक्शन के लिए किस कीवर्ड का प्रयोग किया जाता है?

Which keyword is used for function in Python language?
A. Function
B. Def
C. Fun
D. Define
View Answer
Q13.
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से किस स्टेटमेंट का उपयोग किया जाता है?

Which of the following statements are used in Exception Handling in Python?
A. try
B. except
C. finally
D. All of the above
View Answer
Q14.
पाइथन के लिए pip क्या है?

What does pip stand for python?
A. unlimited length
B. all private members must have leading and trailing underscores
C. Preferred Installer Program
D. None of the above
View Answer
Q15.
निम्नलिखित में से किस प्रकार के लूप Python में समर्थित नहीं हैं?

Which of the following types of loops are not supported in Python?
A. For
B. While
C. Do-while
D. None of the above
View Answer
Q16.
निम्नलिखित में से कौन सा फंक्शन पाइथन में बिल्ट-इन फंक्शन है?

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]

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.
निम्नलिखित में से कौन सा फंक्शन पायथन में दिनांक को संबंधित समय में परिवर्तित करता है?

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.
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, ______ कमांड का प्रयोग करें

To start Python from the command prompt, use the command ______
A. execute python
B. go python
C. python
D. run python
View Answer
Q20.
पायथन में दिनांक समय संगणना को संभालने के लिए निम्नलिखित में से किस मॉड्यूल को इम्पोर्ट करने की आवश्यकता है?

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