0% found this document useful (0 votes)
18 views6 pages

Lesson Plan - CSE (AI&ML) - B Section

This lesson plan outlines a 7-week Python programming lab covering topics like data types, loops, functions, OOP concepts, files, and more. The plan lists learning outcomes for each topic and includes example programs to apply concepts. It provides details on the topic, learning mode, hours, and scheduled date for each week. The goal is for students to understand and apply Python concepts through hands-on coding exercises over the 7-week period.

Uploaded by

swapna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views6 pages

Lesson Plan - CSE (AI&ML) - B Section

This lesson plan outlines a 7-week Python programming lab covering topics like data types, loops, functions, OOP concepts, files, and more. The plan lists learning outcomes for each topic and includes example programs to apply concepts. It provides details on the topic, learning mode, hours, and scheduled date for each week. The goal is for students to understand and apply Python concepts through hands-on coding exercises over the 7-week period.

Uploaded by

swapna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Lesson Plan

Subject Name : PYTHON PROGRAMMING LAB Year &Semester : I-II Branch : CSE(AI&ML) Section : B
Name of the Faculty : Mr. J. Ranjith Academic Year: 2023-2024

Teaching
Mode Total No. of Date
Week
Topic of Syllabus to be covered Learning Outcomes (BB/PPT/ Hours (As per
No. Video) (Cumulative) Timetable )

WEEK 1
Introduction Understand how install and BB 3 16/02/24
I
run the python interpreter
i) Use a web browser to go to the Python website Understand how install and BB 3 16/02/24
run the python interpreter
http://python.org. This page contains information about
I
Python and links to Python-relatedpages, and it gives you
the ability to search the Python documentation.
ii) Start the Python interpreter and type help() to start the Understand help ()uses BB 3 16/02/24

I online help
utility
2. Start a Python interpreter and use it as a Calculator. Apply the application specific BB 3 16/02/24
I
codes using python
3. i) Write a program to calculate compound interest when Apply the application specific BB 3 23/02/24
I codes using python
principal, rate and number of periods are given
ii) Given coordinates (x1, y1), (x2, y2) find the distance Apply the application specific BB 3 23/02/24
I codes using python
between two points
4. Read name, address, email and phone number of a person Understand datatypes BB 3 23/02/24
I
through keyboard and print the details.
II WEEK 2 23/02/24
1. Print the below triangle using for loop. Understand loops concepts BB 3 23/02/24
5
44
II
333
2222
11111
2. Write a program to check whether the given input is digit Understand control structutes BB 3 23/02/24

II or lowercase uppercase or a special character (use if –else-


ifladder)
3. Python Program to Print the Fibonacci sequence using Understand loops concepts BB 3 01/03/24
II
while loop
4. Python program to print all prime numbers in a given Understand control structutes BB 3 01/03/24
II
interval (use break)
III WEEK 3 01/03/24

i) Write a program to convert a list and tuple into arrays. Understand list and tuple in BB 3 01/03/24
I
python
ii) Write a program to find common values between two Understand array concept BB 3 01/03/24
II
arrays
II 2. Write a function called gcd that takes parameters a and b Apply the python codes 3 01/03/24
and returns their greatest common divisor
3. Write a function called palindrome that takes a string Understand function BB 3 8/03/24
argument andreturns True if it is a palindrome and False
III
otherwise. Remember that you can use the built-in function
len to check the length of a string.
WEEK4
1. Write a function called is_sorted that takes a list as a Understand sorting concept BB 3 8/03/24
and code in python
IV parameter andreturns True if the list is sorted in ascending
order and False otherwise.
2. Write a function called has_duplicates that takes a list and Understand function BB 3 8/03/24

IV returns True ifthere is any element that appears more than


once. It should not modify theoriginal list.
i). Write a function called remove_duplicates that takes a list Understand function BB 3 8/03/24

IV and returns anew list with only the unique elements from the
original. Hint: they don’thave to be in the same order.
ii). The wordlist I provided, words.txt, doesn’t contain single Evaluate the programs using BB 3 8/03/24
modular approach files i/o
IV letter words.So you might want to add “I”, “a”, and the
empty string.
iii). Write a python code to read dictionary values from the Understand dictionaries in BB 3 15/03/24
python
IV user. Construct afunction to invert its content. i.e., keys
should be values and values shouldbe keys.
IV 3.i) Add a comma between the characters. If the given Create file concept code BB 3 15/03/24
word is”Apple”;, itshould become “A,p,p,l,e;
IV ii) Remove the given word in all the places in a string? Understand string concept BB 3 15/03/24
iii) Write a function that takes a sentence as an input Understand functions concept BB 3 15/03/24
parameter and replaces
the first letter of every word with the corresponding upper
IV
case letter and therest of the letters in the word by
corresponding letters in lower case withoutusing a built-in
function?
4. Writes a recursive function that generates all binary Understand functions concept BB 3 22/03/24
IV
strings of n-bit length.
V WEEK5 22/03/24

i) Write a python program that defines a matrix and print Apply and develop the matrix BB 3 22/03/24
V
code
ii) Write a python program to perform addition of two Apply and develop the matrix BB 3 22/03/24
V code
square matrices
iii) Write a python program to perform multiplication of two Apply and develop the matrix BB 3 22/03/24
V code
square matrices
2. How do you make a module? Give an example of Understand module BB 3 22/03/24

V construction of A module using different geometrical shapes


and operations on them as its functions.
3. Use the structure of exception handling all Understand file handling BB 3 22/03/24
V concepts
general purpose exceptions
VI WEEK6 BB 3
1. a. Write a function called draw_rectangle that Understand canvas concept BB 3 19/04/24
takes a Canvas and a Rectangle as arguments and
VI
draws representation of the Rectangle on
theCanvas.
b. Add an attribute named color to your Rectangle Understand canvas concept BB 3 19/04/24

VI objects and modify draw_rectangle so that it uses


tcolor attribute as the fill color.
c. Write a function called draw_point that takes a Understand function concept BB 3 19/04/24

VI Canvas and a Point as arguments and draws a


representation of the Point on the Canvas.
d. Define a new class called Circle with appropriate Apply the souce code inpython BB 3 19/04/24
attributes and instantiatea few Circle objects. Write
VI
a function called draw_circle that draws circles
on the canvas.
2. Write a Python program to demonstrate the usage Understand Inheritances BB 3 10/05/24
concept
VI of Method ResolutioOrder (MRO) in
multiplelevelsofInheritances.
3. Write a python code to read a phone number and Understand modules concept BB 3 10/05/24
VI
email-id from the user and validate it focorrectness.
VII WEEK7
VII 1. Write a Python code to merge two given file contents into Understand files concept BB 3 07/06/24
a third file.
2. Write a Python code to open a given file and construct a Understand files concept BB 3 07/06/24
VII function tocheck for given words present in it and display on
found
3. Write a Python code to Read text from a text file, find the Understand files concept BB 3 07/06/24
VII
word withmost number of occurrences
4. Write a function that reads a file file1 and displays the Understand files concept BB 3 07/06/24
VII number ofwords, number of vowels, blank spaces, lower
case letters anduppercase letters
VII WEEK8
1. Import numpy, Plotpy and Scipy and explore their Apply to develop install BB 3 14/06/24
VIII standard librarys
functionalities
3 Write a program to implement Digital Logic Gates – AND, Understand Digital system BB 3 21/06/24
VIII
OR, NOT,EX-OR
4. Write a program to implement Half Adder, Full Adder, Understand Digital system BB 3 21/06/24
VIII
and Parallel Adder
5. Write a GUI program to create a window wizard having Apply Gui Applications BB 3 21/06/24
VIII two text labels,two text fields and two buttons as Submit and
Reset

Subject Teacher: Mr. J. Ranjith HOD


Date: Date:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy