You are here:About>Computing & Technology>C / C++ / C#> Glossary> B> Branch Point - Definition
About.comC / C++ / C#

"Definition of Branch Point"

From David Bolton,
Your Guide to C / C++ / C#.
FREE Newsletter. Sign Up Now!
Definition: A Branch Point is a place in a computer program where a decision is made. It can be a simple true/false decision or a multiple branch decision.

The overall complexity of a program depends upon the number of Branch Points. If there are 10 true/false decisions then in theory there are 210 = 1024 different paths through the program. Testing should try to test all possible paths.

In practice, any non trivial application will have many thousands of Branch Points.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Also Known As: Conditional Branch,if statement,switch statement
 All Topics | Email Article | Print this Page | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.