R - 2023 KIT - Kalaignarkarunanidhi Institute of Technology
B23ADI201 – PYHTON PROGRAMMING L T P C
B.E / [Link]
(Common to AI&DS, CSE, CSE(AI&ML)) 2 0 4 4
(Lab Integrated)
Course Objectives
1. To create simple python and object oriented programs using data types and control statements
2. To develop a python programs using Strings and functions
3. To use Python data structures such as lists, tuples, and Dictionaries
4. To define python modules and packages
5. To develop an applications using Numerical Python
UNIT - I OVERVIEW OF OOPS CONCEPTS AND PYTHON BASICS 6
Object oriented programming overview - Python programming: Introduction – data types- Operators –
Values and types – Variables – expressions – Statements – Functions - conditionals and Recursion –
Iteration.
UNIT - II STRINGS & FUNCTIONS 6
Accessing characters and substrings in strings - Data Encryption - Strings and Number System – String
methods. Functions: Defining a function, calling a function, Types of functions, Function Arguments,
Anonymous functions, Global and local variables.
UNIT - III LISTS, TUPLES & DICTIONARIES 6
Lists: Introduction, Accessing list, Operations, Working with lists, Function and Methods Tuple:
Introduction, Accessing tuples, Operations, Working, Functions and Methods. Dictionaries:
MODULES & PACKAGES
UNIT - IV 6
Modules: Importing module, Math module, Random module. Python packages: Simple programs using
the built-in functions of packages packages matplotlib, Numpy, pandas.
UNIT - V DATA MANIPULATION WITH PYTHON 6
Jupyter and Colab Notebook System- Python Demonstration: Reading and Writing CSV files- Advanced
Python Lambda and List Comprehensions- Numerical Python Library (NumPy) - NumPy array creation-
reading arrays from disk- I/O with NumPy.
Approved By BoS Chairman
R - 2023 KIT - Kalaignarkarunanidhi Institute of Technology
List of Experiments:
Expt. No. Description of the Experiments
1. Write a program to demonstrate different basic data types in python.
2. Create a menu driven program for reading the input from console and
to perform different arithmetic operations on numbers in python..
3. Write a Programs using Decision statements and looping statements.
4. Write a Python program to demonstrate various built-in string handling
function
5. Construct a Python program to implement various string operations
Without using built-in function
6. Create Python Programs using user-defined functions with different types of function
arguments.
a) Create a simple calculator that can add, subtract, multiply and divide using functions.
b) Implement the above concept by using pass by value and pass by reference.
7. a) Implement linear search and binary search using list.
b) Matrix operations using Nested List.
8. Create a tuple and perform the following methods
1) Add items 2) len() 3) check for item in tuple 4)Access items
9. Create a dictionary and apply the following methods
1) Print the dictionary items 2) access items 3) use get() 4)change values 5) use len()
Write a python program to create a package (college), sub - package (all dept), modules
10.
(AI&DS, CSE) and create admin and cabin function to module.
Simulate bouncing ball using Pygame and elliptical orbits in Pygame
11.
Write a Python program to perform read and write operations in a file, and find the
12. occurrence of a given word in the text file using Jupyter / Lamda notebook
Write a Python program to perform various array operations using Jupyter or Lamda note
13. Book
Write a Python program sorting numbers and strings using Jupyter perform various array
13.
operations using Jupyter or Lamda note Book
14. Write a Python program for sorting numbers and Strings using Jupiter or Lamda notebook
Total Instructional hours : (30+30)=60
Approved By BoS Chairman
R2023------------------------------------------KIT-Kalaignarkarunanidhi Institute of Technology
Course Outcomes : Students will be able to
CO1 Make use of basic elements of Python programming to develop an application
CO2 Experiment with the various Strings and functions in Python
CO3 Develop Python programs to implement the operations in Lists, Tuples & Dictionaries..
CO4 Construct a simple application by using modules and packages.
CO5 Build an application using Jupyter or Colab notebook in Python
Text Books
1. Allen B. Downey, “Think Python: How to Think Like a Computer Scientist”, 2nd edition, O Reilly
Publishers, 2016.
2. Reema Thareja, “Python Programming using Problem Solving Approach”, 4th Impression ,
Oxford University Press, 2019.
Reference Books
1. John V Guttag, “Introduction to Computation and Programming Using Python”, 3rd illustrated
edition, MIT Press, 2021.
2. Guido Van Rossum and Fred L. Drake Jr, “An Introduction to Python”, Network Theory Ltd.,
2011.
3. Robert Sedgewick, Kevin Wayne and Robert Dondero, “Introduction to Programming in Python:
An Inter-disciplinary Approach”, Pearson India Education Services Pvt. Ltd, 2015.
List of Equipment Required:
Quantity required
[Link]. Description of the Equipment
(Nos.)
1 Python 3 interpreter for Windows/Linux 30
Approved by BoS Chairman