SYLLABUS
Unit-1
Algorithmic Problem Solving Algorithms, Building Blocks of Algorithms (Statements, State, Control Flow, Functions), Notation (Pseudo Code, Flow Chart, Programming Language), Algorithmic Problem Solving, Simple Strategies for Developing Algorithms (Iteration, Recursion). Illustrative Problems: Find Minimum in a List, Insert a Card in a List of Sorted Cards, Guess an Integer Number in a Range, Towers of Hanoi.
Unit-2
Data, Expressions, Statements Python Interpreter and Interactive Mode; values and Types: int, Float, Boolean, String, and List; Variables, Expressions, Statements, Tuple Assignment, Precedence of Operators, Comments; Modules and Functions, Function Definition and use, Flow of Execution, Parameters and Arguments; Illustrative Programs: Exchange the Values of Two Variables, Circulate the Values of n Variables, Distance Between Two Points.
Unit-3
Control Flow, Functions Conditionals; Boolean Values and Operators, Conditional (if), Alternative (if-else), Chained Conditional (if-elif-else); Iteration: State, while, for, Break, Continue, Pass; Fruitful Functions: Return Values, parameters, Local and Global Scope, Function Composition, Recursion; Strings, String Slices, Immutability, String Functions and Methods, string Module; Lists as Arrays. Illustrative Programs: Square Root, gcd, Exponentiation, Sum an Array of Numbers, Linear Search, Binary Search.
Unit-4
Lists, Tuples, Dictionaries Lists: List Operations, List Slices, List Methods, List Loop, Mutability, Aliasing, Cloning Lists, List Parameters; Tuples: Tuple Assignment, Tuple as Return Value; Dictionaries: Operations and Methods; Advanced List Processing-List Processing -List Comprehension; Illustrative Program: Selection Sort, Insertion Sort, Mergesort, Histogram.
Unit-5
Files, Modules, Packages Files and Exception: Text Files, Reading and Writing Files, Format Operator; Command Line Arguments, Errors and Exceptions, Handling Exceptions, Modules, Packages; Illustrative Programs: Word Count, Copy File.