A.C.
Patil College of Engineering, Kharghar, Navi Mumbai
Department-First Year Engineering
Division -A, B, C, D
List of Experiments to be conducted in final practical Exam
Subject-Python Programming Lab
Exam date -28/4/2025 and 29/4/2025 time 9.30 onwards
Expt no Experiment name
1 Aim-Using function, write a Python program to analyze the input number is prime or not.
2 Aim-Implement a simple Python calculator that takes user input and performs basic
arithmetic operations (addition, subtraction, multiplication, division) using functions.
3 Aim-Develop a Python program that reads a text file and prints words of specified lengths
(e.g., three, four, five, etc.) found within the file.
4 Aim-Design a Python program to compute the factorial of a given integer N.
5 Aim-Write a Python program that takes two numbers as input and performs division.
Implement exception handling to manage division by zero and invalid input errors
gracefully.
6 Aim-Demonstrate the use of a Python debugger (e.g., pdb or an IDE with debugging
capabilities) on a sample program with intentional errors.
7 Aim- Write a Python script that prompts the user to enter their phone number and email
ID. It then employs Regular Expressions to verify if these inputs adhere to standard phone
number and email address formats
8 Aim- Create a program that reads a text file containing various data (e.g., names, emails,
phone numbers). Use regular expressions to extract specific types of data, such as email
addresses, phone numbers, dates (e.g., MM/DD/YYYY format).
9 Aim-Write a Python program to create a 1D, 2D, and 3D NumPy array. Perform basic
operations like reshaping, slicing, and indexing.
10 Aim-Write a Python program to create a 3D NumPy array. Perform basic operations like
reshaping, slicing, and indexing.
11 Aim-Develop a Python script to create two arrays of the same shape and perform element-
wise addition, subtraction, multiplication, and division.
12 Aim-Develop a Python script to create two arrays of the same shape and perform element-
wise operation and Calculate the dot product and cross product of two vectors.
13. Aim-Write a Python program to calculate mean, median, standard deviation of a given
array.
Prof.P.T.Yewale
Dr.M.S.Selokar Dr.M.S.Selokar
Practical Teacher Head of Dept.