From the diagram:
\
is a square,
and all angles are right angles.
Let this side length be represented by
.
Consider the triangle
.
This right angle triangle with two side lengths as
.
Apply pythogorean theorem for the triangle
.
.
Let the hypotenuse length as
.

Find the ratio of the length of the diagonal
to length of side
.
.
Thus, option B is correct choice.
\Option B is correct choice.