Python Programming Lab Lesson Plan
Python Programming Lab Lesson Plan
Course: B.COM(CA)
Date Hour
on on
Hours
which which Initial/
S.No Exercises Plann
topic topic Remarks
ed
cover cover
ed ed
Program to convert the given
1. temperature from Fahrenheit to
2
Celsius and vice versa depending
upon user’s choice.
Program to calculate total marks,
percentage and grade of a student.
Marks obtained in each of the five
subjects are to be input by user.
Assign grades according to the
2.
following criteria: 2
Grade A: Percentage >=80
Grade B: Percentage >=70 and 80
Grade C: Percentage >=60 and <70
Grade D: Percentage >=40 and <60
Grade E: Percentage < 40
Program, to find the area of
3. rectangle, square, circle and triangle
2
by accepting suitable input
parameters from user.
4. Python script that prints prime
2
numbers less than 20
Program to find factorial of the
5.
given number using recursive 2
function.
Program to count the number of
6. 2
even and odd numbers from array
of N numbers.
7. Python class to reverse a string
2
word by word.
8. Given a tuple and a list as input, 2
and count the occurrences of all
items of the list in the tuple. (Input :
tuple = ('a', 'a', 'c', 'b', 'd'), list = ['a',
'b'], Output : 3)
Create a Savings Account class that
behaves just like a BankAccount,
9. but also has an interest rate and a
2
method that increases the balance
by the appropriate amount of
interest (use Inheritance).
Program to construct the following
pattern, using a nested loop
*
**
***
10.
**** 2
*****
****
***
**
*
Read a file content and copy only
11.
the contents at odd lines into a new 2
file.
12.Create a Turtle graphics window
2
with specific size.
13.Program for Towers of Hanoi using
2
recursion.
Create a menu driven with a
14.
dictionary for words and their 2
meanings.
15.Program to implement the
2
Hangman Game.
Teaching Methods: Lecture using Board, LCD, Discussion & Field Visit