Question: how to calculate potential difference across resistor?
Answer: If no internal resistance is present in voltage supply, the potential difference across the resistor is equal to supply voltage. Now imagine the same circuit but total current is given as 0.1A . The potential difference is V=IR=0.1*5=0.5V, which basically means the statement above is incorrect.