CS V004 Programming with Python PTPC2020
Course Objectives:
At the end of the course the students will understand
Data types and control structures.
Procedural programming features of python.
File handling power of python.
Object oriented programming in python.
Course Outcomes:
At the end of the course the students will be able to
Manipulate various types of data in python.
Apply procedure oriented features of python.
Develop applications for manipulating files.
Apply Object oriented programming features of python.
Course Content:
UNIT I 15 Periods
Data and Expressions- Literals, Variables and Identifiers, Operators, Expressions and Data Types.
Control Structures - What Is a Control Structure? Boolean Expressions (Conditions), Selection Control,
Iterative Control.
UNIT II 15 Periods
Lists - List Structures, Lists (Sequences) in Python, Iterating Over Lists (Sequences) in Python, More on
Python Lists.
Functions- Program Routines, More on Functions.
Objects and Their Use - Software Objects, Turtle Graphics.
UNIT III 15 Periods
Modular Design – Modules, Python Modules.
Text Files - What Is a Text File? Using Text Files, String Processing, Exception Handling.
Dictionaries and Sets - Dictionary Type in Python, Set Data Type.
UNIT IV 15 Periods
Object-Oriented Programming - What Is Object-Oriented Programming? Encapsulation, Inheritance,
Polymorphism.
Recursion - Recursive Functions, Recursive Problem Solving, Iteration vs. Recursion.
Learning Resources:
Text Book:
1. Introduction to Computer Science Using Python: A Computational Problem-Solving Focus by
Charles Dierbach, Wiley.
Reference Books:
1. Beginning python from novice to professional by Magnus Lie Hedland, 2nd Edition, Apress
2. Programming in Python – A complete introduction to the Python Language by Mark
Summerfield, Pearson,
3. Learning Python by Mark Lutz, 5th Edition, O’Reilly
4. Programming Python by Mark Lutz, 4th Edition, O’Reilly