Error detection: The number of candidates appeared in CSS examination this year were very large.
Error detection: The number of candidates appeared in CSS examination this year were very large.
Explanation
The subject is "The number" (singular), so the verb should be "was" (not "were").
Corrected sentence:
"The number of candidates who appeared in the CSS examination this year was very large."