B.E./B.
Tech—CSE—R2024—CBCS
SEMESTER II
Category: PC
CS11004 PYTHON PROGRAMMING LABAROTORY L T P J C
0 0 4 0 2
COURSE OBJECTIVES:
To learn the basic programming in Python
To practice various computing strategies to solve real world problems using Python.
To learn problems using Python Functions and Strings
To provide exposure on lists, Tuples and Dictionaries.
To practice the File concepts, Modules and Packages.
COURSE OUTCOMES:
CO1: Develop and execute simple Python programs.
CO2: Implement programs in Python using conditionals and loops for solving problems.
CO3: Deploy functions to decompose a Python program.
CO4: Process compound data structures using lists, Tuples and Dictionaries.
CO5: Utilize Python packages in developing software applications.
CO-PO- MAPPING:
POs
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
COs
CO1 3 3 3 3 2 - - - - - 2 2 3 3 -
CO2 3 3 3 3 2 - - - - - 2 2 3 - -
CO3 3 3 3 3 2 - - - - - 2 - 3 - -
CO4 2 2 - 2 2 - - - - - 1 - 3 - -
CO5 1 2 - - 1 - - - - - 1 - 2 - -
AVG 2 3 3 3 2 - - - - - 2 2 3 3 -
Correlation Levels: 1: Slight (Low) 2: Moderate (Medium) 3: Substantial (High)
List of Experiments:
1. Python programming using simple statements and expressions (exchange the values of
two variables, circulate the values of n variables, distance between two points).
2. Scientific problems using Conditionals and Iterative loops. (Number series, Number
Patterns, pyramid pattern)
3. Implementing real-time/technical applications using Lists, Tuples. (Items present in a
library/Components of a car/ Materials required for construction of a building –
operations of list & tuples)
4. Implementing real-time/technical applications using Dictionaries. (Language,
components of an automobile, Elements of a civil structure, etc.)
5. Implementing programs using Functions. (Factorial, area of shape)
6. Implementing programs using Strings. (Character count, replacing Characters)
7. Implementing programs using written modules and Python Standard Libraries (pandas,
numpy, Matplotlib, scipy)
8. Implementing real-time/technical applications using File handling.
(Copy from one file to another, word count, longest word)
9. Implementing real-time/technical applications using Exception handling. (Divide by zero
error, voter’s age validity, student mark range validation)
10. Exploring Pygame tool.
11. Developing a game activity using Pygame like Bouncing ball.
Lecture:- Periods Tutorial: - Periods Practical: - 60 PeriodsProjects: - Periods
Total:60 Periods
TEXT BOOK:
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 Learning & Development Limited, 2017. 39
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 Press, 2021.
3. John V Guttag, "Introduction to Computation and Programming Using Python: With
Applications to Computational Modeling and Understanding Data”, Third Edition, MIT
Press, 2021.
4. Based Introduction to Programming”, 2nd Edition, No Starch Press, 2019.
5. Martin C. Brown, “Python: The Complete Reference”, 4th Edition, Mc-Graw Hill, 2018.
EVALUATON PATTERN:
Internal Assessment (100 Marks)*
Observation Viva voce and Model End Semester Examination
Record Practical
30 30 40 40
The total internal marks 100 shall be converted into 60 marks and rounded to the nearest integer