Detail Syllabus for Python
Introduction To Programming
The basic model of computation, algorithms, flowcharts, programming languages, compilation,testing and debugging and documentation.
Algorithms And Flowcharts To Solve Problems
Flow chart symbols, Basic algorithms/flowchart for sequential processing, decision basedprocessing and interactive processing. Some example like exchanging value of two variables,
summation of a set of numbers, Decimal based 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 sum of series, Reverse order of
element of an array, find largest number in an array, Print elements of upper triangular matrixetc.
Introduction To Python
Python introduction, Technical strength of python, Introduction to python interpreter andprogram execution, Using comments, Literals, Constants, python's Built in Data types, Number
(Integers, Floats, Complex Numbers, Real, Set) Strings (Slicing, Indexing, Concanation, other
operations on strings), Accepting input from console, printing statements, simple 'Python'
programs.
Operators, Expressions And Python Statements
Assignment statement, Expressions, Arithmetic, Relational, Logical, Bitwise operators and theirprecedence, Conditional statement: if, if-else, if-elif-else; simple programs, Notion of interactive
computation and control flow -range function, While statement, For loop, break statement,
Continue Statement, Pass statement, else, assert.
Sequence Of Data Types
List, tuples and dictionary, (Slicing, Indexing, Concatenation, other operations on Sequence datatype) concept of mutability, Examples to include finding the maximum, minimum, mean; linear
search of the list/tuple of numbers, and count the frequency of element in a list using a dictionary.
Functions
Top-down approach of problem solving modular programming and functions, Functionparameters, Local variables, the return statement, DocStrings, global statement, Default
argument values, keyboard arguments, VarArgs parameters. Library function-input(), evolve(),
print(), String Functions: count(), find(), rfind(), capitalize(), title(), lower(), upper(), swapcase(),
islower(), isupper(), istitle(), replace (), strip (), istrip (), 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.
File Processing
Concept of Files, File opening in various modes and closing of file, Reading from a file, Writingonto a file, File functions-open(), close(), read(), readline(), readlines(), write(), writelines(), tell
(), seek(), Command line arguments.
Scope And Modules
Scope of objects and Names, LEGB Rule, Module Basic, Module files as Namespaces, Importmodel, Reloading Models.
Numpy Basics
Introduction to NumPy, ndarray, data types, array attributes, array creation routines, Array fromexisting data, Array from numerical ranges, Indexing & Slicing, joining and splitting, joining of
arrays, splitting the arrays, and arithmetic operations on an Array.
0 comments:
Post a Comment