Let's first understand the two terms:
Accuracy of a measurement is measure of how close the measured value is to the true value of the quantity.
Precision of a measurement tells us to what resolution or limit the quantity is measured.
Let's understand the two terms with an example.
Suppose true value of length of a rod is 5.693cm.
Now you measure the length of this rod
In first measurement you measure with an instrument of resolution 0.1cm gives value 5.5cm.
In second measurement you measure the same length with an instrument of resolution 0.01cm given value 5.38cm.
Then the first measurement has more accuracy than second measurement since it is closure to the true value of the length, but less precision. While the second measurement has more precision than first measurement since it measures to the higher resolution, but has less accuracy.
So to your given measurements first you need to find out which instrument (tap or ruler) has more resolution based on that you can tell which one has more precision and more accuracy.