Work can only be said to be done when an applied force results in displacement of the body in the direction of the applied force.
Work can only be said to be done in options a and d
a.pulling a box with a force of 127 newtons across the floor for 8 meters
work = 127 8 = 1016J
d.lifting a rock by exerting an upward force of 500 newtons for 1 meter
Work = 500 N 1 m = 500 J
Option D has more work.
D