12th Class Computers Science Sample Paper Python Revision Tour-Sample Paper-1

  • question_answer
    .........................conversion is user defined conversion that forces and expression to be of specific type.

    A) Implicit             

    B) Explicit

    C) both a and b       

    D) none of the above

    Correct Answer: B

    Solution :

    [b] There are two types of conversion (also called type casting):
    1. Implicit Conversion: provided by the Python.
    2. Explicit Conversion: provided by the user.
    So, Explicit conversion is user defined conversion that forces and expression to be of specific type.
    example:
     


You need to login to perform this action.
You will be redirected in 3 sec spinner