loop and branch

Papabravo

Joined Feb 24, 2006
21,225
In a loop you can start from any point and return to that same point. A loop is the same thing as a complete circuit. A branch is a piece of a loop. It has distinct endpoints. It is not a complete circuit.
 

thingmaker3

Joined May 16, 2005
5,083
The term "branch" is also used in building wiring - refers to wiring from a given breaker in a panel. "Loop" is not used in this context, though. "Feeder" is the circuit that feeds the panel - coming from a more robust breaker panel if in larger building. "Service" is what powers the feeders.

"Loop" is also used in fire alarm systems. Definition is similar to that given by Papabravo above.

"Service Loop" is a coil of extra conductor in a circuit. It is stored for the convenience of service personell.
 

Søren

Joined Sep 2, 2006
472
Hi,

what is the difference between a loop and a branch? it seems to me they are the same thing.
Just to add my view.
A loop is something that keeps going in circles (unless interrupted somehow of course).

A branch is where you have more than one way to proceed.

An example in BASIC-like pseudo code:

1 Begin:
2 A=A+1
3 print A
4 if A = 7 goto Enough
5 Goto Begin
6
7 Enough
8 Print "Bye bye"
9 End


Lines 1 to 5 is the loop and line 4 contains a conditional branch.
 
Top