Python Programming
Python Programming
Python Programming
L T P C
3 - 3 4.5
Course Objectives
1 To understand the basics iof python programming .
2 To define Python functions and strings.
3 To use Python data structures - lists, tuples, dictionaries to represent complex data.
4 To perform file operations in Python.
5 To learn & use python libraries.
UNIT 1 - Introduction to Python 9+9
Python interpreter and interactive mode, debugging; values and types: int, float, boolean, string, and list; variables, expressions,
statements, tuple assignment, precedence of operators, comments; Illustrative programs: circulate the values of n variables, distance between two points.
Experiential Learning : Write a Script that prompts the user to input the name ,date of birth and favourite number and calculate the current age of the person.
Industry Application : Case Study : Develop a basic structure for a Grocery store management system by defining attributes like name,price and quantity for products in the store.
Content Beyond Syllabus : Python Global Intrepreter Lock(GIL).
Practicals:
1.Implement a python program to print an Electricity Bill .(for domestic usage.)
2.Implement a Python program to exchange the values of two variables. (using simple statements and expressions )
TOTAL HR 90
Course Outcomes
At the end of the course, the student will be able to
CO1 Develop and execute simple Python programs
CO2 Learn to handle strings and funtions in python.
CO3 Represent compound data using Python lists, tuples, dictionaries
CO4 Read and write data from/to files in Python programs.
CO5 Perform basic operations using python Libraries
TEXT BOOKS
1. Allen B. Downey, “Think Python: How to Think like a Computer Scientist”, 2nd Edition, O’Reilly Publishers, 2016.
2.Karl Beecher, “Computational Thinking: A Beginner's Guide to Problem Solving and Programming”, 1st Edition, BCS
REFERENCES
1. 1.Paul Deitel and Harvey Deitel, “Python for Programmers”, Pearson Education, 1st Edition, 2021
2. G Venkatesh and Madhavan Mukund, “Computational Thinking: A Primer for Programmers and Data Scientists”, 1st Edition, Notion
3. John V Guttag, "Introduction to Computation and Programming Using Python: With Applications to Computational Modeling
4.Eric Matthes, “Python Crash Course, A Hands - on Project Based Introduction to Programming”, 2nd Edition, No Starch Press, 2019.
5.Martin C. Brown, “Python: The Complete Reference”, 4th Edition, Mc-Graw Hill, 2018.
CO/PO, PSO Mapping
(3/2/1 indicates the strength of correlation) 3-Strong 2-Medium, 1-Weak
Programme Outcomes (POs) and Programme Specific Outcomes PSOs'
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
CO1 2 - - - - - - - - - - 2 - - -
CO2 2 - - - - - - - - - - 2 - - -
CO3 2 - 2 2 - - - - - - - 2 3 3 -
CO4 2 3 2 2 - - - - 2 1 1 2 3 3 -
CO5 2 3 2 2 2 1 1 1 2 1 1 2 3 3 1
Avg 2 3 2 2 2 1 1 1 2 1 1 2 3 3 1