Computer Project
Computer Project
Program 1: WAP to calculate the amount payable if money has been lent on simple interest.
Program 2: WAP to calculate in how many days a work will be completed by three persons A, B and
C together.
Chapter 5: Getting Started With Python
Program 3: WAP to enter two integers and perform all arithmetic operations on them.
Chapter 5: Getting Started With Python
Program 4: WAP that asks the user to enter their name and age. Print a message addressed to the user
that tells the user the year in which they will turn 100 years old.
Chapter 5: Getting Started With Python
Program 5: WAP that accepts the mass of an object and determines its energy.
Chapter 5: Getting Started With Python
Program 6: WAP to calculate the height reached by the ladder on the wall for the following values of
length and angle.
Chapter 5: Getting Started With Python
Chapter 6: Flow Of Control
Program 1: WAP to create a simple calculator performing only four basic operations.
Chapter 6: Flow Of Control
Program 2: WAP to find the factors of a whole number
Chapter 6: Flow Of Control
Program 3: WAP to print all prime numbers till n, specified by user
Chapter 6: Flow Of Control
Program 4: WAP to find the factorial of a number
Chapter 6: Flow Of Control
Program 5: WAP to print the table of a given number.
Chapter 6: Flow Of Control
Program 6: WAP to that prints the minimum and maximum of five numbers entered by the use.
Chapter 6: Flow Of Control
Program 7: WAP to check if the year entered by the user is a leap year or not.
Chapter 6: Flow Of Control
Program 8: WAP to generate the sequence: –5, 10,–15, 20, –25..... upto n, where n is an integer input
by the user.
Chapter 6: Flow Of Control
Program 9: WAP to find the sum of 1+ 1/8 + 1/27 ...... 1/n3 , where n is the number input by the user.
Chapter 6: Flow Of Control
Program 10: WAP to find the sum of digits of an integer number, input by the user.
Chapter 6: Flow Of Control
Program 11: WAP to check whether an input number is a palindrome or not.
Chapter 6: Flow Of Control
Program 12: WAP to print the following pattern:
Chapter 6: Flow Of Control
Program 13: WAP to print the following pattern:
Chapter 6: Flow Of Control
Program 14: WAP to print the following pattern:
Chapter 6: Flow Of Control
Program 15: WAP to print the following pattern:
Chapter 6: Flow Of Control
Program 16: WAP to print the Fibonacci’s sequence.
Chapter 6: Flow Of Control
Program 17: WAP to find the grade of a student.
Chapter 6: Flow Of Control
Program 18: WAP to find the sum of the cube of the numbers upto ‘n’, entered by the user.
Chapter 6: Flow Of Control
Program 19: WAP to check whether the number inputted is a prime no. or not.
Chapter 8: Strings
Program 1: WAP to input a string from the user and print it in the reverse order.
Chapter 8: Strings
Program 2: WAP which replaces all vowels in the string with '*'.
Chapter 8: Strings
Program 3: WAP to check if the entered string is a palindrome or not.
Chapter 8: Strings
Program 4: WAP to delete the occurrences of a given character in a string both inputted by the user.
Chapter 8: Strings
Program 5: WAP to input a string. Count no. of words, character, alphabets, digits and special
symbols.
Chapter 8: Strings
Program 6: WAP that replaces each space in the string inputted by the user with a hyphen.
Chapter 8: Strings
Program 7: WAP to find the sum of all the digits in a string.
Chapter 8: Strings
Program 8: WAP to convert the first letters of each word into capital in a string. (Must have more than
one word)
Chapter 8: Strings
Chapter 9: Lists
Program 17: WAP to swap two elements in a list.
Program 18: WAP to print all odd numbers in a list.
Program 19: WAP to print even numbers in a list.
Program 20: WAP to check if an element exists in a list.
Chapter 10: Tuples And Dictionaries
Program 1: WAP to enter names of employees and their salaries as input
and store them in a dictionary.
Chapter 10: Tuples And Dictionaries
Program 2: WAP to convert a number entered by the user into its corresponding number in words.
Chapter 10: Tuples And Dictionaries
Program 3: WAP to read email IDs of n number of students and store them in a tuple.
Chapter 10: Tuples And Dictionaries
Program 4: WAP to receive names from the user and find if this student is present in the tuple or not.
Chapter 10: Tuples And Dictionaries
Program 5: WAP to find the highest 2 values in a dictionary.
Chapter 10: Tuples And Dictionaries
Program 6: WAP to create a dictionary from a string.
Chapter 10: Tuples And Dictionaries
Program 7: WAP to input your friends’ names and their Phone Numbers and store them in the
dictionary as the key-value pair. Perform the following operations on the dictionary:
b) Add a new key-value pair in this dictionary and display the modified dictionary