Page 115 - Modular v1.1 Pyhton
P. 115

PROJECT WORK






                                                                                               Computational Thinking


                 Project 1

                 Write a program to add two numbers, which asks user to input the number and in case if user enters
                 an floating point number then the inputted number will be converted into an int type using int().
                 Project 2

                 Write a program to calculate Bonus, Commission and Gross salary on the product sold. User will
                 enter the number of inputs sold, total price of the input sold, on the basis of which the bonus,
                 commission and gross salary is calculated.

                 Hint:
                 basic_salary = 1500
                 bonus_rate = 200
                 commision_rate = 0.02
                 bonus = (bonus_rate * sold)
                 commission = (commision_rate * sold * price)
                 Project 3

                 Write a program to convert the time given into minutes in hours and minutes.
                 Project 4

                 Write a program to convert the distance (in feet) into inches, yards, and miles.

                 Hint:
                 dis_inches = dis_ft * 12
                 dis_yards = dis_ft / 3.0
                 dis_miles = dis_ft / 5280.0
                 Project 5

                 Write a program to print numbers in ascending order using if-else statement.
                 Project 6

                 Write a program which ask user to enter the day number of the year in range from 2 to 365,
                 after that it ask user to enter the first day of the year, and then it will display the day on the day
                 number which has been entered by the user as an output.
                 Project 7


                 Write a program to find sum of all elements in a list.
                 Project 8

                 Create an app ‘Places of India’ using App Inventor (https://App Inventor.mit.edu). This app will
                 display the famous places around India and give basic information about them.



                                                                                                  Project Work    113
   110   111   112   113   114   115   116   117   118   119   120