assignment 1 question 4