This changing-feedback-ratio-changes-gain lesson keeps the input current fixed and changes the feedback resistor to change the inverting gain. The 1 V over 2 ohm input gives 1/2 A, and 8 ohm feedback gives -4 V exactly only for the stated ideal op-amp row. Real implementations add resistor tolerances, finite gain, offset, bias current, bandwidth and slew limits, rail limits, finite precision, and measurement uncertainty.
Changing the feedback resistor changes the exact inverting gain. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
A fraction current stays exact
The 1 volt input across 2 ohms gives one half ampere.