A resistance of 1kΩ has a current of 0.25A throughout it when it is connected to the terminal of a battery. What is the potential difference across the ends of a resistor?