PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
COURSE: BCA
SUBJECT NAME: PROGRAMMING IN PYTHON LABORATORY
SUBJECT CODE: UGCA 1917
SEMESTER: 3rd
CREDIT: 4
TOTAL LECTURE COUNT: 44
COURSE INSTRUCTOR: Ms. Sarbjeet Kaur
EMAIL ADDRESS: sarabjeet@[Link]
OVERALL COURSE OBJECTIVES
1. The course is designed to provide Basic knowledge of Python. Python programming is
intended for software engineers, system analysts, program managers and user support personnel
who wish to learn the Python programming language.
2. To acquire programming skills in core Python.
3. To acquire Object Oriented Skills in Python.
Pre-requisites:
Computer Concepts and C Programming, basic knowledge of accessing IDE.
COURSE OUTCOMES
After studying this course, the student will be able to:
Faculty of Computer Science & Engineering Page 1
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
CO1 Solve simple to advanced problems using Python language.
CO2 Develop logic of various programming problems using numerous data types and
control structures of Python.
CO3 Implement different data structures, modules and functions.
CO4 Design and implement the concept of object-oriented programming structures.
CO5 Implement file handling.
LIST OF PRACTICALS:
1 Compute sum, subtraction, multiplication, division and exponent of given variables
input by the user.
2 Compute area of following shapes: circle, rectangle, triangle, square, trapezoid and
Parallelogram
3 Compute volume of following 3D shapes: cube, cylinder, cone and sphere.
4 Compute and print roots of quadratic equation ax2+bx+c=0, where the values of a, b,
and c are input by the user.
5 Print numbers up to N which are not divisible by 3, 6, 9,, e.g., 1, 2, 4, 5, 7,….
6 Write a program to determine whether a triangle is isosceles or not?
7 Print multiplication table of a number input by the user.
8 Compute sum of natural numbers from one to n number.
9 Print Fibonacci series up to n numbers e.g. 0 1 1 2 3 5 8 13…..n
10 Compute factorial of a given number.
11 Count occurrence of a digit 5 in a given integer number input by the user.
12 Print Geometric and Harmonic means of a series input by the user.
Faculty of Computer Science & Engineering Page 2
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
13 Evaluate the following expressions: a. x-x 2 /2!+x3 /3!- x 4 /4!+… xn /n! b. x-x 3
/3!+x5 /5!- x 7 /7!+… xn /n!
14 Print all possible combinations of 4, 5, and 6.
15 Determine prime numbers within a specific range.
16 Count number of persons of age above 60 and below 90.
17 Compute transpose of a matrix
18 Perform following operations on two matrices.
1) Addition
2) Subtraction
3) Multiplication
19 Count occurrence of vowels.
20 Count total number of vowels in a word.
21 Determine whether a string is palindrome or not.
22 Perform following operations on a list of numbers:
1) Insert an element
2) delete an element
3) sort the list
4) delete entire list
23 Display word after Sorting in alphabetical order.
24 Perform sequential search on a list of given numbers.
25 Perform sequential search on ordered list of given numbers.
Faculty of Computer Science & Engineering Page 3
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
26 Maintain practical note book as per their serial numbers in library using Python
dictionary.
27 Perform following operations on dictionary
1) Insert
2) delete
3) change
28 Check whether a number is in a given range using functions.
29 Write a Python function that accepts a string and calculates number of uppercase
letters and lowercase letters available in that string.
30 To find the Max of three numbers using functions.
31 Multiply all the numbers in a list using functions.
32 Solve the Fibonacci sequence using recursion.
33 Get the factorial of a non-negative integer using recursion.
34 Write a program to create a module of factorial in Python.
35 Design a Python class named Rectangle, constructed by a length & width, also design
a method which will compute the area of a rectangle.
36 Design a Python class named Circle constructed by a radius and two methods which
will compute the area and the perimeter of a circle.
37 Design a Python class to reverse a string ‘word by word’.
38 Write a Python program to read an entire text file.
39 Design a Python program to read first n lines of a text file.
Faculty of Computer Science & Engineering Page 4
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
40 Construct a Python program to write and append text to a file and display the text.
PROJECTS:
Faculty of Computer Science & Engineering Page 5
Sr. No. Project Name
1 Lost & Found Management System
Add image upload for items.
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
NLP-based item description matcher (use NLTK).
Tkinter GUI: Item submission & match dashboard.
2 Smart Class Performance Analyzer
Use Matplotlib to show grade distribution.
Predict student improvement using linear regression (scikit-learn).
GUI: Input marks, visualize trends, generate feedback reports.
3 Student Feedback Sentiment Classifier
Use TextBlob or transformers for sentiment scoring.
Dashboard: Top praised faculty, critical feedback list.
GUI for input and sentiment classification.
4 Crimson/Seminar Hall Booking
Add drag-and-drop schedule view (using [Link]).
Auto conflict detection & equipment status display.
5 Event Certificate Generator
Use PIL or fpdf to generate certificates from template.
CSV upload for bulk certificate generation.
GUI to preview and email certificates.
6 QR Attendance Management System
QR code generation (qrcode) and scanning (mock).
Maintain logs and generate weekly attendance sheets.
GUI with QR preview and scan simulation.
7 Student Course Progress Tracker
Enter marks, attendance, project completion.
Show radar chart of skills using matplotlib.
Personalized suggestions via basic rule-based AI.
8 Python-based Resume Analyzer
Students upload resumes.
Extract and classify skills (NLP) using spaCy.
GUI: Skill gap report and job recommendations.
9 PCTE Alumni Network Portal
Alumni registration, batch-wise listing.
Message board and career guidance suggestion.
Faculty of Computer
GUIScience & Engineering
for alumni directory with search. Page 6
10 Smart Complaint Management System
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
EVALUATION CRITERIA:
Internal
PARAMETER Marks (Weightage)
MSE 1 60 18
MSE 2 60 18
Project 20 10 Phase 1: Synopsis (5)
Phase 2: Implementation (5)
Phase 3: Refinement &
Deployment (5)
Final Viva (5)
Attendance 9 9
Lab Tasks 1 & 2 40 5
Total 60
ATTENDANCE CRITERIA:
PERCENTAGE MARKS
95 Above 9
91-95 8
86-90 6
81-85 4
76-80 2
Below 75 0
Faculty of Computer Science & Engineering Page 7
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
Note:
1. There will be NO REMAKE of Mid-Semester Examination. Remake of Mid Semester
Examination will be held only if the genuine Medical leave (hospitalization for minimum 24
hours) duly approved by the Principal.
2. It is compulsory to appear in both MSE-1 and MSE-2.
3. It is compulsory for all the students to have 75% attendance in each subject at the end of the
semester failing which the student will not be allowed to write the final exam.
CLASSROOM POLICIES:
1. Be punctual for the class, try to minimize disturbance if you are late. I may not reject students
who come after 5 minutes from the scheduled time but without attendance.
2. During lecture delivery, if you have any kind of query, just raise your hand. Queries are
important for the understanding of the concepts. So, do ask queries but make sure they are
relevant to the subject.
3. Be disciplined in the classroom and don’t make any noise while we are studying.
STUDENT CONDUCT:
1. Students will be sent class calendar in advance and all parameters like (Tests/Tasks/Project
submission etc) and dates will be strictly followed.
2. Remake of MSE’s will be possible only in case of hospitalization for minimum 24 hours, duly
approved by doctor and medical leave signed by the Class In charge and sanctioned by the
Principal.
3. Students are encouraged to discuss concepts and share ideas, but identical assignments and
copying will not be tolerated. In case any student(s) is/are found copying in any evaluation
parameter, then the student(s) will get Internal Reappear in that subject.
Faculty of Computer Science & Engineering Page 8
PCTE INSTITUTE OF ENGINEERING & TECHNOLOGY
NOTE:
4. You can always refer to STUDENTS RULE BOOK which will be mailed at your class
googlegroup in advance. Feel free to contact your Class In-Charge or me in case of any
queries.
5. please keep track of your attendance & performance on ERP.
6. All official communication will be carried through your class googlegroup. While replying to
any mail, please ensure that you reply only to sender instead of replying at the class
googlegroup.
7. In case of any problem faced by you, please feel free to contact me at sarabjeet@[Link]
Faculty of Computer Science & Engineering Page 9