UNIT 1:
Overview of Python and its applications in engineering
UNIT 2:
. Illustrative programs: square root, gcd, exponentiation, sum an array of numbers, linear search, binary search.
function composition, recursion
Strings: string slices, immutability, string functions and methods, string module
Fruitful functions: return values, parameters, local and global scope
UNIT 3:
Dictionaries: operations and methods; advanced list processing - list comprehension;
Tuples: tuple assignment, tuple as return value;
Lists: list operations, list slices, list methods, list loop, mutability, aliasing, cloning lists, list parameters
Illustrative programs: simple sorting, histogram, Students marks statement, Retail bill preparation.
Illustrative program: Sorting
UNIT 4:
command line arguments, errors and exceptions, handling exceptions,
Files and exceptions: text files, reading and writing files, format operator
UNIT 5:
NumPy: Introduction to NumPy arrays and operations
- Data manipulation with Pandas