This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
dido:public:ra:xapend:xapend.a_glossary:d:decision_point [2022/02/03 05:14] nick |
dido:public:ra:xapend:xapend.a_glossary:d:decision_point [2022/02/03 05:17] (current) nick |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[dido:public:ra:xapend:xapend.a_glossary:start| Return to Glossary ]] | [[dido:public:ra:xapend:xapend.a_glossary:start| Return to Glossary ]] | ||
| - | A **Decision Point** is a place in a program where the execution flow through the program is controlled. As a general rule, **Decision Points** occur at the Control Flow statements, however, each part of the boolean expression in the Control Flow statement is its own **Decision Point**. For example: | + | A **Decision Point** is a place in a program where the execution flow through the program is controlled. As a general rule, **Decision Points** occur at the [[dido:public:ra:xapend:xapend.a_glossary:c:control_flow]] operations (i.e., **''IF / ELSE IF / ELSE / ENDIF''**, or **''FOR LOOPS | WHILE LOOPS /''**, etc.). However, each part of the boolean expression in the Control Flow operation is on its own, a **Decision Point**. For example: |
| <Code cpp> | <Code cpp> | ||
| Line 13: | Line 13: | ||
| </Code> | </Code> | ||
| - | The **''A > 0''** is one possible path through the software, and is therefore a **Decision Point**. **''AA <= 100''** is another **Decision Point**, and so and so forth. | + | The **''A > 0''** is one possible path through the software, and is therefore a **Decision Point**. **''A <= 100''** is another **Decision Point**, and so and so forth. |
| Source: [[https://www.omgwiki.org/dido/doku.php?id=dido:public:ra | Defined by DIDO RA ]] | Source: [[https://www.omgwiki.org/dido/doku.php?id=dido:public:ra | Defined by DIDO RA ]] | ||