(a)Work is done because the displacement of swimmer takes place and a force is applied.
(b)Donkey is not doing any work in carrying the load as weight (acting vertically downward) and displacement (acting horizontal) are perpendicular to each other. But, it does work against friction between its hoofs and the ground.
(c) Work is done because the displacement of water takes place and a force is applied by the wind mill. Wind mill does a work against gravity.
(d) No work is done, because no displacement takes place.
(e) Work is done because the displacement of train takes place and a force is applied by the engine.
(f) No work is done because displacement does net take place.
(g) Work ts done because the displacement of sailboat takes place and a force is applied by the wind.