Sinhgad Technical Education Society’s
Sinhgad Institute of Management
S. No. 44/1, Off Sinhgad Road, Vadgaon (Bk), Pune – 411 041
Practical Journal On
Python Programming
A.Y. 2025-26
Class: MCA – I Semester- I
Index
Sr. No. Programs
1 Write a code in python to count number of vowels in given string
Steps:
a. Accept string from user in variable named STR1.
b. Count the number of vowels in STR1 and print.
Eg. 1.STR1 = 'COCONUT' => 3
2.STR1 = 'CONFIDence' => 4
2 Write a program, which will find all such numbers between 2000 and 3000 (both
included) such that each digit of the number is an even number.
eg. 2000, 2002...2888.
3 Demonstrate the following functions/methods which operates on dictionary in
Python with suitable examples: i) dict( ) ii) get( ) iii) pop( ) iv) popitem( ) v)
items( )
4 Write a Python function that takes a list and returns a new list with unique elements
of the first list.
Sample List : [1, 2, 3, 3, 3, 3, 4, 5] Unique List : [1, 2, 3, 4, 5]
5 Write the python program to create new even_number list from number list using
List Comprehension. (Assume number list range from 1-11)
6 Write a Python program to make a chain of function decorators (bold, italic,
underline etc.) in Python.
7 Write a Python program to generate a random alphabetical character, alphabetical
string and alphabetical string of a fixed length.
Use [Link]()
8 Write a generator function to print the table of the given number.
9 Write a python program to create University package which contains result
modules. Also create sub-package College which contains exam module.
Create test module and add getdata() and display() and access University and
College package in it.
Note: Assume suitable data.
10 Write a python program to accept age from user, raise user defined exception if age
is below 18 years.
11 Create a Bus child class that inherits from the Vehicle class. The default fare charge
of any vehicle is seating capacity * 100. If Vehicle is Bus instance, we need to add
an extra 10% on full fare as a maintenance charge. So total fare for bus instance
will become the final amount = total fare + 10% of the total fare.
12 Write a python program to validate the password by using regular expression.
a) Complexity requirement is that we need at least one capital letter, one number
and one special character.
b) We also need the length of the password to be between 8 and 18.
13 Write a python program to validate the URL by using regular expression.
14 Write a python program to validate an email address by using regular expression.
15 Write a Python multithreading program which creates two threads, one for
calculating the square of a given number and other for calculating the cube of a
given number.
16 Create a child class Bus that will inherit all of the variables and methods of the
Vehicle class.
17 Create a Bus class that inherits from the Vehicle class. Give the capacity argument
of Bus.seating_capacity() a default value of 50.
18 Write a Python multithreading program to print the thread name and corresponding
process for each task (assume that there are four tasks).
19 Write a Menu Driver Program to add, display, update, delete and exit in a student
database containing Student_id, Student_name, Course through Python-MongoDB
connectivity.
20 Write a Menu Driver Program to add, display, search, sort and exit in book database
containing - Book_id, Book_name, Book_author through Python-MongoDB
connectivity.
21 Online Blog Platform
Question:
Develop a multi-user blog platform where users can register, create, edit, and delete
blog posts. Implement a comment system, search by categories/tags, and user
authentication. Ensure admins can approve or delete posts.
Tasks:
Implement user authentication and CRUD for blog posts.
Add a comment system and search functionality.
Restrict post management to the author and admin.
22 E-Commerce Platform
Question:
Build an e-commerce site where users can browse products, add items to a cart,
and place orders. Admins can manage products, and payment integration is
required for checkout.
Tasks:
Create product, cart, and order models.
Implement shopping cart and checkout with payment gateway.
Admin panel for managing products.
23 Learning Management System (LMS)
Question:
Create an LMS where instructors can create courses and quizzes and Students can
enroll, give quizzes and track progress.
Tasks:
Implement course creation and quiz management (restrict to instructors).
Build student enrolment and progress tracking features.
Restrict course management to instructors.
24 Social Media Platform
Question:
Create a social media platform where users can post updates, follow others, and
like or comment on posts. Implement an activity feed.
Tasks:
Develop post creation, follow system, and activity feed.
Implement like and comment features.
25 Online Polling/Voting System
Question:
Create an online polling system where users can create polls, vote, and see real-
time results.
Tasks:
Develop poll creation and voting functionality.
Implement real-time updates for poll results.
Restrict users to one vote per poll.
26 Job Portal
Question:
Develop a job portal where companies can post jobs, and candidates can apply.
Include search and filters for job listings.
Tasks:
Create job and application models.
Implement job posting for companies and applications for candidates.
Add search and filter functionality
27 Event Management System
Question:
Build an event management system where users can create events, RSVP, and
receive email notifications for updates.
Tasks:
Implement event creation and RSVP functionality.
Add email notifications for event updates.