You are on page 1of 6

Python Programming

Python is a programming language.


• Program: Program is a set of instruction which
is passes to computer for execution.
• Collection of programs called software.
• Software : Software is a bundle of programs.
• Development of software is stepwise process:
1. User requirements.
2. Feasibility study.
3. System Analysis.
4. Designing.
5. Coding.
6. Testing.
7. Implementation.
8. Maintenance.
* Algorithm is a sequence of steps that
gives method of solving a problem
Designing method:-Designing is the first step for
obtaining sol” of a given Problem there are
three basis opproach
1. Top Down Design:-
2. Bottom-up Design;-
3. Modular Approach:-
Programming Language:- the Programming
language can be classified into two type -
• Low-level language
• High-level language
1. Low-level language
A) Machine level language
B) Assembly language
A. Machine level language:-
 The machine language consists of instruction that are in
binary format (0) & (1).
 Computer can understands only machine level language.
 A machine level language program is error-prone and its
maintenance is very difficult.
 Machine language are not portable.
 Every computer has its own machine instruction; so the
program written for one computer are not valid for
another computer.
B. Assembly language:-
 In assembly language instruction are given in English
like words such as- Mov , Add , Sub etc.
 So it is easier to write and understands assembly
programs. Since a computer can understands only
machine level language, hence assembly language
program must be translate into machine language .
 The translator that is used for translating is called
“assembler”.
 In assembly language data is stored in computer
register and each computer has different set of
registers.
 Hence the assembly language program is also not
portable.
High level language:-
 High-level language are designed keeping in mind
the feature of portable i.e. these language are
machine independents.
 These are English like language , so it is easy to
write and understands the programs of high-level
language.
 For translating a high-level language program into
machine language , compiler or interpreter is
used.
 Every language has its own compiler or
interpreter
For ex. FORTRAN, COBOL, BASIC, PASCAL.ETC.

You might also like