Count the number of squares in the given figure.

Count the number of squares in the given figure.

A.

32

B.

30

C.

29

D.

28

Correct answer is B

The figure may be labelled as shown.

The simplest squares are ABGF, BCHG, CDIH, DEJI, FGLK, GHML, HINM, IJON, KLQP, LMRQ, MNSR, NOTS, PQVU, QRWV, RSXW and STYX i.e. 16 in number.

The squares composed of four components each are ACMK, BDNL, CEOM, FHRP, GISQ, HJTR, KMWU, LNXV and MOYW i.e. 9 in number.

The squares composed of nine components each are ADSP, BETQ, FIXU and GJYV i.e. 4 in number.

There is one square AEYU composed of sixteen components.

There are 16 + 9 + 4 + 1 = 30 squares in the given figure.