German Vocabulary

Could someone help me out with some German Vocabulary

*When talking about the aim of an assignment would you use the word 'Zweck' or 'Ziel'?
*Also when talking about an essay plan would you simply use 'Plan' or 'Anlage'?

Thanks