12th Class Computers Science Sample Paper File Handling - Sample Paper-3

  • question_answer
    Answer the following questions (21 to 24) on the basis of ABOUTtxt file having the below content:
    What is the output of the statement:

    A) STUDY

    B) TRIGGER

    C) ?

    D) None of the above

    Correct Answer: B

    Solution :

    [b] It will print"?". As data will read it as a list like ["Study", "Trigger", "?"............], so, in this list, on index no 2 "?" is present, so it will print this value.


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