Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 135 - CoreGPT(Podar)_Flipbook_C8
P. 135

    5.  What is the difference between compiling a program and running a program?

                           .....................................................................................................................................................................................................

                           .....................................................................................................................................................................................................

                           .....................................................................................................................................................................................................

                                                           Mind Boggler

                                                                                                      21 st   #Information Literacy
                                                                                                    Century
                        Competency-based questions.                                                  Skills  #Technology Literacy
                        1.  Anjali has successfully compiled her program, but she notices that the output window
                           disappears quickly after running the program. What can she do to keep the output visible?

                        2.  Ramesh is working on a C++ program and sees the line #include<iostream.h> in the code.
                           What does this line do in the program?

                      Lab Session                                                              Century   #Technology Literacy
                                                                                                 21 st
                                                                                                Skills
                      Write a C++ program to display the following message using cout statement:
                         I Love My India

                              I Love My India
                                     I Love My India

                     Teacher's Note

                       1.  Discuss the features of C++ with the students.
                       2.  Discuss the different sections of the Turbo C++ window and their importance.

                                                                                               Introduction to C++      133

| 130 131 132 133 134 135 136 137 138 139 140 |