(c)having made a return, fails to comply with all the terms of a notice issued under section 270(8),the Assessing Officer, after taking into account all relevant materials which he has gathered, shall, after giving the assessee an opportunity of being heard, make the assessment of the total income or loss to the best of his judgment and determine the sum payable by the assessee on the basis of such assessment.