The instrument in the geometry box having the shape of a triangle is called a
On observing the elements of the geometry box, we can see that only the set squares are having the shape of a triangle.
∴ the correct option is D.