Since the process is isothermal, PV = constant.

Therefore, pressure is inversely proportional to volume.

Since the pressure increases from A to B, volume decreases. Therefore, work is done on the gas.

Internal energy is constant for the above process.

Therefore the correct answer is both (A) and (B)