ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

STRUCTURED DESIGN


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

STRUCTURED DESIGN

Lessons from the Trenches Part 1: An Introduction to Structured Techniques
by George Martin

Start ý Sequence ý Selection ý Iteration/Looping ý Testing ý Nassi-Schneiderman Charts ý Sources and PDF

SEQUENCE

First, letýs take a look at the sequence structure. The sequence of operations is A, B, and C (see Figure 1). This sequence has one entry point and one exit, a key premise of structured design. The operations A, B, and C may be complicated routines, but testing is straightforward and can be completed with a certainty that youýve done it correctly.

Figure 1ýHere you can see the sequence of operations A, B, and C.

 

Many times A, B, and C are referred to as processes. These processes can be as simple as performing an arithmetic operation (a = b + c) or as complicated as RepaintTheUsersScreen(). Also, they can be referred to as a single process. Letýs call it process ABC (see Figure 2).

Figure 2ýThe sequence of operations A, B, and C can be referred to as process ABC.

 

You can divide and conquer, break it down into modules, or structure that design. You have a building block that can start small, be tested, and grow to unlimited size and complexity. As I describe different types of structures, notice that they all have one entry and one exit. All the structures can be thought of as or reduced to a simple sequence structure, which is completely understandable and testable.

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ