updated question no. 1 of assignment no. 1