mathematical foundation of computer science pdf for bca