(a) All persons sentenced to confinement in the house of correction shall be compelled to labor on the farm or lands on which the house of correction shall be situated in such manner as is provided for in subsection (c) of this section and for the term of their imprisonment.
(b) Prisoners confined in the house of correction shall labor for such number of hours each day as the county court may determine.
(c) The prisoners shall be compelled to perform any and all such labors as pertain to the clearing, improvement, and cultivation of the farm and garden or to mechanical pursuits.