Hi. Is this correct? I want to know the past perfect at the end of sentence is correct or not.-- There is no call for past perfect in any of your sentences. On the other hand, there is nothing preventing its use as you suggested if further context makes it necessary.
They have run off without knowing how to use what they learned. They have done what they were asked to.