SlideShare a Scribd company logo
Basic
Flowcharting
•   (Flowcharting)

•


•




•
•


•

•

•
1.
2.

3.

4.   -

5.

6.
•
    System Flowchart)


       Program Flowchart)
1/3)
•
         3


    10

         10
              ?
(2/3)
•
•
            (3/3)


    –

    –   -

    –   -
2
             (System
 flowchart)
                (Program
 flowchart)
(System
•
    flowchart)


•




•
•


    100
•
    (Program flowchart)

•
•


          = 0.5 *   *
    100
= 0.5 *   *
•


•


•

•

•
•


    (decision table)
(1/13)
•




•

                    American
    National Standard Institute (ANSI)
(2/13)
                START
                             1.
                STOP
                             2.
               read name
(Terminal)
              display area   1.

                                  name
                             2.
(3/13)
             C=A+B
                                   1.         A
              Sum = 0
                                        +B

                                        C
(Process)                  false
                                   2.
             i <= 10
                 true                   sum
                       i                      0
                                                  i
(4/13)
            print A             A




(Document   display A , B

)
                                A,
                            B
(5/13)
            read A     A = Age



(Comment
)
                                 A
              read A




(Manual
Input)
(6/13)
              for i =1 to 100             i

              sum = sum + i     1
                                      1
                     i
                                              100
(Preparati
on)


                                sum           i
(7/13)
             write A

                       A
               A


(In-Page
              A=3      A
connector)
                1
(8/13)
           read A       1.          A

          punch B , C

                             1
                        2.
(Punch                       B,C
           punch
card)     bi b=1 ,                1
             …n
                                 B1 ,
                             B2 , Bn
                                 n
(9/13)
            read ID ,      ID ,
              name
                        name


(Punched
tape)
(10/13)




(Magnatic
disk)
(11/13)
                findGrade




                            findGra
(Predefine                  de
Process)
(12/13)




(Auxiliary
Operation)
(13/13)


(Communic
ation Link)
•
    (1/2)    START


            read age

                        false
            age > 60
                 true

        “You are old”



             STOP
•
    (2/2)
        START

       sum =
         0
       i = 1 to 10


      sum = sum
         +i
          i
         sum


         STOP
•
    (3/2)




•
•                 (Sequence)
•               /        /
  (Selection/Decision/Condition)
•           (Iteration / Loop)
(1/3)
•
(2/3)
START


 A=5              A       5

 B=3              B       3
C=A+B     A       B
print C       C
 STOP
(3/3)
START


 A,B
          A, B
C=A+B
                 A       B
print C
                     C
 STOP
•




1.

                                        --> <                    >
2.                                       --> <
               >
     -----------------------------------------------------
                                      :<                     >
                  :<                    >
3.
     –
     –
4.
     –   Last_meter
     –   Curr_meter
     –   Num_meter
     –   Electric_fee
5.
     1.
     2.               last_meter     curr_meter

     3.        num_meter = curr_meter –
        last_meter
     4.        electric_fee = num_meter * 2.5
     5.         num_meter , electric_fee
     6.
Flow chart
              START



            Last_meter ,
             Curr_meter



Num_meter = Curr_meter – Last_meter



   Electric_fee = Num_meter * 2.5



      Num_meter , Electric_fee



               STOP
•   (IF - THEN)
(1/5)
(2/5)
   START


 read age               age

  age > 60
                false   age
        true

“You are old”
                                Y


    STOP
(3/5)
                            ans

       GoodLuck   ans = “GoodLuck”




Welcome Manager         Welcome
                      Manager
          Exit
Password System       Exit Password
                      System
(4/5)
•

                 %

•
    1.
    2.
         -                     =
             (       10/100)
    3.                =
(5/5)
            START                           A


          read                      bonus = salary * 3
       name ,salary


                          false     Name , salary ,
        salary < 5000
                                       bonus
                true

salary = salary + (salary*10/100)         STOP



               A
•          IF –
    THEN
IF      THEN
  BEGIN
               ;
               ;
 END;
IF       THEN

ELSE
 BEGIN
                ;
                ;
 END;
(1/6)
•
(2/6)
                                                 •   sex =1

          False                   True
                      Sex = 1

                                                      Male
Female = Female + 1             Male = Male +1


                                                 •   sex =1


                                                      Female
(3/6)
                  START


                read age                       age
        false                  true
                  age > 60                    age

“You are young”              “You are old”
                                                     Yo
                                                     Yo



                   STOP
(4/6)
                             Do you like Pascal
                                                                 Do you like Pa
                                    ans                           ans
                         ans = „y‟ OR ans=„Y‟
                                                                      ans
I‟m sorry to hear that                            Thank You
                                                               -
                                                               Thank you
                                                               -
                                                               I’m sorry to hear t
                                 Good Bye
                                                              Goodbye
(5/6)
•
         %                               5000
             5%

•
    1.
    2.                    < 5000
         -                    = 10/100
         -                    = 5/100
    3.                =      +(           *
                  )
    4.        =
(6/6)
                    START                                        A


                    read                           salary = salary+(salary * rate)
                 name ,salary


       false                      true                  bonus = salary * 3
                 salary < 5000

rate = 5 / 100                   rate = 10 / 100
                                                        Name , salary ,
                                                           bonus


                      A                                        STOP
(
•
            IF)
                       False              True


            False              True


    False           True
(
                                   IF)
                                                   Score = mid + final


                                                  false                 true
                                                          Score >=80


                                   false                  true
                                           Score >=70                  Grade = ‘A’

                   false                   true
                            Score >=60                  Grade = ‘B’

      false                 true
              Score >=50                 Grade = ‘C’

Grade = ‘F’                Grade = ‘D’
(
•
    CASE)
(
                         CASE)
                            Score = mid + final



                                  score




  80..100       70..79               60..69       50..59        0..49


Grade = ‘A’   Grade = ‘B’      Grade = ‘C’    Grade = ‘D’      Grade = ‘F’
•
    (Controlled Loop)
•                       (Pre-Test
    Condition)
•                        (Post-
    Test Condition)
•




    Next
•   N    1                    1
             5
                       Next

        For N =1 , 5
    N
         Print N


           Next
•



           False

    True
•                       N=1
         N <= 5
    –             N
                                  False
    –         N    1    N <=5

        (N=N+1)            True

                       Print N

•                      N = N+1
•




    False


            True
–
                         N=1
            N
    –
        N   1
                        Print N


•                       N = N+1

        N>5
                False
                         N>5

                            True

More Related Content

PPSX
PPTX
PDF
5 problem solving with the sequential logic structure
PDF
Python for High School Programmers
PPS
khokkhonvitayakom
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
5 problem solving with the sequential logic structure
Python for High School Programmers
khokkhonvitayakom
2024 Trend Updates: What Really Works In SEO & Content Marketing

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Encapsulation theory and applications.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Spectroscopy.pptx food analysis technology
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Encapsulation_ Review paper, used for researhc scholars
Group 1 Presentation -Planning and Decision Making .pptx
Encapsulation theory and applications.pdf
Tartificialntelligence_presentation.pptx
Machine learning based COVID-19 study performance prediction
Spectroscopy.pptx food analysis technology
Heart disease approach using modified random forest and particle swarm optimi...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Unlocking AI with Model Context Protocol (MCP)
cloud_computing_Infrastucture_as_cloud_p
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
A comparative analysis of optical character recognition models for extracting...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Ad
Ad

Flowchat

  • 2. (Flowcharting) • • •
  • 4. 1. 2. 3. 4. - 5. 6.
  • 5. System Flowchart) Program Flowchart)
  • 6. 1/3) • 3 10 10 ?
  • 8. (3/3) – – - – -
  • 9. 2  (System flowchart)  (Program flowchart)
  • 10. (System • flowchart) • •
  • 11. 100
  • 12. (Program flowchart) •
  • 13. = 0.5 * * 100
  • 14. = 0.5 * *
  • 16. (decision table)
  • 17. (1/13) • • American National Standard Institute (ANSI)
  • 18. (2/13) START 1. STOP 2. read name (Terminal) display area 1. name 2.
  • 19. (3/13) C=A+B 1. A Sum = 0 +B C (Process) false 2. i <= 10 true sum i 0 i
  • 20. (4/13) print A A (Document display A , B ) A, B
  • 21. (5/13) read A A = Age (Comment ) A read A (Manual Input)
  • 22. (6/13) for i =1 to 100 i sum = sum + i 1 1 i 100 (Preparati on) sum i
  • 23. (7/13) write A A A (In-Page A=3 A connector) 1
  • 24. (8/13) read A 1. A punch B , C 1 2. (Punch B,C punch card) bi b=1 , 1 …n B1 , B2 , Bn n
  • 25. (9/13) read ID , ID , name name (Punched tape)
  • 27. (11/13) findGrade findGra (Predefine de Process)
  • 30. (1/2) START read age false age > 60 true “You are old” STOP
  • 31. (2/2) START sum = 0 i = 1 to 10 sum = sum +i i sum STOP
  • 32. (3/2) •
  • 33. (Sequence) • / / (Selection/Decision/Condition) • (Iteration / Loop)
  • 35. (2/3) START A=5 A 5 B=3 B 3 C=A+B A B print C C STOP
  • 36. (3/3) START A,B A, B C=A+B A B print C C STOP
  • 37. • 1. --> < > 2. --> < > ----------------------------------------------------- :< > :< >
  • 38. 3. – – 4. – Last_meter – Curr_meter – Num_meter – Electric_fee
  • 39. 5. 1. 2. last_meter curr_meter 3. num_meter = curr_meter – last_meter 4. electric_fee = num_meter * 2.5 5. num_meter , electric_fee 6.
  • 40. Flow chart START Last_meter , Curr_meter Num_meter = Curr_meter – Last_meter Electric_fee = Num_meter * 2.5 Num_meter , Electric_fee STOP
  • 41. (IF - THEN)
  • 42. (1/5)
  • 43. (2/5) START read age age age > 60 false age true “You are old” Y STOP
  • 44. (3/5) ans GoodLuck ans = “GoodLuck” Welcome Manager Welcome Manager Exit Password System Exit Password System
  • 45. (4/5) • % • 1. 2. - = ( 10/100) 3. =
  • 46. (5/5) START A read bonus = salary * 3 name ,salary false Name , salary , salary < 5000 bonus true salary = salary + (salary*10/100) STOP A
  • 47. IF – THEN
  • 48. IF THEN BEGIN ; ; END;
  • 49. IF THEN ELSE BEGIN ; ; END;
  • 51. (2/6) • sex =1 False True Sex = 1 Male Female = Female + 1 Male = Male +1 • sex =1 Female
  • 52. (3/6) START read age age false true age > 60 age “You are young” “You are old” Yo Yo STOP
  • 53. (4/6) Do you like Pascal Do you like Pa ans ans ans = „y‟ OR ans=„Y‟ ans I‟m sorry to hear that Thank You - Thank you - I’m sorry to hear t Good Bye Goodbye
  • 54. (5/6) • % 5000 5% • 1. 2. < 5000 - = 10/100 - = 5/100 3. = +( * ) 4. =
  • 55. (6/6) START A read salary = salary+(salary * rate) name ,salary false true bonus = salary * 3 salary < 5000 rate = 5 / 100 rate = 10 / 100 Name , salary , bonus A STOP
  • 56. ( • IF) False True False True False True
  • 57. ( IF) Score = mid + final false true Score >=80 false true Score >=70 Grade = ‘A’ false true Score >=60 Grade = ‘B’ false true Score >=50 Grade = ‘C’ Grade = ‘F’ Grade = ‘D’
  • 58. ( • CASE)
  • 59. ( CASE) Score = mid + final score 80..100 70..79 60..69 50..59 0..49 Grade = ‘A’ Grade = ‘B’ Grade = ‘C’ Grade = ‘D’ Grade = ‘F’
  • 60. (Controlled Loop) • (Pre-Test Condition) • (Post- Test Condition)
  • 61. Next
  • 62. N 1 1 5 Next For N =1 , 5 N Print N Next
  • 63. False True
  • 64. N=1 N <= 5 – N False – N 1 N <=5 (N=N+1) True Print N • N = N+1
  • 65. False True
  • 66. N=1 N – N 1 Print N • N = N+1 N>5 False N>5 True