VELTECHHIGHTECH
Dr. RANGARAJAN Dr. SAKUNTHALA ENGINEERING
COLLEGE
An Autonomous Institution
Approved by AICTE-New Delhi, Affiliated to Anna University, Chennai
Accredited by NBA, New Delhi & Accredited by NAAC with “A” Grade & CGPA
of3 .27
Course 21AI651P Semester VI
code T
Category Open Elective Courses (OEC) L T P C
Course Advanced Python Programming 3 0 0 3
Title
COURSE OBJECTIVES
● To understand the Object-oriented concepts of Python.
● To define Python functions and use function calls to solve problems.
● To process file handling in Python.
● To understand Python libraries for implementing Machine Learning models.
PREREQUISITE
● Basic Knowledge in Python.
COURSE OUTCOMES
Bloo
CO. Course
No. Outcome ms
leve
l
At the end of the course students are able to
C606. Understand the basic principles of the Python programming language. K2
1
C606. Apply the Object- Oriented Programming concepts in Python. K3
2
C606. Create database and GUI applications using Python K2
3
Apply commonly used operations involving file systems and
C606. K3
regular expressions.
4
C606. Apply Machine Learning algorithms. K3
5
MAPPING WITH PROGRAM OUTCOMES
CO No. PO PO PO PO PO PO PO PO PO PO- PO- PO- PSO PS
-1 -2 -3 -4 -5 -6 -7 -8 -9 10 11 12 -1 O-2
C606. 2 2 1 - 2 - - - - - - - 3 3
1
C606. 3 2 1 - 2 - - - - - - - 3 3
2
C606. 2 2 1 - 2 - - - - - - - 3 3
3
C606. 3 2 1 - 2 - - - - - - - 3 3
4
C606. 3 2 1 - 2 - - - - - - - 3 3
5
Note: - 1: Slight 2: Moderate 3: Substantial
UNIT I INTRODUCTION TO PYTHON 9
Use IDLE to develop programs- Basic coding skills - working with data types and variables - working
with numeric data - working with string data - Python functions - Boolean expressions- selection
structure - iteration structure - working with lists - work with a list of lists - work with tuples - work
with dates and times - get started with dictionaries.
UNIT II OOPS CONCEPTS INPYTHON 9
Classes and objects– Classes in Python – Constructor – Data hiding – Creating Classes- Instance
Methods - Special Methods – Class Variables– Inheritance – Polymorphism - Type Identification -
Custom Exception Classes – Iterators - generators and decorators.
UNIT III RELATIONAL DATABASE AND PYTHON 9
SQL statements for data manipulation Using SQLite Manager-Working of database Using Python -
Calling C/C++ from Python c-types, Extension Modules in C/C++-Creating a GUI that handles an
event, working with components.
UNIT IV FILE I/OAND ERROR HANDLING 9
Introduction-Data Streams, Creating Your Own Data Streams - Access Modes - Writing Data to a File
- Reading Data from a File - Additional File Methods - Handling IO Exceptions-Errors - Run Time Errors
- The Exception Model- Exception Hierarchy - Handling Multiple Exceptions - Working with
Directories.
UNIT V MACHINE LEARNING ALGORITHMS
9
Numpy for numerical Data-Pandas for Data Analysis, Matplotlib for Python plotting, Seaborn for
Statical plots – interactive Dynamic visualizations - SciKit for Machine learning, Threads-Creating
and Joining Threads - Object threads.
Total: 45 Periods
LEARNING RESOURCES
TEXT BOOKS
1. Brett Slatkin , “Effective Python: 90 Specific Ways to Write Better Python , 2020.
2. Addison-Wesley Professional, “Effective Python: 90 Specific Ways to Write Better Python, 2nd
Edition, 2019.
3. Michael Urbanand Joel Murach, Python Programming, Shroff/Murach,2016.
REFERENCES
1. John V Guttag, "Introduction to Computation and Programming Using Python: With Applications
to Computational Modeling and Understanding Data”, Third Edition, MIT Press , 2021.
2. G Venkatesh and Madhavan Mukund, “Computational Thinking: A Primer for Programmers and
Data Scientists”, 1st Edition, Notion Press, 2021.
1. https://www.python.org/.