7th Class Computers Science Programming Concepts Question Bank Programming in QBASIC

  • question_answer
    What is the output of the following QBASIC code?
    \[\begin{array}{*{35}{l}}    NAME\${{=}^{\prime\prime}}ProjectScop{e}''\\PRINT\,\,LEN\left(NAME\$\right)\\\end{array}\].
     

    A) 10                    

    B) 11

    C) 12                    

    D) 13

    Correct Answer: D

    Solution :

    LEN function prints the length of the given string.


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