CS25C02 Computer Programming – Python is a lab-integrated theory subject in semesters 1, 2 of Anna University R2025 B.E./B.Tech. for several branches. The full unit-wise syllabus is below.
| Subject code | CS25C02 |
|---|---|
| Subject name | Computer Programming – Python |
| Regulation | Anna University R2025 |
| Semester | 1, 2 |
| Branches | Semester 1: Aeronautical Engineering, Aerospace Engineering, Agricultural Engineering, Automobile Engineering, Biotechnology, Chemical Engineering, Chemical and Electrochemical Engineering, Civil Engineering, Civil Engineering (Environmental Engineering), Electronics and Instrumentation Engineering, Environmental Engineering, Environmental Science and Technology, Fashion Technology, Food Technology, Geoinformatics, Handloom and Textile Technology, Industrial Engineering and Management, Instrumentation and Control Engineering, Manufacturing Engineering, Marine Engineering, Mechanical Engineering, Mechanical Engineering (Automobile), Mechanical Engineering (Smart Manufacturing), Mechanical and Automation Engineering, Mechatronics Engineering, Petrochemical Engineering, Petroleum Engineering, Pharmaceutical Technology, Plastics Technology, Robotics and Artificial Intelligence, Robotics and Automation, Textile Chemistry, Textile Technology; Semester 2: Electrical and Computer Engineering |
| Category | Engineering Sciences / Professional Core |
| Course type | Lab-integrated theory |
| Credits (L-T-P-C) | 2-0-2-3 |
| Semester scheme | Aero sem 1 · Aerospace sem 1 · Agri sem 1 · Auto sem 1 · BioTech sem 1 · Che Eleche sem 1 · Chem Engg sem 1 · Civil sem 1 · Civil (Env) sem 1 · EIE sem 1 · Env sem 1 · Env Science sem 1 · Food Tech sem 1 · FT sem 1 · Geo sem 1 · HT sem 1 · ICE sem 1 · IEM sem 1 · Manuf sem 1 · Marine sem 1 · ME & Automation sem 1 · ME (Smart Mfg) sem 1 · Mech sem 1 · Mech & Auto sem 1 · Mechatronics sem 1 · PCE sem 1 · PE sem 1 · Pharma sem 1 · Plastics sem 1 · Robotics sem 1 · Robotics & AI sem 1 · TC sem 1 · TT sem 1 · Electrical & Computer sem 2 |
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.
Unit I: 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.
Practical:
Problem Analysis Chart, Flowchart and Pseudocode Practices. (Minimum three)
Study CS25C02 Computer Programming - Python on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)
Unit II: Control Structures
if, if-else, nested if, multi-way if-elif statements, while loop, for loop, nested loops, pass statements.
Practical:
Usage of conditional logics in programs. (Minimum three)
Unit III: Functions
Hiding redundancy, complexity; Parameters, arguments and return values; formal vs actual arguments, named arguments, Recursive & Lambda Functions.
Practical:
Usage of functions in programs. (Minimum three)
Unit IV: 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.
Practical:
String manipulations and operations on lists, tuples, sets, and dictionaries. (Minimum three)
Unit V: 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.).
Practical:
Opening, closing, reading and writing in formatted file format and sort data. (Minimum three)
Unit VI: Packages
Built-in modules, User-Defined modules, Numpy, SciPy, Pandas, Scikit-learn.
Practical:
Usage of modules and packages to solve problems. (Minimum three), Project (Minimum Two)
Reference Books
- 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.
E-Resources
- Official Python Documentation – https://docs.python.org/3/
- Python Tutorials – https://www.w3schools.com/python/
- NumPy – https://numpy.org/doc/
- SciPy – https://scipy.org/
- Google’s Python class – https://developers.google.com/edu/python/
Course Outcomes
- Explain the potential usage of Python in engineering applications —
- To apply the concepts of Python in solving engineering problems and formulate new projects.
- To interpret the data and effectively communicate in groups.
- Adapt new programming concepts and technologies in the profession.
Study CS25C02 Computer Programming - Python on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)