Practical PDFs

All practicals are now listed in a single table format.

Need Code With Explanation?

Open the Practical Code Lab to view simple code, syntax, explanation, and output for all 20 practicals.

Open Practical Code Lab
Sr. No Practical Description View Notes Download
- Front Page: Cover sheet for the practical journal. View Download
- Index Page: Index template for listing all practicals. View Download
1 Write a Python code to generate a personalized greeting. View Download
2 Write a Python program to calculate areas of geometric figures like circle, rectangle, and triangle. View Download
3 Write a Python program to calculate gross salary using BS, DA (70%), TA (30%), and HRA (10%). View Download
4 Write a Python program to perform basic arithmetic operations (addition, subtraction, multiplication, division, modulus). View Download
5 Develop a Python program to manage a task list using lists and tuples (add, remove, update, sort). View Download
6 Create a Python program to demonstrate set operations (union, intersection, difference) for student enrollments. View Download
7 Write a Python program to create and manipulate a dictionary of student records (grades, attendance). View Download
8 Develop a Python program to check whether a number is even or odd using conditions and loops. View Download
9 Design a Python program to compute the factorial of a given number N. View Download
10 Write a Python program using a function to check whether a number is prime or not. View Download
11 Implement a Python calculator using functions for basic arithmetic operations. View Download
12 Develop a Python program to read a file and print words of specified lengths. View Download
13 Create an executable file for any previously developed program. View Download
14 Write a Python program to perform division with exception handling (division by zero, invalid input). View Download
15 Demonstrate Python debugging using tools like pdb (breakpoints, step execution, variable inspection). View Download
16 Write a Python program to validate phone number and email using Regular Expressions. View Download
17 Create a program to extract data (names, emails, phone numbers) from a file using Regular Expressions. View Download
18 Write a Python program to create 1D, 2D, 3D NumPy arrays and perform operations (reshaping, slicing, indexing). View Download
19 Develop a Python program for array operations (addition, subtraction, multiplication, division, dot product, cross product). View Download
20 Write a Python program to calculate mean, median, standard deviation, variance, and correlation coefficient. View Download