Managerial Accounting

Hi, I am studying Managerial Accounting as a part of my MBA, I have this question  

Distinguish between job costing and process costing. Describe the difficulties associated with each type. What can companies do in order to price products competitively and avoid some of these difficulties?