Similar to how the value of x^2 + 3x - 5 is determined by the value of x, the truth values of these statements are determined by the truth values of the variables they contain.

By B, do you mean a formula that consists of just one propositional variable B, or do you mean the second formula on your list, i.e., A ⋁ B? In any case, see the remark above.