If eraser is called box, box is called pencil, pencil is called sharpener and sharpener is called bag, what will a child write with ?

Answer: D. Sharpener

The child will write with a 'pencil' and 'pencil' is called 'sharpener'.
So the child will write with a 'sharpener'.