Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 153 - logicode 2609 C6
P. 153

    Step 5     Pause to Wait:

                                         Drag the pause block from the Game category and place it below the say
                                         block.
                                        Set the duration of the pause (e.g., 1000 milliseconds for 1 second).

                           Step 6   Create Conversation for the Second Sprite:
                                         Drag out a say mySprite "I'm good, thanks!" for 2 seconds block from the
                                         Sprites category.

                                        Change "I'm good, thanks!" to the second sprite's response.
                                        Make sure this block is placed below the pause block.

                           Step 7   Arrange the Blocks:

                                         Ensure that the first sprite says its message, then pauses, and finally, the
                                         second sprite says its message.

                       9.   Write the algorithm for the following and then draw the flowchart:

                            a. To convert the length given in feet to centimetres            Century   #Productivity & Accountability
                                                                                               21 st
                                                                                              Skills
                            b. To calculate the sum of the first 10 natural numbers

                                                                                               21 st
                       10.  Write a Python program to print the following message:           Century   #Productivity & Accountability
                                                                                              Skills

                             Education is the passport to the future,

                             for tomorrow belongs to those who prepare it today.

                       11.   Write a Python program to calculate the average of             Century   #Productivity & Accountability
                                                                                               21 st
                            three numbers.                                                    Skills  #Interdisciplinary

                       12.  Write a Python program to convert kilometres to metres.          Century   #Productivity & Accountability
                                                                                               21 st
                                                                                               Skills
                       13.  Create the given worksheet in Excel:

                                                                                                         Project Work  151

| 148 149 150 151 152 153 154 155 156 157 158 |