Time: 20:00

1. What will be the output of the following Python code?

x = "abcdef"   i = "a"
while i in x :
      print(' i ', end = " ")

2. What will be the output of the following Python code?

string = "my name is x"
for i in string :
      print( i, end = " " )

3. What will be the output of the following Python code?

string = "my name is x"
for i in string.split() :
      print( i, end = " " )

4. What will be the output of the following Python code?

a = [0, 1, 2, 3]
for a[-1] in a :
      print( a[-1] )

5. What will be the output of the following Python code?

a = [0, 1, 2, 3]
for a[ 0 ] in a :
      print( a[0] )

6. What will be the output of the following Python code?

for i in range( 0 ) :
      print( i )

7. Which operator is also called as Comparative Operator?

किस ऑपरेटर को तुलनात्मक ऑपरेटर भी कहा जाता है?

8. Which of the following is not Logical Operator?

निम्नलिखित में से कौन सा लॉजिकल ऑपरेटर नहीं है?

9. Which operator is also called as Conditional Operator?

किस ऑपरेटर को कंडीशनल ऑपरेटर भी कहा जाता है?

10. elif can be considered to be abbrevation of

एलिफ़ को इसका संक्षिप्त रूप माना जा सकता है

11. What plays a vital role in Python programming?

पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?

12. Which statement is generally used as a placeholder?

कौन सा कथन आमतौर पर प्लेसहोल्डर के रूप में उपयोग किया जाता है?

13. The condition in the if statement should be in the form of

if स्टेटमेंट में शर्त इस प्रकार होनी चाहिए

14. Which is the most comfortable loop?

सबसे आरामदायक लूप कौन सा है?

15. Which among this is not a jump statement?

इनमें से कौन सा जंप स्टेटमेंट नहीं है?

16. Leading white space at the beginning of each statement, which is used to determine the group of statement.

प्रत्येक कथन की शुरुआत में अग्रणी सफेद स्थान, जिसका उपयोग कथन के समूह को निर्धारित करने के लिए किया जाता है।

17. It is the combination of Operators, Operands and Constants

यह ऑपरेटर्स, ऑपरेंड और कॉन्स्टेंट का संयोजन है

18. Python operator always yields the result of

पायथन ऑपरेटर हमेशा परिणाम देता है

19. Which Python build in function returns the unique number assigned to an object?

कौन सा पायथन बिल्ड इन फ़ंक्शन किसी ऑब्जेक्ट को निर्दिष्ट अद्वितीय संख्या लौटाता है?

20. The operator used to check if both the operands refrence the same object memory, is the ...... operator.

ऑपरेटर यह जांचने के लिए उपयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को रिफ्रेंस करते हैं, ...... ऑपरेटर है।