Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 155 - 2620_Birla Open Mind C-6
P. 155

    e.  a = 4

                                  b = 11
                                  print(a or b)

                                  print(a > 2)
                            2.  Rewrite the statements correctly.
                                a.  Print "Sum is ", (sum)

                                b.  print('Orange Education') @Adding Value to Education

                            3.  Surf the Internet and find more information about features of Python.

                            4.  Competency-based/Application-based questions:
                                a.   Sonam has created a Python program on various operators taught in the chapter. Her teacher
                                  asked her to give proper explanation of each operator in the program without displaying it on the
                                  output screen. How can this be possible? Which feature of Python can she use to do so?

                                b.   Your friend is working on his maths assignment and he has to do some quick calculations. But he
                                  is unable to understand which mode of Python he should use. Suggest him the mode of Python to
                                  do so.

                              DIY In The Lab                                            Century   #Information Literacy
                                                                                          21 st
                                                                                             #Technology Literacy
                                                                                         Skills
                     To
                     Subject   Coding

                       Write a Python program to:
                       1.  convert Celsius to Fahrenheit using the formula:  (Celsius * 1.8) + 32

                       2.  convert kilometre unit to metre
                       3.  input five names from the user and display them
                       4.  add two numbers

                     For The Teacher
                        Discuss about Python programming modes with the students.
                        Go through all the other topics covered in this chapter.
                        Tell the students about the importance of Python.

                                                                                                              #Python 153

| 150 151 152 153 154 155 156 157 158 159 160 |