Page 84 - PortGPT_V2.1_C6_Flipbook
P. 84

Step 13:  Drag and drop  the 'splash' block to 'on start' block. Your workspace will look like:
















                   Step 14:   Click on the 'on start' to run the program, OR on the 'Start the simulator' button present

                             on the left-hand side, to see the output.























                     Well done, you have created modulus of two numbers program!



                                                                                                Critical Thinking
                        Higher Order Thinking Skills                                                           (HOTS)

                  Write a pseudocode  and then draw a flowchart to perform different mathematical  operation
                  (Multiplication, Subtraction, Addition, Division) on two or more variables.




                       Teacher’s Corner

                  1.  Discuss the concept of variable to the students by using real-life examples.
                  2.  Ask students to explain the data types and operations that can be performed on the data types.














                  82    Premium Edition-VI
   79   80   81   82   83   84   85   86   87   88   89