Widget Technologies Home Page Free code Free Programs Almost free programs Free How-To ... Open Source License View what others had to say Favorite links Awards won by Widget Technologies About Widget Technologies Widget Technologies privacy statement Contact me Site map
Widget Technologies freeware and shareware site
 
Warnier-Orr diagrams are very similar to flowcharts, but they are more like psedoucode than blocks and shapes. They are a graphical representations of solutions or algorithms. They are a key step between the understanding of the steps needed to accomplish a task and the different steps that the program will take to finish the task. The more complex the problem, the more a Warnier-Orr diagram or other similar tool is essential in the design process of the program. This is because the more complex a program, the harder it is to follow the logical relationships of all of the steps with in the program. Warnier-Orr diagrams allow the programmer to work on and record one part of the problem, before moving to next problem, without being mired in the complexity of the whole program. They also allow the programmer to work out the logic of the program without being bogged down with the syntax of a specific language. The ability to understand the logical structure of a program without being confused in the details is indispesable.
 
Sequence
Create a Warnier-Orr diagram that converts a temperature in celsius to it temperature in fahrenheit. You will only have one temperature to convert.
 
Sequence, Input, Printing, If - Else, Pre-Test loop
Create a Warnier-Orr diagram with a Pre-Test loop that will read in an arbitrary amount of records of name and age. Program will print the name from each record. The program will continue to read the record until the End of File marker has been read or until the age is greater than 65. At the end of the program, the program will print out the count of records that where read.
 
Control break program
Design a Warnier-Orr diagram with Pre-Test loops for a program that will read in name and amounts of a file that has been sorted by name. Print the name of each record only once, but print each amount for each record. At the end of the program print out the total amount of records read, along with the total and the total amount of different names.

 
 
Home | Open Source | Freeware | Shareware | Components | How-To
| O.S. License | Comments | Links | Awards | About | Privacy statement | Contact Me | Site Map