Class XI : Chapter 1 Python Fundamental Test -11

 

Class XI: Python Fundamental Test 11


Q1. Is python a case sensitive language?

Q2. 63 is maximum possible length of identifier (T/F)

Q3. Print function is used to accept data from the user (T/F)

Q4. Python programs typed in __________ mode.

Q5. Which keyword in python is in upper case?

Q6. Variable names can be of __________ length.

Q7. Write the output of the following:

>>> a, b c = 10, 20, 30

>>> a = b + c

>>> print (a, b, c)

Q8. Identify the invalid variable name and specify the reason.

  •  Place
  • Cut_1
  • 12A
  • A#b
  • A1 b

Q9. Write the output of the following.

>>>print (“Introduction to Python\n Class\t XI”)

Q10. Write the output of the following:

>>>print(5*1**9)

No comments:

Post a Comment

Most Recently Published

File Handling Test 6

 File Handling Test 6 Q1 . Do we need to use the close() function when we use 'with' statement to open a file? Q2. Which mode you wi...

CS - IP Assignment/Worksheet