Skip to content

srijan-singh/py

Repository files navigation

Python

  1. Practical 1 : WAP to read and display the following information. Name, Address, Phone no.

  2. Practical 2 : WAP to read two numbers from the keyboard and display the larger one on the screen.

  3. Practical 3 : WAP to find, a given number is PRIME or NOT.

  4. Practical 4 : Write a Function to swap values of a pair of integers.

  5. Practical 5 : WAP to find N! Using function.

  6. Practical 6 : WAP to print Fibonacci series of ‘n’ numbers, where n is given by the programmer.

  7. Practical 7 : WAP to read a set of numbers in an array & to find the largest of them.

  8. Practical 8 : WAP to sort a list of names in ascending order.

  9. Practical 9 : WAP to read a set of numbers from keyboard & to find the sum of all elements of the given array using a function.

  10. Practical 10 : Calculate area of different geometrical figures (circle, rectangle, square, and triangle).

  11. Practical 11 : WAP to increament the employee salaries on the basis of their designation (Manager-5000, General Manager-10000, CEO-20000, worker-2000). Use employee name, id, designation and salary as data member and inc_sal as member function.

  12. Practical 12 : WAP to read data from the keyboard & write it to the file. After the writing is completed, the file isclosed. The program again opens the same file and reads it.

  13. Practical 13 : Write a program to implement Bubble Sort Technique.

  14. Practical 14 : Write a program to implement Linear Search and Binary Search Technique.

  15. Practical 15 : Consider a database table for a Bank with attributes AccountNo, CustomerName, Balance,Phone and Address. Write a program which allows insertion, updation and deletion of records in Bank table. Print values of all customers whose balance is greater than 20,000.

About

Python Practical

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages