for comp7404 final exam