| Notes | |
|---|---|
| CS25C02 - Computer Programming: Python | CS25C02 Notes Collection 1 |
| CS25C02 - Computer Programming: Python Book | CS25C02 Notes Collection 2 |
| Question Bank | |
|---|---|
| CS25C02 - Computer Programming: Python | CS25C02 Question Bank Collection 1 |
| CS25C02 Part A (2 marks) Collection | CS25C02 Unit 1 Part A |
| CS25C02 Unit 2 Part A | |
| CS25C02 Unit 3 Part A | |
| CS25C02 Unit 4 Part A | |
| CS25C02 Unit 5 Part A | |
| Previous Year Question paper | |
|---|---|
| CS25C02 - Computer Programming: Python | CS25C02 PYQ Collection 1 |
```
Course Objectives
- To equip engineering students with the foundational knowledge and practical skills in Python programming to analyse and solve computational problems effectively.
- To foster problem-solving, critical thinking, and modular programming skills essential for engineering domains.
Syllabus Content
Introduction to Python
Problem Solving, Problem Analysis Chart, Developing an Algorithm, Flowchart and Pseudocode, Interactive and Script Mode, Indentation, Comments, Error messages, Variables, Reserved Words, Data Types, Arithmetic operators and expressions, Built-in Functions, Importing from Packages.
Control Structures
if, if-else, nested if, multi-way if-elif statements, while loop, for loop, nested loops, pass statements.
Functions
Hiding redundancy, complexity; Parameters, arguments and return values; formal vs actual arguments, named arguments, Recursive & Lambda Functions.
Strings & Collections
String Comparison, Formatting, Slicing, Splitting, Stripping, Lists, tuples, and dictionaries, basic list operators, searching and sorting lists; dictionary literals, adding and removing keys, accessing and replacing values.
File Operations
Create, Open, Read, Write, Append and Close files. Manipulating directories, OS and Sys modules, reading/writing text and numbers, from/to a file; creating and reading a formatted file (csv, tab-separated, etc.).
Packages
Built-in modules, User-Defined modules, Numpy, SciPy, Pandas, Scikit-learn.
Assessment & Weightage
Weightage: Continuous Assessment: 50% | End Semester Examinations: 50%
| Assessment Component | Weightage |
|---|---|
| Quiz | 5% |
| Project | 15% |
| Assignment Programs | 25% |
| Practical | 25% |
| Internal Examinations | 30% |
Course Outcomes, POs & PSOs
| Course Outcome (CO) | Outcome Description | Mapped POs & PSOs |
|---|---|---|
| CO1 | Explain the potential usage of Python in engineering applications. | — |
| CO2 | To apply the concepts of Python in solving engineering problems and formulate new projects. | PO1(2), PO5(2), PSO2(2), PSO3(1) |
| CO3 | To interpret the data and effectively communicate in groups. | PO2(3), PO8(1), PO9(1), PSO3(1), PSO3(2) |
| CO4 | Adapt new programming concepts and technologies in the profession. | PO11(1), PSO2(2) |
References
- Matthes, E. (2019). Python crash course: A hands-on, project-based introduction to programming (2nd ed.). No Starch Press.
- Brown, M. C. (2018). Python: The complete reference (4th ed.). McGraw Hill Publishers.
- Guttag, J. V. (2016). Introduction to computation and programming using Python: With applications to understanding data (2nd ed.). MIT Press.
- McKinney, W. (2017). Python for data analysis: Data wrangling with pandas, NumPy, and IPython. Shroff/O'Reilly.

