35 multiple-choice questions in College Board exam style. Each has four choices and a full explanation of why each option is right or wrong.
Trace loops by hand: write down the loop variable and any accumulators at each step.
Check the boundary: < vs. <= decides whether the last value is included.
Apply short-circuit rules for && and ||, and use De Morgan’s laws to simplify negations.
Read the explanations even when you got it right, and watch for infinite and off-by-one loops.