Learn first
Circuits need a complete path
An electric circuit has a path through which charge can flow. Current is charge flow per time. Voltage is a potential difference. Resistance limits current in a stated model.
How to work it out Check the complete path, components, units, and model assumptions. A gap can stop current; a diagram alone does not prove a real circuit is safe to build.
A separate example In a separate ideal series circuit, opening a switch breaks the only path.
A bit is 0 or 1. XOR gives 1 when two inputs differ. AND gives 1 only when both are 1. A half adder uses Sum = A XOR B and Carry = A AND B. Read Carry on the left (twos) and Sum on the right (ones). The total is 2 x Carry + Sum. These are logical values, not wiring instructions.
Worked example
For A = 1 and B = 1: Sum = 0 and Carry = 1. The result is binary 10, meaning 2 x 1 + 0 = 2, not ten.