Class XI : Chapter 1 Python Fundamental Test - 9

 Q1. What do you mean by comment in python?

Q2. A comment in python starts with __________ symbol.

Q3. Is python a case sensitive?

Q4. What do you mean by dynamic typing?

Q5. Define the following term

  1. Token
  2. Keyword
  3. String
  4. Operators
  5. int() function
  6. type() function
  7. eval() function
  8. input() function.
Q6. Precision of _________ digits in floating point numbers in python.

Q7. input() function always return a value of __________ type.

Q8. Write the output of the following
        >>> x , y = 3, 5
        >>>x, y = y, x + 6
        >>> print(x,y)

Q9. What is the extension of python file?

Q10.  Find the error in the following code

            def sub(n1, n2)
            res = n1 - n2
            return res


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