Computer Science Class XI - Chapter 1 Python Fundamental Test 3

Computer Science Class XI - Chapter 1 Python Fundamental Test 1 


Q1. Write the output of the following :

  1. >>> (75 > 2 **5)
  2. >>> (25 = = 5 *2)
 Q2. Which operator can be changed in above part (2) so that it returns True?

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

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