Writing in the active voice makes the meaning clear while keeping sentences from becoming complicated and wordy. Sentences using passive voice are not necessarily wrong, just less effective than ...
To choose between active and passive voice, consider above all what you are discussing (your topic) and place it in the subject position. For example, should you write "The preprocessor sorts the ...
In the Strunk example above, the leaves aren’t exactly juggling chainsaws, but it’s a mistake to equate physical passivity with the passive voice: I slept is an active sentence, while I was ...
However, in each pair one sentence uses the active voice and one uses the passive voice ... is closer to the beginning of the sentence. For example:‘The exam was passed by the pupil’ would ...