Work done `W=vecF. vecs=Fs cos theta` where `theta` is smaller angle between force `vec F` and displacement `vec s`.
(a) To lift the bucket, force equal to weight of bucket has to be applied vertically upwards and the bucket moves along the same direction i.e., `theta=0^(@)` therefore `W=F s cos 0^(@)=F s.` It si positive.
(b) The bucket moves in a direction opposite to the gravitational force which acts vertically downwards.
`:. theta=180^(@), W=F s cos 180^(@)=-Fs.` It is negative.
(c) Friction always opposes the relative motion `:. theta =180^(@), W=F s cos 180^(@)=-Fs`. It is negative.
(d) As the body moves along the direction of applied force `theta=0^(@), :. W=F s cos 0^(@)=Fs.`. It is positive.
(e) The direction of resistive force is opposite to the direction of motion of the bob, i.e., `theta=180^(@).`. Hence, work done, in this case, is negative.