Page 112 - 2502_Pakistan-kifayat_C-8
P. 112

Output:

              4 × 1 = 4
              4 × 2 = 8

              4 × 3 = 12

              4 × 4 = 16

              4 × 5 = 20
              4 × 6 = 24

              4 × 7 = 28

              4 × 8 = 32
              4 × 9 = 36

              4 × 10 = 40


                         Timeline


                         Textual programming  is a fundamental  approach to software development  where  programmers
                       write code using text-based programming languages.
                         Visual programming involves using graphical elements such as blocks or flowcharts to represent
                       code.
                         Programming languages  are special languages  used  to write instructions  that a computer can
                       understand and follow.

                         Assembly  language  is  the  most basic  type  of  programming  language.  It  is  very  close  to  machine
                       language (the 0s and 1s that computers understand).
                         Converting programming constructs from visual to textual means changing block-based code into
                       written code.
                         Writing simple programs using textual programming languages is the first step toward learning how
                       to communicate with a computer using code.






                     Choose the correct option.

                      1.  Which of the following is a textual programming language?

                               a.  Python                                    b.  Blockly

                               c.  Scratch                                   d.  App Inventor

                      2.  Which feature is common to both visual and textual programming?

                               a.  Syntax memorisation                       b.  Logical problem-solving

                               c.  Graphical interface                       d.  Speed




                  110  Premium Edition-VIII
   107   108   109   110   111   112   113   114   115   116   117