0
Python is easy to use, powerful, and versatile programming language, making it a great choice for developers.
The objectives of this module are to make the learners understand the programming language concepts like Data Types, Loops, Functions; Python Lists, Strings, Tuples, Dictionaries, Elementary Data Handling using Pandas, NumPy, etc.
Introduction Python is easy to use, powerful, and versatile programming language, making it a great choice for developers. Python is used widely in different areas likes building Raspberry Pi applications, writing a script program for desktop applications, configuring servers, developing machine learning& data analytics applications, and developing web applications.
Objectives The objectives of this module are to make the learners understand the programming language concepts like Data Types, Loops, Functions; Python Lists, Strings, Tuples, Dictionaries, Elementary Data Handling using Pandas, NumPy, etc. After completion of this course, the learner is expected to analyze the reallife problem and write a program in Python to solve the problem. The main emphasis of the module will be on writing an algorithm to solve problems and implement in Python. After completion of the module, the learner will be able to
 Draw flow charts for solving different problems
 Develop efficient algorithms for solving a problem
 Use the various constructs of Python viz. conditional, iteration
 Write programs making judicious use of Lists, Strings, Tuples, Dictionaries wherever required
 Manage data using NumPy
 Handle files and create Modules in Python
(i) Introduction to Programming The basic model of computation, algorithms, flowcharts, Programming Languages, compilation, testing & debugging and documentation.
(ii) Algorithms and Flowcharts to Solve Problems Flow Chart Symbols, Basic algorithms/flowcharts for sequential processing, decisionbased processing, and iterative processing. Some examples like Exchanging values of two variables, summation of a set of numbers, Decimal Base to Binary Base conversion, Reversing digits of an integer, GCD (Greatest Common Divisor) of two numbers, Test whether a number is prime, factorial computation, Fibonacci sequence, Evaluate ‘sin x’ as the sum of a series, Reverse the order of elements of an array, Find the largest number in an array, Print elements of an upper triangular matrix, etc.
(iii) Introduction to Python Python Introduction, Technical Strength of Python, Introduction to Python Interpreter and program execution, Using Comments, Literals, Constants, Python’s Builtin Data types, Numbers (Integers, Floats, Complex Numbers, Real, Sets), Strings (Slicing, Indexing, Concatenation, other operations on Strings), Accepting input from Console, printing statements, Simple ‘Python’ programs.
(iv) Operators, Expressions and Python Statements Assignment statement, expressions, Arithmetic, Relational, Logical, Bitwise operators and their precedence, Conditional statements: if, ifelse, ifelseifelse; simple programs, Notion of iterative computation and control flow –range function, While Statement, For loop, break statement, Continue Statement, Pass statement, else, asserts.
(v) Sequence Data Types Lists, tuples, and dictionary, (Slicing, Indexing, Concatenation, other operations on Sequence data type), the concept of mutability, Examples to include finding the maximum, minimum, mean; linear search on the list/tuple of numbers, and counting the frequency of elements in a list using a dictionary.
(vi) Functions The topdown approach of problemsolving, Modular programming and functions, Function parameters, Local variables, the Return statement, DocStrings, global statement, Default argument values, keyword arguments, VarArgs parameters. Library functioninput(), eval(),print(), String Functions: count(), find(), rfind(), capitalize(), title(), lower(), upper(), swapcase(), islower(), isupper(), istitle(), replace(), strip(), lstrip(), rstrip(), aplit(), partition(), join(), isspace(), isalpha(), isdigit(), isalnum(), startswith(), endswith(), encode(), decode(), String: Slicing, Membership, Pattern Matching, Numeric Functions: eval(), max(), min(), pow(), round(), int(), random(), ceil(), floor(), sqrt(), Date & Time Functions, Recursion.
(vii) File Processing Concept of Files, File opening in various modes and closing of a file, Reading from a file, Writing onto a file, File functionsopen(), close(), read(), readline(), readlines(),write(), write lines(),tell(),seek(), CommandLine arguments.
(viii) Scope and Modules Scope of objects and Names, LEGB Rule Module Basics, Module Files as Namespaces, Import Model, Reloading Modules.
(ix) NumPy Basics Introduction to NumPy, ndarray, datatypes, array attributes, array creation routines, Array From Existing Data, Array From Numerical Ranges, Indexing & Slicing.
Course Currilcum

 Introduction to Programming (T1) 02:00:00
 Introduction to Programming (P1) 02:00:00

 Algorithms and Flowcharts to Solve Problems (T1) 02:00:00
 Algorithms and Flowcharts to Solve Problems (T2) 02:00:00
 Algorithms and Flowcharts to Solve Problems (T3) 02:00:00
 Algorithms and Flowcharts to Solve Problems (P1) 02:00:00
 Algorithms and Flowcharts to Solve Problems (P2) 02:00:00
 Algorithms and Flowcharts to Solve Problems (P3) 02:00:00
 Algorithms and Flowcharts to Solve Problems (P4) 02:00:00
 Algorithms and Flowcharts to Solve Problems (P5) 02:00:00

 Introduction to Python (T1) 02:00:00
 Introduction to Python (P1) 02:00:00
 Introduction to Python (P2) 02:00:00

 Operators, Expressions and Python Statements (T1) 02:00:00
 Operators, Expressions and Python Statements (T2) 02:00:00
 Operators, Expressions and Python Statements (T3) 02:00:00
 Operators, Expressions and Python Statements (T4) 02:00:00
 Operators, Expressions and Python Statements (T5) 02:00:00
 Operators, Expressions and Python Statements (P1) 02:00:00
 Operators, Expressions and Python Statements (P2) 02:00:00
 Operators, Expressions and Python Statements (P3) 02:00:00
 Operators, Expressions and Python Statements (P4) 02:00:00
 Operators, Expressions and Python Statements (P5) 02:00:00
 Operators, Expressions and Python Statements (P6) 02:00:00
 Operators, Expressions and Python Statements (P7) 02:00:00
 Operators, Expressions and Python Statements (P8) 02:00:00

 Sequence Data Types (T1) 02:00:00
 Sequence Data Types (T2) 02:00:00
 Sequence Data Types (T3) 02:00:00
 Sequence Data Types (P1) 02:00:00
 Sequence Data Types (P2) 02:00:00
 Sequence Data Types (P3) 00:02:00
 Sequence Data Types (P4) 02:00:00

 Functions (T1) 02:00:00
 Functions (T2) 02:00:00
 Functions (T3) 02:00:00
 Functions (T4) 02:00:00
 Functions (T5) 02:00:00
 Functions (P1) 02:00:00
 Functions (P2) 02:00:00
 Functions (P3) 02:00:00
 Functions (P4) 02:00:00
 Functions (P5) 02:00:00
 Functions (P6) 02:00:00
 Functions (P7) 02:00:00

 File Processing (P5) 02:00:00
 File Processing (T1) 02:00:00
 File Processing (T2) 02:00:00
 File Processing (T3) 02:00:00
 File Processing (P1) 02:00:00
 File Processing (P2) 02:00:00
 File Processing (P3) 02:00:00
 File Processing (P4) 02:00:00

 Scope and Modules (T1) 02:00:00
 Scope and Modules (P1) 02:00:00

 NumPy Basics (T1) 02:00:00
 NumPy Basics (T2) 02:00:00
 NumPy Basics (P1) 02:00:00
 NumPy Basics (P2) 02:00:00
 NumPy Basics (P3) 02:00:00