Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 162 - CoreGPT(Podar)_Flipbook_C8
P. 162

    Tech Funda

                             An infinite loop can be stopped by pressing Ctrl + Break key.

                             Restart

                             A character set refers to the letters, digits and special symbols that can be used to write
                            programs in C++ language.

                            Tokens are the smallest individual units of a C++ program.
                            Keywords are special words in C++ that have a fixed meaning and cannot be used as
                            variable names.
                            A data type defines the type of value a variable can store.
                            An operator is a symbol used to perform mathematical and logical calculations.

                            Arithmetic operators are general mathematical operators used to perform arithmetic
                            operations.
                            Conditional statements are used to test conditions and decide the flow of a program on
                            the basis of result of the conditions.
                            The statements that are used to repeat a set of instructions are called iterative or looping

                            statements.

                                                               Checkpoint

                      A.  Tick ( ) the correct option.

                         1.  Which of the following symbols can be used in a variable name?
                            a.  Underscore ( _ )                             b.  Plus ( + )

                            c.  Asterisk ( * )                               d.  None of these
                         2.  Which of the following is an invalid variable name?

                            a.  User_Name                                    b.  Priya $pay

                            c.  Name                                         d.  Name123

                         3.  Which of the following operators is used to increase the value of a variable by 1?

                            a.  Assignment                                   b.  Ternary

                            c.  Increment                                    d.  Decrement

                    160     Premium Edition-VIII

| 157 158 159 160 161 162 163 164 165 166 167 |