Python Breakdown
Python Breakdown
Learning Objectives
The course is designed to provide Basic knowledge of Python. Python programming is
intended for all age group people who wish to learn the Python programming language for
various applications starting from basics to high-level programming.
UNIT 1
PYTHON BASICS
Learning Objectives
This unit deals about how python as evolved as language. The basic terminologies
involved in python and various structs used in it. This mainly provides the learners a path to
develop simple python programs.
CHAPTER 1 – FOUNDATIONS OF PYTHON
1.1.1 Introduction to Algorithms
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 sowed cards, guess an integer number in a range,
Towers of Hanoi.
Algorithm
Definition: An algorithm is procedure consisting of a finite set of unambiguous rules
(instructions) which specify a finite sequence of operations that provides the solution to a
problem. In other word, an algorithm is a step-by-step procedure to solve a given problem
Definition: An algorithm is a finite number of clearly described, unambiguous
“double” steps that can be systematically followed to produce a desired result for given input
in a finite amount of time.
Building blocks of algorithm
It has been proven that any algorithm can be constructed from just three basic
building blocks. These three building blocks are Sequence, Selection, and Iteration.
Building Block Common name
Sequence Action
Selection Decision
Iteration Repetition or Loop
Sequence Selection Looping
choice
instruction
CHPATER 4 – STATEMENTS
1.4.1 Conditional Statements – if, if…else
1.4.2 Conditional Statements – if..elif..else, nested if..else
1.4.3 Control Statements – For Loop
1.4.4 Control Statements – While Loop
1.4.5 Programming Examples
CHAPTER 2 PROTOCOLS
5.2.1 TCP
5.2.2 UDP
5.2.3 HTTP
5.2.4 STP
5.2.5 FTP
5.2.6 Server Scripting