Computer Science Class XI - Chapter 1 Python Fundamental Test 1
Q1. Write the output of the following :
- >>> (75 > 2 **5)
- >>> (25 = = 5 *2)
Q3. Dictionary is enclosed in ___________ brackets.
Q4. What do you mean by keywords in python?
Q5. Keywords can be used as variable names (T/F)
Q6. Write the code to display all keywords in python.
Q7. Write two keywords which start with capital letters.
Q8. Write the output of the following
>>> str = "Informatics"
>>>str[3] = 'e'
>>> print(str)
Q9. Write the output of the follwing:
>>> a = [1,2,3]
>>>a[0] = 6
>>>print(a)
Q10. Name five types of operators in python.
No comments:
Post a Comment