Measuring Quality Factor of an Ideal Inductor
After the lab, I have come up with a solution:

As we have an inductor, we have two unknown variables: internal resistance and the inductance.

So, if we connect a series resistor and apply a sinusoidal wave then take a measurement between the inductor and resistor, we will observe and particular output voltage, and also an equation. 

Then if we change the resistor value, again we obtain a different voltage value and equation. Since we have two unknowns and two linearly independent equations, we can find L and R by the help of linear algebra.