Page 14 - Modular_V2.0_C++_Flikpbook
P. 14

Recap


                          C++ is a general-purpose and object-oriented programming language developed by Bjarne
                          Stroustrup at AT&T Bell Labs.
                         C++ supports multiple platforms which means the program developed on Windows operating
                          system works similarly over different operating systems.
                         Turbo C++ is a programming platform to develop C++ programs.
                         After saving a program, you need to compile the program to check whether it contains any
                          warnings or errors.
                         C++ program starts with headers and main(), using clrscr(), cout, and getch() inside {} to clear
                          screen, show output, and pause.


                                                         Exercise




                  A.   Tick ( ) the correct option.
                       1.  Who is the developer of C++ language?

                           a.  Bjarne Stroustrup                        b.  Mitchel Resnick
                           c.  Guido Van Rossum                         d.  None of these

                       2.  Which of the following was the first name of C++ language?
                           a.  C with Classes                           b.  C language
                           c.  C++ with classes                         d.  C++20

                       3.  Which of the following statements is correct in the context of C++?
                           a.  C++ is a high-level programming language.
                           b.  C++ supports multiple platforms.
                           c.  C++ is a compiler-based language.

                           d.  All of these
                       4.  In which year, the C++ language was initially standardised?
                           a.  1979                                     b.  1998

                           c.  1978                                     d.  1997
                       5.  A program is a set of……………………………..
                           a.  Statements                               b.  Symbols

                           c.  Characters                               d.  Numbers
                       6.  Which of the following is an extension of C++ program?
                           a.  .c++                                     b.  .cpp
                           c.  .cplus                                   d.  .doc


                  B.   Write ‘T’ for true and ‘F’ for false.
                       1.  The #include is used to include header file in the program.                 ...............................
                       2.  The cout is used to print message on the output screen.                     ...............................

                       3.  The getch( ) function keeps the output screen open.                         ...............................

                   12
                          Touchpad MODULAR (Ver. 2.0)
   9   10   11   12   13   14   15   16   17   18   19