it is basic
1. If Voltage and current is given then : r=v/i;2. If you have the resistor physically, Use Colour code..