The correct answer is:
A. i, ii, iv
You need to reference a source when:
i) When the direct word from the source is used (quoting)
ii) When a paraphrase of the idea from the source is used
iv) When you use an idea from the source
You do not need to reference a source when you are using your own original idea, which corresponds to option iii.