Page 125 - Trackpad_V5_Book 6
P. 125

5.  What will be the output of the following expressions in Python?
               a.  56*8+13            ______________              d.  74+98+23+76-23-45-90    ______________
               b.  49/7 – 5+15 – 10   ______________              e.  90/10+25*67-22          ______________

               c.  34*98*2*5 – 1076/2  ______________


                                                                                          21 st   #Technology Literacy
                   LAB ACTIVITY                                                         Century   #Inter-Disciplinary
                                                                                          Skills

                   Visit your computer lab and perform the following actions:
                      Print the following in Python.
                      (a)  Five famous landmarks of your city
                      (b)  Names of any five countries that you wish to visit
                      (c)  Your five favourite cars
                      Write a python program to  calculate the multiplication of two numbers.




                                                                                              21 st   #Social Interaction
             GROUP DISCUSSION                                                              Century   #Communication
                                                                                             Skills
               Divide the students in the two groups and organise a group discussion on different
               modes on python.





                    COding Zone       COding Zone     {}      =     COding Zone
                           {C ding z ne}
                                                                                     21 st
                                                                                        #Computational Thinking
                                                                                   Century
                                                                                    Skills
                                                                    </>
                Find the errors in the following codes and rewrite the incorrect statement correctly:
                a.  a = 10                                     c.  a, b = 10, 20
                    b = 20                                         c = a + a + b + a + b
                    c = 10 + a + "34"                              print("a is:"a,"b is:"b,"c is:"c)
                    print(c)
                b.  a = "Divya"                                d.  name1 = "Nakul"
                    b = "Sharma"                                   name2 = "nakul"
                      print("Result of + operator                  print(name1>num2)
                    is: " b-a)





                  CAREER HERE
            People who are experts in Python may pursue their careers as Software Developers.



               FOR THE TEACHER
              1.   Demonstrate the Python programming modes to the students.
              2.   Discuss with students about the Python and its features.




                                                                                        Introduction to Python  123
   120   121   122   123   124   125   126   127   128   129   130