0% found this document useful (0 votes)
14 views

Assignment M.C.A III SEM

The document outlines 12 programming tasks for a Python lab assignment. The tasks cover topics like classes, exceptions, dictionaries, lists, files, decorators, and SQL databases.

Uploaded by

hors3110raj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Assignment M.C.A III SEM

The document outlines 12 programming tasks for a Python lab assignment. The tasks cover topics like classes, exceptions, dictionaries, lists, files, decorators, and SQL databases.

Uploaded by

hors3110raj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment M.C.

A III Semester
LAB BASED ON PYTHON (CPMCA304)
1. Write a program to create a class, constructor and functions to accept and
display the values.

2. WAP using Dictionary to store userid and password and validate the user based
on userid and password.

3. Write a program to create a user defined exception in python and handle the
exception using user defined class.

4. Write a program to start different executable files of system such as calculator,


notepad, msword etc.

5. Write a menu-driven program to find the area of a circle, square and rectangle in
python.

6. Write a program to insert, update, delete and display the values using dictionary
in python.

7. Create a Digital clock using tkinter in python.

8. Write a program to insert, delete and displaying elements in ascending and


descending order using List data type in python.

9. Write a program to create a PhoneBook using Dictionary for adding, updating,


searching and deleting phone Numbers.

10. WAP in python to store students details in csv file.

11. WAP in python to create a decorator and decorate a function.

12. WAP in python to insert, update, display and delete data in mysql database.

You might also like