UNIT 1:
Basic Syntax and Data Type: Variables, data types, and basic operations
Overview of Python and its applications in engineering
Overview of Python and its applications in engineering
UNIT 2:
Strings: string slices, immutability, string functions and methods, string module
Fruitful functions: return values, parameters, local and global scope, function composition, recursion
Illustrative programs: square root, gcd, exponentiation, sum an array of numbers, linear search, binary search.
UNIT 3:
Lists: list operations, list slices, list methods, list loop, mutability, aliasing, cloning lists, list parameters
Tuples: tuple assignment, tuple as return value;
Illustrative programs: simple sorting, histogram, Students marks statement, Retail bill preparation.
Dictionaries: operations and methods;
; advanced list processing - list comprehension;
UNIT 4:
Files and exceptions: text files, reading and writing files, format operator
errors and exceptions, handling exceptions,
Illustrative programs: word count, copy file, Voter’s age validation, Marks range validation (0-100).