0% found this document useful (0 votes)
18 views3 pages

Python Pratical List - 2024-25

The document outlines a practical list for the Bachelor of Computer Application program at Acharya Motibhai Patel Institute of Computer Studies for the academic year 2024-25, focusing on Python programming. It includes various programming tasks such as arithmetic operations, data structures, classes, inheritance, and file handling. Each task is designed to enhance students' understanding and application of Python programming concepts.

Uploaded by

vyasvishal113
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
18 views3 pages

Python Pratical List - 2024-25

The document outlines a practical list for the Bachelor of Computer Application program at Acharya Motibhai Patel Institute of Computer Studies for the academic year 2024-25, focusing on Python programming. It includes various programming tasks such as arithmetic operations, data structures, classes, inheritance, and file handling. Each task is designed to enhance students' understanding and application of Python programming concepts.

Uploaded by

vyasvishal113
Copyright
© © All Rights Reserved
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

ACHARYA MOTIBHAI PATEL INSTITUTE OF COMPUTER

STUDIES GANPAT UNIVERSITY, KHERVA


PRACTICAL LIST
Programme Bachelor of Computer Application Subject Name INTRODUCTION OF
PYTHON
PROGRAMMING

Subject Code U34A3IPP Academic Year 2024-25

Sr. No. Definition

1. Print Hello World.

2. Write a program to perform different Arithmetic Operations on numbers in Python.

3. Calculate area of circle.

4. Write a program to demonstrate different number data types in Python.

5. Write a program to create, append, and remove lists in python.

6. Write a program to demonstrate working with tuples in python.

7. Write a program to demonstrate working with dictionaries in python.

8. Python program to find the largest number among the three input numbers

9. Accept a number from keyboard and test whether the given number is even or odd.

10. To display numbers from1 to10 using while loop.

11. Program to calculate factorial of entered number

12. Check it is Prime number of not

13. Write a Python program to construct the following pattern, using a nested for
loop
1
12
123
1234
12345

14. write a program on a student tuple to do following on student tuple.

∙ print the name of student on 3rd index position.


∙ print last 2 student name
∙ print first 4 student
∙ print student from 3rd position to last
∙ check if stud name ‘vishal’ is present in list .
∙ Change the name of the 3rd student
∙ Add One student
∙ Remove two students
∙ Copy student tuple to Exam_data tuple
∙ Print Exam_data tuple in ascending order
15. Write a program Create a list of student name having 10 items and perform following

∙ Print whole list using for loop


∙ Find out students have B in name and print.
∙ Apply simple sorting and case sensitive sorting on list
∙ Create list of Subject name and append to student list
∙ Remove appended item from list using pop function

16. write a program on a Employee Dictionaries to do following on Employee

∙ Add value in dictionaries.


∙ Update items in dictionaries.
∙ Remove item.

17. write a program to create two different sets and apply following functions.

∙ add()
∙ Clear()
∙ Difference()
∙ Intersection()
∙ Union()
∙ Issubset()
∙ Symmetric_differencce()
∙ Isdissjoint()
∙ Remove()
∙ Update()

18. Write a program to perform arithmetic operations (Add, Subtract, Multiply, divide) using
different functions with arguments and return values.

19. Write a program to swap the value of two variables using lambda function.

20. Write a program to create Employee class and print its information by creating its object.

21. Write a program to use default constructor to initialize the values of variable of employee class.

22. Write a program to use parameterized constructor to initialize the values of variable of salary class.

23 Write a program to show the use of destructor method.

24 Write a program to get student marks and print the percentage using class methods.

25 Write a program to show the use of single inheritance.

26 Write a program to display student information, subject marks and final result using
multilevel inheritance.

27 Write a program to calculate student marks with sports marks and display percentage using
multiple inheritance.
28 Write a program to display collage information and course information using hierarchical
inheritance.

29 Write a program to show the use of hybrid inheritance.

30 Write program to show the use of super( ) function.

31 Write a program to create personal module and use that in different two programs to display
personal detail.

32 Write a program to use random module for following methods

∙ Random()
∙ Randrange()
∙ Randint()
∙ Choice()
∙ shuffle()

33 Write a program to use regexp(re) module for following methods with different meta characters.

∙ Findall()
∙ Search()
∙ Compile()
∙ Split()
∙ Sub()

34 Write a program to perform the following operation with files.

∙ Create file to write personal data


∙ Create file to write salary data
∙ Read data of personal file and salary file
∙ Append data to personal file
∙ Copy data of personal and salary file to general_info file
∙ Delete personal and salary file
∙ Close general_info file

You might also like