Learning objective: Determine the cost of goods sold and ending inventory under the periodic inventory system for each of the four inventory costing methods: Specific identification; first-in, first-out (FIFO); last-in, first-out (LIFO); weighted average.