# Python

UNIT - 1

### Introduction to Programming

The basic Model of computation

Algorithms

Flowcharts

Programming Languages

Compilation

Testing and Debugging

UNIT - 2

### Algorithm and Flowcharts to solve problems

Flow Chart Symbols

Basic algorithms flowcharts for sequential processing

decision based processing and iterative processing

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 Division) of two numbers

Test whether a number is prime

factorial computation

Fibonacci sequence

Evaluate ‘sin x’ as sum of a series

Reverse order of elements of an array

Find largest number in an array

Print elements of upper triangular matrix

UNIT - 3

### Introduction to Python

Python Introduction

Technical Strength of Python

Introduction to Python Interpreter

Keywords in Python

Constants in Python

Built in Data types

Numbers in Python

Strings in Python

Accepting input from Console

Printing Statements

Simple Python programs

UNIT - 4

### Operators Expressions and Python Statements

Expressions in Python

Arithmetic Operation in Python

Relational Operator in Python

Logical Operator in Python

Bitwise operators in Python

Assignment Operators in Python

Conditional statements

if Statement in Python

if else in Pythpn

if elif else in Python

Iteration or Looping constructs

range function

While Statement

For loop

break statement

Continue Statement

Pass statement

UNIT - 5

### Sequence data types

List in Python

Tuple in Python

Sets in Pyhton

Dictionary in Pyhton

linear search on list

UNIT - 6

### Functions

Top down approach of problem solving

Modular programming and functions

Function parameters

Local variables

the Return statement

DocStrings

Global Scope

Default argument

Keyword Arguments

VarArgs parameters

Library function

String Functions

Numeric Functions

Date and Time Functions

Recursion

UNIT - 7

### File Processing

Concept of Files

File opening in various modes

Writing onto a file

File functions

Command Line arguments

UNIT - 8

### Modules

Scope of objects and Names

LEGB Rule

Module Basics

Module Files as Namespaces

Import Model

UNIT - 9

### NumPy Basics

Introduction to NumPy

ndarray

datatypes NumPy

array attributes

array creation routines

Array From Existing Data

Array From Numerical Ranges

Indexing & Slicing