Course Category : Skill Enhancement Course
Course Name : Programming Ability and Logic Building - 1
Course Code : 25CSES401
L-T-P : 4-0-0
Semester : 4th
Batch :
Python Programming
Prerequisite:
Students should have basic programming knowledge.
They should possess logical thinking and problem-solving skills.
Prior experience with any procedural language like C or C++ is preferred.
Familiarity with computer fundamentals such as memory, files, and software execution
is helpful.
Course Outcomes:
At the end of the course, students will be able to:
CO No. Course Outcome (CO)
CO1 Understand Python fundamentals, data types, variables, operators, input/output,
and conditional statements
CO2 Apply Python data structures, iterators, generators, loops, and comprehensions
for problem-solving
CO3 Develop modular Python programs using functions, lambda expressions,
modules, file handling, and regular expressions
CO4 Implement OOP concepts including classes, objects, inheritance, constructors,
polymorphism, and exception handling
CO5 Perform scientific computing and data analysis using NumPy, Pandas,
Matplotlib, and Scikit-Learn
Unit CO No. of
Topics
No No. Lecture
Introduction to Python: Introduction to Python, Unique features of
Python, Python versions, Installation of Python and environment
setup, Writing and executing the first Python program.
Python Basics: Python identifiers, keywords, indentation rules,
Python data types, Variables and dynamic typing, Type conversion
1 and type checking. 1 12
Operators and Input: Operators in Python (Arithmetic, Assignment,
Logical, Relational, Bitwise), Taking user input from console.
Conditional Statements: if statement, if-else statement, Nested if-
else, elif ladder.
Python Data Structures: List, Tuple, Set, Dictionary and their
operations, Mutability vs immutability.
Iterators and Generators: Understanding iterators, Generators and
generator expressions.
2 2 12
Comprehensions: List, set and dictionary comprehensions.
Loops: for loop, while loop, nested loops, break and continue.
String Manipulation: Basic string operations, String slicing, String
functions and methods.
Functions: User-defined functions, Function arguments (positional,
keyword, default, variable-length), Return values, Lambda
functions.
Modules: Importing modules, Math module, Random module, sys
module.
File Handling: Reading text files, Writing text files, Appending data
3 3 12
to files.
Binary Files: Writing binary files manually, Using pickle to write
and read binary files.
Regular Expressions: match() function, search() function, Matching
vs searching, Search and replace, Extended regular expressions,
Wildcards.
Object-Oriented Programming: Basics of OOP, Creating classes and
objects.
Constructors: Parameterized and non-parameterized constructors.
4 Inheritance: Single inheritance, Multi-level inheritance, Multiple 4 12
inheritance.
Advanced OOP Concepts: Built-in class methods and attributes,
Method overriding, Data abstraction, Encapsulation, Polymorphism.
Exception Handling: Built-in exceptions, try-except-finally blocks,
Raising and handling custom exceptions.
NumPy: Introduction to NumPy, Creating arrays, Arrays and
scalars, Indexing and slicing, Array transposition, Universal array
functions, Array processing, Array input and output.
Pandas: Introduction to Pandas, Uses of Pandas, Series, DataFrames,
Index objects, Reindexing, Dropping entries, Selecting entries, Data
5 alignment, Ranking and sorting, Summary statistics, Handling 5 12
missing data, Index hierarchy.
Matplotlib: Introduction to Matplotlib, Data visualization
techniques, Plotting graphs for analysis.
Scikit-Learn: Introduction to Scikit-Learn, Predictive analysis,
Supervised vs Unsupervised learning overview.