Page 33 - 2501_KVS_C-8
P. 33

2                      RECAP OF PYTHON


                                                       OF CLASS VII





                Your Aim

                 2.1 Basics of Python
                 2.2 Variable, Datatypes and Keywords
                 2.3 Operators (Arithmetic & Relational)
                 2.4 Sequence Based Programming
                 2.5 “if...else” Statement


                 2.1 BASICS OF PYTHON

                 Dear students, you have definitely well understood the basic concepts of Python in class VII
                 and must have practiced and enjoyed them a lot. Also, to solve more Real-World Problems,
                 one must know the topics we have discussed in this class. But to start with the new topics
                 in a smooth manner, we should revise quickly the concepts of class VII taught earlier.

                     Programming is the process of writing codes (instructions) in a programming language
                     to resolve some problem/ create games / develop software/ create websites etc.
                     Algorithm is the process of writing all the steps required to solve a particular problem.

                     These steps are written in English language to describe each statement.
                 To develop an algorithm following steps are required:

                 1.   Read problem definition
                 2.  Analyse the problem to identify Input, Output and Process

                 3.  Develop an algorithm

                 4.  Refine by adding more details
                 5.  Review the developed algorithm

                     Flowchart: Flowchart is a pictorial representation of the steps involved in the solution
                     of a problem. A flowchart is easier to understand as it depicts the solution graphically.
                 To draw a flowchart, following symbols are used for various purposes.


















                                                                    Recap of Python of Class VII                    31
   28   29   30   31   32   33   34   35   36   37   38