Q1.
Python में सिंगल लाइन कमेंट करने के लिए किस कैरेक्टर का प्रयोग किया जाता है?
Which character is used in Python to make a single line comment?
View Answer
Correct Answer: #
Q2.
पायथन में राइज एक्सेप्शन के लिए किस कीवर्ड का उपयोग किया जाता है?
What keyword is used in Python to raise exceptions?
A.
Raise
B.
goto
C.
try
D.
except
View Answer
Correct Answer: Raise
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
Correct Answer: .py
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
Correct Answer: None of the above
Q5.
आइडेंटिफायर की अधिकतम संभव लंबाई क्या है?
What is the maximum possible length of an identifier?
A.
16
B.
8
C.
32
D.
None of the above
View Answer
Correct Answer: None of the above
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
Correct Answer: All of the above
Q7.
पायथन प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?
How many keywords present in the python programming language?
View Answer
Correct Answer: 33
Q8.
पायथन किस भाषा में लिखा गया है?
In which language is Python written?
A.
C++
B.
C
C.
Java
D.
None of the above
View Answer
Correct Answer: C
Q9.
पायथन कितने कण्ट्रोल स्टेटमेंट का समर्थन करता है?
How many control statements python supports?
View Answer
Correct Answer: 3
Q10.
आइडेंटिफायर से डीलिंग के दौरान पाइथन केस संवेदनशील है?
Is Python case sensitive when dealing with identifiers?
A.
Yes
B.
No
C.
Machine dependent
D.
None of the above
View Answer
Correct Answer: Yes
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
Correct Answer: Pointers
Q12.
पायथन भाषा में फंक्शन के लिए किस कीवर्ड का प्रयोग किया जाता है?
Which keyword is used for function in Python language?
A.
Function
B.
Def
C.
Fun
D.
Define
View Answer
Correct Answer: Def
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
Correct Answer: All of the above
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
Correct Answer: Preferred Installer Program
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
Correct Answer: Do-while
Q16.
निम्नलिखित में से कौन सा फंक्शन पाइथन में बिल्ट-इन फंक्शन है?
Which of the following functions is a built-in function in python?
A.
factorial()
B.
print()
C.
seed()
D.
sqrt()
View Answer
Correct Answer: print()
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
Correct Answer: dlroW olleH
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
Correct Answer: Both A and B
Q19.
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, ______ कमांड का प्रयोग करें
To start Python from the command prompt, use the command ______
A.
execute python
B.
go python
C.
python
D.
run python
View Answer
Correct Answer: python
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
Correct Answer: datetime