9th Class Computers Science Visual Reasoning Question Bank Introduction to Visual Basic

  • question_answer
    Select the CORRECT match.

    A)
     Int( ) Converts a number into integer by truncating its decimal part

    B)
     Round( ) Round up an integer to a decimal number

    C)
     Instr( ) Searches for string within a string and then replace it.

    D)
     Trim( ) Remover space in between two words

    Correct Answer: A

    Solution :

    Int( ) returns the integer portion of a number. Round( ) returns a number to specified number of decimal places. lnstr( )returns the position of the first occurrence of one string within another. Trim( ) truncate the space from both left and right side of a string.


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