Page 70 - 2403_Trackpad_V5.1_C6_Fb
P. 70

FINDING THE SMALLER NUMBER BETWEEN TWO NUMBERS
                                                                                          Start
                  There comes a situation where we need to make a
                  decision based on certain condition.
                                                                                     Read Num1 and
                                                                                         Num2




                                                                                            Is
                                                                             Yes                         No
                                                                                      Num1<Num2?
                                                                     Print "Num1                        Print "Num2
                                                                     is less than                        is less than
                                                                       Num2"                               Num1"
                                                                                           Stop
                              Start

                                                    DISPLAYING A SERIES OF NUMBERS FROM 1 TO 10
                              A = 1
                                                    A loop is a sequence of steps repeated a number of times. We
                                                    can repeat a group of instructions in a flowchart until a specific
                                                    condition is met.
                               Is
                             A<=10?         No

                                                                                        Life Skills & Values
                                 Yes                                  “Always draw a neat and
                            Print A                                   clean flowchart, so that viewer
                                                                      can understand easily.”

                            A = A + 1         Stop




                            COMPUTER LANGUAGES

                  Humans need a common language to communicate with each other. Similarly, computers need a
                  language to communicate with its user, take instructions, and perform operations. The language
                  that is required by a computer is called computer language. This is also known as a programming
                  language.

                  It is a set of words, symbols and codes that the computer can understand. There are a number of
                  programming languages worldwide. Computer languages are classified into two major categories:
                  Low-level language and High-level language.


                  LOW-LEVEL LANGUAGE

                  Low-level language  is a programming  language that deals with the computer’s  hardware
                  components.  It is machine-dependent.  A set  of low-level  language  instructions  written  for  a
                  particular type of computer will not work on a computer with a different design. These languages
                  are also known as computers’ native languages.



                   68   Premium Edition-VI
   65   66   67   68   69   70   71   72   73   74   75