homework 2 for 11791 design of intelligent information system