Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 88 - CodePilot V5.0 C7
P. 88

    Let’s take an example: You need to calculate the total cost of 5 different grocery items, where
                      each item has a different price and quantity.

                                Method 1: Manual Calculation                      Method 2: Using Excel Formula

                        You  use a calculator  to multiply  the price  of   You enter the prices and quantities in an
                        each item by its quantity, then add all the totals   Excel sheet, then use a SUM formula to
                        together.                                           calculate the total cost automatically.

                            Efficiency: It takes more time because you          Efficiency: It’s  quicker  because  the
                           are doing each calculation one by one.              computer does the work for you.

                            Accuracy: There’s a chance  of making  a            Accuracy: It’s more accurate because
                           mistake while adding or multiplying.                Excel  handles the  calculations  without
                                                                               human errors.
                            Smartness: It uses a calculator but requires
                           a lot of manual steps.                               Smartness: It’s smarter because it uses
                                                                               fewer steps, just type in the data and let
                                                                               Excel calculate it for you.

                                                                ACTIVITY-6

                          1.  Create two 3D designs in Tinkercad.
                             (a)  Design A: Create a simple 3D shape (e.g., cube, sphere or cylinder) and form a basic
                                  object (e.g., cup or pencil holder).
                             (b)  Design B: Create a more complex 3D design using shapes (e.g., cylinder, sphere and box)
                                  to form a detailed object (e.g., lamp or house).
                          2.  Compare both designs based on efficiency, accuracy and creativity.

                                                                ACTIVITY-7

                          Meena came across some Python programs, but she is unable to tell what these are doing as
                          neither has been executed properly. Help her evaluate what is wrong in these and rewrite the
                          correct program.
                          (a)  name = "Alice"
                              print("Hello" + name

                          (b)  greeting = "Hi there"
                              print(Greeting)

                          (c)  age = input("How old are you? ")
                               print("You will be ", age + 10, "
                              years old after 10 years.")

                       86
                            CodePilot (V5.0)-VII

| 83 84 85 86 87 88 89 90 91 92 93 |