computer science second year imp questions