Which of the following diagrams best represents the gravitational force W. the frictional force f, and the normal force N that act on the block?

It's D.
Weight always points downward.
The normal force always points perpendicular to the surface.
Friction opposes motion, so it points in the direction opposite the direction in which the block is moving.