Concept:An action finished before a time in the past uses the past perfect tense: had + past participle.Solution:“By the end of last term” is a point in the past. The learning was complete before it, so: “By the end of last term, we had learnt how to use punctuation marks correctly.”A – ‘have learnt’ is present perfect; it does not go with ‘last term’.B and D – ‘were learnt’ and ‘are learnt’ are passive and wrong here, because ‘we’ did the learning.Answer:Option C (had)