Professional Documents
Culture Documents
Lecture Two:
Use an interactivity chart to designate the modules to be used in the solution of a problem.
Use an IPO chart to designate the input, processing, module number, and output for a solution of a problem.
Use algorithms, flowcharts, and pseudocode to develop the instructions for each module in the solution of a
problem.
2. Good Software
3. Good Users
The desired
results
Computer Science and IT | College of Computing | Hiba Al Senawi 5
Introduction
• Programmers have three resources that they need to optimize for
cost effectiveness:
1. computer memory
2. computer time
3. programmer time.
instructions
• You can find and correct most logic errors during the problem-solving
process.
• You will find and correct syntax errors when you enter your program
into the computer.
2. structure chart or interactivity chart : shows the overall layout or structure of the solution.
3. IPO chart : shows the input, the processing, and the output.
7. coupling diagram :shows the relationship between the modules and the data needed for the modules.
8. Data Dictionary : lists all date variable names and their definitions.
9. UML (Unified Modeling Language) : is a basic tool when using Object Oriented Programming structure.
• There will be one module that controls the flow to most of the other
modules. This will be called the Control or Main module.
modules are
in a decision.
Duplicate
modules
• The algorithms and the flowcharts are the final steps in organizing a
solution.
Flowlines Processing
Process Module
Decision
3. A flowchart always starts at the top of the page and flows to the bottom
5. Make the blocks big enough to write instructions so they can be easily read
6. Put the module number and name from the interactivity chart
7. Have plenty of paper on hand since the final copy of the flowchart normally will not be the first draft.
• The pseudocode for the Payroll problem is given on the right hand
side of the flowcharts.
else
Print "failed"
• These diagrams help produce a model of the problem and lead to a better
understanding of the requirements of a problem.
1. use case diagrams : describe how a system functions from the user’s standpoint
2. class diagrams : describe how a class functions. Basically, they describe the data structure of the solution.
• Because of this duplication, you will find that after the first few weeks
you will drop the use of some of these tools.
• The next step is writing the solution of the problem into a computer
language—that is, coding the solution.
• You will learn to code solutions when you take language courses.
2. The design of the solution, The IPO chart, the interactivity chart, the coupling
diagram, and the data dictionary are used in this step.
3. The development of the solution., the development of the code includes the use
of algorithms, flowcharts, pseudocode, UML and the code in the desired
computer language.
Computer Science and IT | College of Computing | Hiba Al Senawi 46
Software Development Cycle
4. The implementation of the solution. At this point the program is
ready for use. This includes marketing, training, and final testing.
5. Maintenance and review of the solution. After the program is in general use, it
must be maintained and reviewed often.