As a native speaker I am going to throw a spanner in the works and say that "number" can take both a plural verb and a singular verb.
So how can a student choose?
Example 1 A number of students were away.
We use �were � because when we think of "number" here we are referring to several individual students who are are away individually. So several individuals take a plural verb.
Example 2 The number of students in the school is growing daily.
In this case we are thinking of "the number" as one unit and therefore it uses the singular verb.
Basically avoid using a sentence on its own in worksheets because the answer will depend on the context. Therefore when the student writes the answer it is possible that both are correct depending on the idea in mind.
I am always very careful when calling something a rule because rules get broken all the time.
Oh if only English were like Mathematics and 2 plus2 always equalled 4
Thank you to all the non-native speakers as your knowledge of the rules is usually so much better then those of native speakers.