Advanced Programming Practice
Week – 1
1. Write a python program using structured programming paradigms for displaying
first name, last name, email, user id, password and confirm password of the user for school
applications. All the inputs are to read from user at run time and proper conversion also to be
included in the code. After validating the user name and password display the authorized
user details in console window.
2. Create a multiplication table asking the user the number of rows and columns he wants.
Write a python program to implement the above table.
3. Write a python program where the program takes a random integer between 1 to 10, the
user is then prompted to input a guess number. If the user input matches with guess number,
the program will display a message Good Work otherwise display a message “Notmatched”
4. Write a python program using structured paradigms concepts to compute the sum of the
two given integers. If the two values are same, then returns triple their sum.
5. Write a python program to check the total marks of a student in various examinations. The
student will get A+ grade if the total marks are in the range 89..100 inclusive, if the
examination is "Final-exam." the student will get A+ grade and total marks must
be greater than or equal to 90. Return true if the student get A+ grade or false otherwise
Week – 2
1. Write a Python function to check whether a number is in a given range.
2. Write a Python function that prints out the first n rows of Pascal's triangle.
3. Write a Python program to compute the sum of all the elements of each tuple stored inside a
list of tuples.
4. Write a Python program to create and display all combinations of letters, selecting each letter
from a different key in a dictionary.
5. Write 2 lambda functions in python to calculate the volume and area of a sphere using the
formulas.