Writers establish tone by all of the following means except careful diction. Option D is correct.
Tone, in a piece of writing, refers to an attitude of a writer toward a subject or an audience. Tone is commonly expressed through the choice of words, or the viewpoint of a writer on a particular subject.
The tone can be formal, informal, serious, comic, sarcastic, sad, or cheerful, or it may be any other existing attitude.