PYTHON PROGRAMMING
LTPC
3 0 0 3
COURSE OBJECTIVES:
1. To understand the fundamental syntax, data types, control structures, and development
environments of Python programming.
2. To learn how to manipulate core data collections including strings, lists, tuples, and dictionaries.
3. To develop modular, reusable code using functions, native modules, and regular expressions.
4. To master object-oriented programming (OOP) principles like inheritance, encapsulation, and
polymorphism using Python classes.
5. To explore file handling automation, exception trapping, and fundamental data analysis workflows
using industry-standard libraries.
UNIT-I 9
Introduction to Python: What is Data Science and why Data Science?
Applications and Components of data Science, Why Python for Data Science?
Basics of Algorithm/ Pseudo code, Program, Kinds of Programming Languages, Compilers, and
Interpreters Introduction to Python, Types of IDE Identifiers, Variables, Operators,DataTypes,
conditions.
UNIT-II 9
Introduction to Data Structures using Python:
Strings: Introduction, functions, and operations on Strings, Application Programs on Strings.
List: Introduction, functions and operations on List, Application Programs on Lists
Tuple: Introduction, functions, and operations on Tuple
Dictionaries: Introduction, functions and operations on Dictionaries, Application Programs on
Dictionaries.
Sets: Introduction, functions, and operations on Sets, Applications on Sets, Frozen sets List
Comprehension, Dictionary Comprehension
UNIT-III 9
Functions, Modules and Collections : Functions Defining and Invoking functions, Scope,
Parameter types Recursive functions, Built in Functions such as enumeration, zip, sorted, map,
filter and Applications,Collections,Iterators,Generators,Decorators.
UNIT-IV 9
Working with Databases and Text: File I/O operations: Reading and Writing data from various
formats, Regular Expressions, Identifiers, Quantifiers.
Working with Databases: Databases and Data Science, SQL lite database and Insert, Update,
Delete, Retrieve operations.
UNIT-V 9
Object Oriented Programming using Python : Need for Static, Static members, Static
functions Need for Encapsulation and Abstraction, Private Attributes, Getter, and Setter
Methods– Python Implementation Inheritance: Need for Inheritance, Kinds of Inheritance
polymorphism Abstract methods, Overloading and Overriding statistics for Data Science.
Use Case: Mathematical Computing with NumPy
TOTAL PERIODS:45
Course outcome (Course Skill Set) :
At the end of the course, the student will be able to:
CO1: Develop scripts using primitive language constructs of python.
CO2: Identify the methods to manipulate primitive python data structures.
CO3: Make use of Python standard libraries for programming.
CO4: Build scripts for performing file operations.
CO5: Illustrate the concepts of Object-Oriented Programming as used in Python.
CO – PO MAPPING:
PO1 PO2 PO3 PO4 PO5 PO6
Course Outcomes
(Knowledge) (Analysis) (Design) (Investigation) (Tools) (Learning)
CO1 (Basics) (p. 1) 3 2 1 - 2 2
CO2 (Structures)
3 2 2 - 1 2
(p. 1)
CO3 (Functions) (p.
2 2 3 - 2 3
1)
CO4 (Databases)
3 3 2 2 2 2
(p. 1)
CO5 (OOP
2 2 3 - 1 3
Principles) (p. 1)
CO6 (Data
3 3 2 3 3 3
Analysis) (p. 1)
2.5 2 2.5 2.5 2 2.5
Average
TEXTBOOKS:
1. Reema Thareja, “Problem Solving and Programming with Python”, Oxford University Press,
Second Edition, 2021.
2. Allen B. Downey, “Think Python: How to Think Like a Computer Scientist”, O’Reilly Media,
Second Edition (Shroff Publishers), 2016.
REFERENCE BOOKS:
1. Guido van Rossum and Fred L. Drake Jr, “An Introduction to Python – Revised and Updated for
Python 3.2”, Network Theory Ltd., 2011.
2. John V. Guttag, “Introduction to Computation and Programming Using Python”, With
Application to Understanding Data, MIT Press, Third Edition, 2021..
3. Charles Dierbach, “Introduction to Computer Science using Python: A Computational Problem-
Solving Focus”, Wiley India Edition, 2013..
4. Sheetal Taneja and Naveen Kumar, “Python Programming: A Modular Approach”, Pearson
Education, First Edition, 2018.