Computer Programming: Python - CS25C02 - Question Papers PDF Download

[ 1st Semester - MECH,CIVIL,AGRI Departments ]

Under Class: | 1st Semester [Mechanical Dept Anna University 2025 Regulation] | | 1st Semester [Civil Dept Anna University 2025 Regulation] | | 1st Semester [Agricultural Dept Anna University 2025 Regulation] |

Engineering - Computer Programming: Python - CS25C02 Subject (under Anna University 1st Semester - Engineering Regulation 2025) - Study Materials, Written and lecture Notes, Important Questions, Semester Question Paper PDF Download

Question Papers - Computer Programming: Python - CS25C02
Semester Exam Question Paper - 2025 Nov Dec


Computer Science [12th Std] - Please Refer for easy learning



UNIT I: Problem Solving Techniques:


Chapter 1: Function:


• Function: Introduction
• Function with respect to Programming language
• Interface Vs Implementation
• Pure functions
• Points to remember - Problem Solving Techniques : Function
• Function: Book Back Questions and Answers

Chapter 2: Data Abstraction:


• Data Abstraction - Introduction
• Abstract Data Types
• constructors and selectors
• Representation of Abstract datatype using Rational numbers
• Lists, Tuples
• Data Abstraction in Structure
• Data Abstraction : Points to remember
• Data Abstraction: Book Back Questions and Answers

Chapter 3: Scoping:


• Scoping
• Variable Scope
• LEGB rule
• Types of Variable Scope
• Module
• Scoping: Points to remember
• Scoping: Book Back Questions and Answers

Chapter 4: Algorithmic Strategies:


• Introduction to Algorithmic strategies
• Complexity of an Algorithm
• Efficiency of an algorithm
• Algorithm for Searching Techniques
• Sorting Techniques
• Dynamic programming
• Algorithmic Strategies: Points to remember
• Algorithmic Strategies: Book Back Questions and Answers

UNIT II: Core Python:


Chapter 5: Python Variables and Operators:


• Python Introduction
• Key features of Python
• Programming in Python
• Input and Output Functions
• Comments in Python
• Indentation
• Tokens
• Python Data types
• Python Variables and Operators: Points to remember
• Python Variables and Operators: Book Back Questions and Answers

Chapter 6: Control Structures:


• Introduction of Python Control Structures
• Python Control Structures
• Python Control Structures: Points to remember
• Python Control Structures: Book Back Questions and Answers

Chapter 7: Python Functions:


• Python Functions
• Types of Python Functions
• Defining Functions in Python
• Calling a Function
• Passing Parameters in Functions
• Function Arguments
• Anonymous Functions
• The return Statement
• Scope of Variables
• Functions using libraries
• Python recursive functions
• Python Functions: Points to remember
• Python Functions: Book Back Questions and Answers

Chapter 8: Strings and String Manipulation:


• Strings and String Manipulation - Introduction
• Creating Strings
• Accessing characters in a String
• Modifying and Deleting Strings
• String Operators
• String Formatting Operators
• Formatting characters
• The format( ) function
• Built-in String functions
• Membership Operators
• Programs using Strings
• Python Strings and String Manipulation: Points to remember
• Python Strings and String Manipulation: Book Back Questions and Answers

UNIT III: Python Modularity and OOPS:


Chapter 9: Lists, Tuples, Sets And Dictionary:


• Introduction to List
• Python Programs using List
• Introduction to Tuples
• Programs using Tuples
• Dictionaries
• Python Lists, Tuples, Sets And Dictionary: Points to remember
• Python Lists, Tuples, Sets And Dictionary : Book Back Questions and Answers

Chapter 10: Python Classes and Objects:


• Python Classes and Objects
• Defining classes
• Creating Objects
• Accessing Class Members
• Class Methods
• Constructor and Destructor in Python
• Public and Private Data Members
• Sample Python Programs to illustrate classes and objects
• Points to remember
• Python Classes and Objects: Book Back Questions and Answers







CS25C02


 

CS25C02 : Computer Programming : Python

 

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.

 

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)

 

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)

 

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)

 

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)

 

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)

 

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)

 

Weightage: Continuous Assessment: 50%, End Semester Examinations: 50%

Methodology for Continuous Assessment: Quiz (5%), Project (15%), Assignment Programs (25%), Practical (25%), Internal Examinations (30%)

 

 

References:

1.Matthes, E. (2019). Python crash course: A hands-on, project-based introduction to programming . No Starch Press.

2.Brown, M. C. (2018). Python: The complete reference. McGraw Hill Publishers.

3.Guttag, J. V. (2016). Introduction to computation and programming using Python: With applications to understanding data. MIT Press.

4.McKinney, W. (2017). Python for data analysis: Data wrangling with pandas, NumPy, and IPython. Shroff/O'Reilly.

 

E-Resources:

1. Official Python Documentation – https://docs.python.org/3/

2. Python Tutorials – https://www.w3schools.com/python/

3. NumPy – https://numpy.org/doc/

4. SciPy – https://scipy.org/

5. Google’s Python class – https://developers.google.com/edu/python/