It was observed that a pencil sharpener gets attracted by both the poles of a
magnet although its body is made of plastic. Name a material that might have
been used to make some part of it
The blade of a pencil sharpener is made of iron which is a magnetic material.
Since magnets can attract objects made of magnetic materials, a pencil sharpener gets attracted towards both poles of a magnet.