SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Programming Design Tools
At the programming level, the following
tools help in designing programs:
•HIPO Chart
•Pseudocode
•Flowchart
Program Development Tools
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools
HIPO Chart - Hierarchical Input-Process-Output
• A tool used for Problem Definition and Problem Analysis
• Helps clarify ambiguous portions of the specifications
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools
Pseudocode
•Describes the logical flow of the solution to the problem
through English-like code that closely resembles the actual
programming language to be used.
•There are no rigid syntax rules in pseudocode. More
emphasis is placed in the logic of the solution rather than
the syntax of the language.
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools
Flowchart
•Is used to graphically present the solution to a problem. It
uses flowcharting symbols linked together in a “flow” that
will arrive at the solution.
•Among the tools, it is the easiest to understand because of
it is visual appeal. However, the chart can get very cluttered
and disorganized when working on complex problems.
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools - HIPO
The HIPO Chart will be used throughout the course as the
tool for problem definition and analysis.
To derive a HIPO Chart, questions such as these may be
asked:
•What are the outputs required?
•What are the inputs needed to produce the outputs?
•What are the processes needed to transform the inputs to
the desired outputs?
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Simple Adding Problem
Given 2 numbers, print the sum of the 2 numbers
Using HIPO,
1. Define the outputs needed
INPUT
Sum of First
Number and
Second
Number
PROCESS OUTPUT
Program Development Tools - HIPO
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
2. What inputs are provided? What other inputs are
needed to produce the output?
INPUT
Sum of First
Number and
Second Number
PROCESS OUTPUT
First Number
and Second
Number
Program Development Tools - HIPO
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools - HIPO
3. What processes are needed to transform the
inputs to the desired outputs?
INPUT
Sum of First
Number and
Second Number
PROCESS OUTPUT
First Number
and Second
Number
1.Get First Number
2.Add Second
Number to First
Number
3.Print out the sum
of the two numbers
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools - HIPO
Guidelines in developing the HIPO
•Outputs should be determined first before inputs or
processes. This establishes the objective and scope of the
solution. Limit the outputs to those that are required in the
specifications.
•Outputs are easy to identify because they usually follow
verbs like “display”, “print” or “generate”.
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools - HIPO
Guidelines in developing the HIPO
Inputs are also given in the specifications. In simple
problems, the inputs clearly lead to the outputs. In
complex problems, this may not be visible outright, but
on further refinement of the solution.
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Program Development Tools - HIPO
Guidelines in developing the HIPO
•Processes contain the actions taken to transform the
inputs to outputs. This can be stated in English and do not
have to conform to any programming language.
•Actions on processes are executed sequentially, e.g.,
from top to bottom. Numbering the steps signify the
order of execution.
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.1
Problem:
•Given 3 whole numbers, print out the average of the 3
numbers.
•Create a HIPO chart that would show your solution to
the problem.
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.1
Problem Definition
•Is the problem clear?
•Are the outputs clearly defined?
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.1
Problem Analysis using HIPO
Level 0 – Main HIPO
INPUT
Average of the 3
numbers
PROCESS OUTPUT
First Number,
Second Number,
Third Number
1.Compute the sum
of the 3 numbers
2.Compute the
average based on
the sum
3.Print the average
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.1
Level 1 - HIPO
Process 1 – Compute the sum of the 3 numbers
Sum of the 3
numbers
First Number,
Second Number,
Third Number
1.1 Get the 1st
number 1.2 Get 2nd
number and add to
the 1st number 1.3
Get 3rd number
and add to the sum
in P1.2
Process 1 INPUT PROCESS 1 Process 1 OUTPUT
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.1
Level 1 HIPO
Process 2 – Compute the average based
on the sum
Average of the 3
numbers
Sum of the 3
numbers 2.1 Divide the
sum by 3
Process 2 INPUT PROCESS 2 Process 2 OUTPUT
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Level 1 HIPO
Process 3 – Print the average
Printed Average
of the 3 numbers
Average of the 3
numbers 3.1 Print the
average
Process 3 INPUT PROCESS 3 Process 3 OUTPUT
Group Workshop – Exercise 2.1
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.1
The HIPO in
summary
1st number,
2nd number,
3rd number
INPUT
Main
Process 1-
compute the sum
Process 2 – compute
the average
Process 3 – Print
the Average
Printed Average
of the 3 Numbers
PROCESS
OUTPUT
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.2
Problem:
•A list contains names of students. Count how many
times the name “Ana” appears in the list.
•Create a HIPO chart that would show your solution to
the problem
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
Group Workshop – Exercise 2.3
Problem:
•A box contains balls with different colors. Count the
number of balls per color and display the total of all
colors.
•Create a HIPO chart that would show the solution to
the problem
Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools

Weitere ähnliche Inhalte

Was ist angesagt?

MICROSOFT EXCEL (ICTL)
MICROSOFT EXCEL (ICTL)MICROSOFT EXCEL (ICTL)
MICROSOFT EXCEL (ICTL)
Nad0209
 
Software maintenance
Software maintenance Software maintenance
Software maintenance
Rajeev Sharan
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
Haris456
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Introduction to programming concepts
Introduction to programming conceptsIntroduction to programming concepts
Introduction to programming concepts
hermiraguilar
 

Was ist angesagt? (20)

Computer programming k 12
Computer programming k 12Computer programming k 12
Computer programming k 12
 
MICROSOFT EXCEL (ICTL)
MICROSOFT EXCEL (ICTL)MICROSOFT EXCEL (ICTL)
MICROSOFT EXCEL (ICTL)
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
COC 3 - Setup Computer Systems
COC 3  - Setup Computer SystemsCOC 3  - Setup Computer Systems
COC 3 - Setup Computer Systems
 
Lo1.3 diagnosing computer systems
Lo1.3 diagnosing computer systemsLo1.3 diagnosing computer systems
Lo1.3 diagnosing computer systems
 
Computer Programming - Lecture 1
Computer Programming - Lecture 1Computer Programming - Lecture 1
Computer Programming - Lecture 1
 
Computer Fundamentals & Intro to C Programming module i
Computer Fundamentals & Intro to C Programming module iComputer Fundamentals & Intro to C Programming module i
Computer Fundamentals & Intro to C Programming module i
 
History of programming
History of programmingHistory of programming
History of programming
 
Software maintenance
Software maintenance Software maintenance
Software maintenance
 
Programming aids- Algorithm, Flowchart, Pseudocodes and Decision table
Programming aids- Algorithm, Flowchart, Pseudocodes and Decision tableProgramming aids- Algorithm, Flowchart, Pseudocodes and Decision table
Programming aids- Algorithm, Flowchart, Pseudocodes and Decision table
 
Pseudocode
PseudocodePseudocode
Pseudocode
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 
Top down parsing
Top down parsingTop down parsing
Top down parsing
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
pseudocode and Flowchart
pseudocode and Flowchartpseudocode and Flowchart
pseudocode and Flowchart
 
INTEGRATIVE PROGRAMMING ch1.pptx
INTEGRATIVE PROGRAMMING ch1.pptxINTEGRATIVE PROGRAMMING ch1.pptx
INTEGRATIVE PROGRAMMING ch1.pptx
 
Lecture 4 principles of parallel algorithm design updated
Lecture 4   principles of parallel algorithm design updatedLecture 4   principles of parallel algorithm design updated
Lecture 4 principles of parallel algorithm design updated
 
Introduction to programming concepts
Introduction to programming conceptsIntroduction to programming concepts
Introduction to programming concepts
 
relational algebra
relational algebrarelational algebra
relational algebra
 

Ähnlich wie Programming Design Tools

Programming Theory
Programming TheoryProgramming Theory
Programming Theory
iarthur
 
Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...
Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...
Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...
Philipp Schroeder
 
ContentsTeam Work Schedule3Team Task Assignment3Project .docx
ContentsTeam Work Schedule3Team Task Assignment3Project .docxContentsTeam Work Schedule3Team Task Assignment3Project .docx
ContentsTeam Work Schedule3Team Task Assignment3Project .docx
bobbywlane695641
 

Ähnlich wie Programming Design Tools (20)

Algorithm.pdf
Algorithm.pdfAlgorithm.pdf
Algorithm.pdf
 
Cs 1114 - lecture-2
Cs 1114 - lecture-2Cs 1114 - lecture-2
Cs 1114 - lecture-2
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Algorithm,Pseudocode,Flowchart.pptx
Algorithm,Pseudocode,Flowchart.pptxAlgorithm,Pseudocode,Flowchart.pptx
Algorithm,Pseudocode,Flowchart.pptx
 
Programing Fundamental
Programing FundamentalPrograming Fundamental
Programing Fundamental
 
Chapter 2(1)
Chapter 2(1)Chapter 2(1)
Chapter 2(1)
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing Techniques
 
Raising the Bar
Raising the BarRaising the Bar
Raising the Bar
 
Fundamental Programming Lect 2
Fundamental Programming Lect 2Fundamental Programming Lect 2
Fundamental Programming Lect 2
 
pdlc
pdlc pdlc
pdlc
 
Programming Theory
Programming TheoryProgramming Theory
Programming Theory
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Digital technology
Digital technologyDigital technology
Digital technology
 
Introduction to c_language
Introduction to c_languageIntroduction to c_language
Introduction to c_language
 
Program design and problem solving techniques
Program design and problem solving techniquesProgram design and problem solving techniques
Program design and problem solving techniques
 
Pf lec 01 intro
Pf lec 01 introPf lec 01 intro
Pf lec 01 intro
 
Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...
Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...
Sketching, Wireframing, Prototyping - How to Be Agile and Avoid Half-Baked Us...
 
Project management
Project managementProject management
Project management
 
ContentsTeam Work Schedule3Team Task Assignment3Project .docx
ContentsTeam Work Schedule3Team Task Assignment3Project .docxContentsTeam Work Schedule3Team Task Assignment3Project .docx
ContentsTeam Work Schedule3Team Task Assignment3Project .docx
 
Maximizing the impact of UX in an agile environment: Mixing agile and Lean UX
Maximizing the impact of UX in an agile environment: Mixing agile and Lean UXMaximizing the impact of UX in an agile environment: Mixing agile and Lean UX
Maximizing the impact of UX in an agile environment: Mixing agile and Lean UX
 

Mehr von Dr. Rosemarie Sibbaluca-Guirre

Mehr von Dr. Rosemarie Sibbaluca-Guirre (20)

Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요
 
Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요
 
Conjunction 접속사
Conjunction   접속사Conjunction   접속사
Conjunction 접속사
 
Pronoun 대명사
Pronoun  대명사Pronoun  대명사
Pronoun 대명사
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
 
Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서
 
Korean Number 한국 번호
Korean Number 한국 번호Korean Number 한국 번호
Korean Number 한국 번호
 
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptxISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
 
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptxISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
 
ISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptxISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptx
 
ISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptxISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptx
 
ISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptxISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptx
 
ISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptxISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptx
 
ACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptxACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptx
 
ACCT11_8_Equity.pptx
ACCT11_8_Equity.pptxACCT11_8_Equity.pptx
ACCT11_8_Equity.pptx
 
ACCT11_7_Performance.pptx
ACCT11_7_Performance.pptxACCT11_7_Performance.pptx
ACCT11_7_Performance.pptx
 
ACCT11_6_Worksheet.pptx
ACCT11_6_Worksheet.pptxACCT11_6_Worksheet.pptx
ACCT11_6_Worksheet.pptx
 
ACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptxACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptx
 
ACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptxACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptx
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Programming Design Tools

  • 1. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Programming Design Tools
  • 2. At the programming level, the following tools help in designing programs: •HIPO Chart •Pseudocode •Flowchart Program Development Tools Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 3. Program Development Tools HIPO Chart - Hierarchical Input-Process-Output • A tool used for Problem Definition and Problem Analysis • Helps clarify ambiguous portions of the specifications Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 4. Program Development Tools Pseudocode •Describes the logical flow of the solution to the problem through English-like code that closely resembles the actual programming language to be used. •There are no rigid syntax rules in pseudocode. More emphasis is placed in the logic of the solution rather than the syntax of the language. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 5. Program Development Tools Flowchart •Is used to graphically present the solution to a problem. It uses flowcharting symbols linked together in a “flow” that will arrive at the solution. •Among the tools, it is the easiest to understand because of it is visual appeal. However, the chart can get very cluttered and disorganized when working on complex problems. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 6. Program Development Tools - HIPO The HIPO Chart will be used throughout the course as the tool for problem definition and analysis. To derive a HIPO Chart, questions such as these may be asked: •What are the outputs required? •What are the inputs needed to produce the outputs? •What are the processes needed to transform the inputs to the desired outputs? Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 7. Simple Adding Problem Given 2 numbers, print the sum of the 2 numbers Using HIPO, 1. Define the outputs needed INPUT Sum of First Number and Second Number PROCESS OUTPUT Program Development Tools - HIPO Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 8. 2. What inputs are provided? What other inputs are needed to produce the output? INPUT Sum of First Number and Second Number PROCESS OUTPUT First Number and Second Number Program Development Tools - HIPO Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 9. Program Development Tools - HIPO 3. What processes are needed to transform the inputs to the desired outputs? INPUT Sum of First Number and Second Number PROCESS OUTPUT First Number and Second Number 1.Get First Number 2.Add Second Number to First Number 3.Print out the sum of the two numbers Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 10. Program Development Tools - HIPO Guidelines in developing the HIPO •Outputs should be determined first before inputs or processes. This establishes the objective and scope of the solution. Limit the outputs to those that are required in the specifications. •Outputs are easy to identify because they usually follow verbs like “display”, “print” or “generate”. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 11. Program Development Tools - HIPO Guidelines in developing the HIPO Inputs are also given in the specifications. In simple problems, the inputs clearly lead to the outputs. In complex problems, this may not be visible outright, but on further refinement of the solution. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 12. Program Development Tools - HIPO Guidelines in developing the HIPO •Processes contain the actions taken to transform the inputs to outputs. This can be stated in English and do not have to conform to any programming language. •Actions on processes are executed sequentially, e.g., from top to bottom. Numbering the steps signify the order of execution. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 13. Group Workshop – Exercise 2.1 Problem: •Given 3 whole numbers, print out the average of the 3 numbers. •Create a HIPO chart that would show your solution to the problem. Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 14. Group Workshop – Exercise 2.1 Problem Definition •Is the problem clear? •Are the outputs clearly defined? Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 15. Group Workshop – Exercise 2.1 Problem Analysis using HIPO Level 0 – Main HIPO INPUT Average of the 3 numbers PROCESS OUTPUT First Number, Second Number, Third Number 1.Compute the sum of the 3 numbers 2.Compute the average based on the sum 3.Print the average Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 16. Group Workshop – Exercise 2.1 Level 1 - HIPO Process 1 – Compute the sum of the 3 numbers Sum of the 3 numbers First Number, Second Number, Third Number 1.1 Get the 1st number 1.2 Get 2nd number and add to the 1st number 1.3 Get 3rd number and add to the sum in P1.2 Process 1 INPUT PROCESS 1 Process 1 OUTPUT Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 17. Group Workshop – Exercise 2.1 Level 1 HIPO Process 2 – Compute the average based on the sum Average of the 3 numbers Sum of the 3 numbers 2.1 Divide the sum by 3 Process 2 INPUT PROCESS 2 Process 2 OUTPUT Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 18. Level 1 HIPO Process 3 – Print the average Printed Average of the 3 numbers Average of the 3 numbers 3.1 Print the average Process 3 INPUT PROCESS 3 Process 3 OUTPUT Group Workshop – Exercise 2.1 Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 19. Group Workshop – Exercise 2.1 The HIPO in summary 1st number, 2nd number, 3rd number INPUT Main Process 1- compute the sum Process 2 – compute the average Process 3 – Print the Average Printed Average of the 3 Numbers PROCESS OUTPUT Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 20. Group Workshop – Exercise 2.2 Problem: •A list contains names of students. Count how many times the name “Ana” appears in the list. •Create a HIPO chart that would show your solution to the problem Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools
  • 21. Group Workshop – Exercise 2.3 Problem: •A box contains balls with different colors. Count the number of balls per color and display the total of all colors. •Create a HIPO chart that would show the solution to the problem Discussed By: Dr. Rosemarie S. GuirreProperty of DICT: Chapter 2- Programming Design Tools