Page 119 - C_GPT _V4 _class_5
P. 119

Quick Quiz

                  1.   Which programming concept allows you to make decisions and choose different actions based
                      on specific conditions?


                             a.  Loops                                           b.  Conditional Blocks

                  2.  Placeholders used to store information in a computer program are called                         .

                             a.  Variables                                       b.  Sensing blocks





                              Recap


                              Operators Blocks are used to do arithmetic and logical calculations.
                               Variables are the data values for which the value can be changed when the code is being
                            processed.
                               The statements that are executed on the basis of decision taken from a choice are called
                            conditional statements.
                               The automatic running of a set of instructions more than once is called looping.


                               The sensing blocks in Scratch sense the input from the keyboard or the mouse at the time
                            of execution of a script.
                                We store data in the computer memory so that we can get information from it later. This
                            data is stored in variables.

                               Scratch has two conditional blocks:  If…then…..  and If…then….else block.



                                                   Assess Yourself


                        Choose the correct option.

                        1.  Which of the following is the colour of the Operators Blocks?


                                  a.  Light blue                                b.  Orange

                                  c.  Light green                               d.  Purple


                        2.   Gurleen wants to use a block in Scratch that prompts the user to type the input using the
                           keyboard. Which of the following blocks should she use for this purpose?

                                  a.                                            b.


                                  c.                                            d.







                                                                                                 More on Scratch   117
   114   115   116   117   118   119   120   121   122   123   124