SlideShare ist ein Scribd-Unternehmen logo
1 von 66
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

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

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