As we know that if a number is a perfect square then it must follow the properties , that is number should not ended with 2,3,7 and 8 and also two digits should be same as the last two digits of square of 1 to 24. So both are required to answer the following question.