Page 32 - C++
P. 32

The result is False
                     (½  Mark for evaluating till OR operator)

                     (½  Mark for evaluating till NOT operator)
                     (½  Mark for evaluating till AND operator)

                     (½  Mark for evaluating till OR operator)

                     Note: (1 Mark to be given for writing correct answer as FALSE without showing
                     the Stack Status)

        Q4.  (a)     Answer the questions (i) & (ii) in the program segment given below for the required task.      1























































                         (i)
                                Write Statement 1 to position the file pointer to the appropriate place so that
                                the data updation is done for the correct Route.

                         (ii)   Write Statement 2 to perform the write operation so that the updation is done

                                in the binary file “ROUTE.DAT”.

                                                        Page No. 15
   27   28   29   30   31   32   33   34   35   36   37