Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 103 - 2505_CoreGPT(Podar)_Flipbook_C6
P. 103

    The following table shows the operator precedence, starting with the highest precedence at
                     the top:

                      Operator(s)         Description
                      ()                  Grouping (expressions inside parentheses are evaluated first)

                      ^                   Exponentiation
                      + -                 Unary Plus and Unary Minus
                      ~                   Bitwise Negation (NOT)

                      * / \               Multiplication, Division, Integer Division
                      %                   Integer Remainder (Modulus)
                      +  & -              Addition/Concatenation and Subtraction
                      < <= >= = <>        Relational Operator

                      NOT                 Logical Not
                      AND                 Logical And
                      OR                  Logical Or

                      XOR                 Logical Exclusive Or
                      =                   Assignment operator (lowest precedence)

                            Restart

                          A computer program is a set of instructions that a computer follows to perform a specific
                          task or solve a problem.

                          BASIC-256 is a very simple programming language used for calculations and business
                          applications.
                          A variable is used to store different kinds of information, such as text or a number, in the
                          computer’s memory.
                          Keywords are the reserved words which cannot be used as a variable.

                                                              Checkpoint

                     A.  Tick ( ) the correct option.
                        1.  Which command is used to run a program in BASIC-256?

                           a  Enter                                         c.  Run

                           b.  Open                                         d.  Debug

                        2.  Identify the area where graphical elements like shapes and pictures are displayed.
                           a.  Tool Panel                                   c.  Menu Bar

                           b.  Graphics Output Area                         d.  Status Bar

                                                                                         Introduction to BASIC-256      101

| 98 99 100 101 102 103 104 105 106 107 108 |