The document outlines a practical file for Python programming, detailing a list of twelve programs to be submitted by August 24, 2022. Each program includes specific functionalities such as calculating NCR, validating dates, performing number operations, and handling file operations with user-defined functions. The document emphasizes the need for outputs, documentation, and a structured report format.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
14 views3 pages
P - File - 1 Ques
The document outlines a practical file for Python programming, detailing a list of twelve programs to be submitted by August 24, 2022. Each program includes specific functionalities such as calculating NCR, validating dates, performing number operations, and handling file operations with user-defined functions. The document emphasizes the need for outputs, documentation, and a structured report format.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
PYTHON PRACTICAL FILE
LIST OF PYTHON PROGRAMS
Date of Submission: 24 August ’2022 Note: 1. Program report file title page, Acknowledgement, Certificate and chapter wise index page is to be added. 2. All the programs must be with output. Menu based program all option output required. 3 Document your program wherever required. Program 1: Program to calculate the NCR using factorial- user defined function.
Program 2: Menu driven Program to perform the following operations
using user’s defined functions 1. Valid()- A function to check whether the given date is valid or not and return ‘Y’ or ‘N’ accordingly. 2. Format1()- A function to display the given date as dd-mm-yy format. 3. Format2()- A function to display the given date as dd-mnthname-yy format.
Program 3: Menu driven program to perform following Number
operations using functions: 1. Prime Number checking 2. Perfect Number checking 3. Sum of digits of a number 4. Reverse of a number 5. Armstrong Number checking 6. Palindrome Number checking Program 4: W.A.P. to perform the following operations in a list containing n students marks using UDF 1. input student marks 2. Display all student marks along with class average, highest and lowest and also display their position 3. Display all those marks which are above class average and display the no of students above average and display their average 4. Add a new student marks to list 5. Update marks as per the req condition 6. Insert the marks at the given position 7. Remove (all forms)- using list methods.
Program 5: Write a menu driven program to perform any 8 built in
functions or operations on strings.
Program 6: Write a menu driven program to perform any six built in
functions or operations on Dictionary.
Program 7: Write a random number generator that generate random
numbers between 1 to 6 (Simulates a dice). no.of alphabet no. of line Program 8: Menu driven program to perform any 10 operations on text no spaces no. of digit File. lowercase uppercase Program 9: Menu driven program to perform following operation on no words lines start A Binary File containing either of the following details in list by list or word start A dictionary by dictionary display whole A. Employee details: (Eno,Ename,desig,dept,salary) [Roll no. 1-10] B. Student details: (admno,rollno,stname,class,sec,per)[Roll no. 11-21] using functions. 1. Creation of binary file emp.dat/student.dat 2. Display all the contents of the binary file in a tabular format 3. Display the details of employee/student with given empno/admno, if not found display appropriate message. 4. Update the salary/per of a given empno/admno with given amount. 5. Delete the record of a given empno/admno, if not found appropriate message. 6. Delete the records of given department/class
Program 10: Write a menu driven program to perform various
operations on CSV file using functions. (as done in class) read search write update Program 11: Create a CSV file by entering user-id and password, read and search the password for given user-id using a python program.
Program 12: Write a menu driven program to perform various