Assignment No: 1 To calculate salary of an employee given his basic pay (take as input from user). Calculate gross salary of employee. Let HRA be 10 % of basic pay and TA be 5% of basic pay. Let employee pay professional tax as 2% of total salary. Calculate net salary payable after deductions. Download Source Code Assignment No: 2 To accept an object mass in kilograms and velocity in meters per second and display its momentum. Momentum is calculated as e=mc2 where m is the mass of the object and c is its velocity. Download Source Code Assignment No: 3 To accept N numbers from user. Compute and display maximum in list, minimum in list, sum and average of numbers. Download Source Code Assignment No: 4 To accept student’s five courses marks and compute his/her result. Student is passing if he/she scores marks equal to and above 40 in each course. If student scores aggregate greater than 75%, then the grade is distinction. If aggregate is 60>= and <75 then the grade if first div...
Example 1 : Flow chart for finding the sum of and product of two numbers. Declare Integer a Declare Integer b Declare Integer sum Declare Integer product Display "Enter any two numbers :" Input a Input b Set sum = a + b Set product = a * b Display "Sum and Product of given two number is :" Display sum Display product Example 2 : Flow chart for convert temperature in farenheit to celcius. Declare Real farenheit Declare Real celcius Display "Enter the temperature value in farenheit :" Input farenheit Set celcius = 5 / 9 * (farenheit - 32) Display "Given temperature in celcius is :" Display celcius (Note : All flowcharts prepared using Flowgorithm (Download the flowgorithm from link : http://www.flowgorithm.org/ ) Next Topic : Basics of Python Programming
Features of Python Python provides number of features as follows, Easy to Learn and Use - Python is easy to learn and use. It is user and developer - friendly programming language. Expressive Language - Python language is understandable and readable. Interpreted Language - Python is an interpreted language. Due to interpreter code is executed line by line at a time. Cross-platform Language - Python work with different platforms, we can say that Python is a platform independent / portable programming language. Free and Open Source - Python language distribution is freely available it means that the source-code freely available for further development. Object-Oriented Language - Python is object oriented language and all concept related to object orientated supported by python. Large Standard Library - IPython having large number of library and it provides rich functions and packages for application development in easy way. GUI Programming Suppor...
Comments
Post a Comment