I thought high school level is the very basic. So as for chemistry, use your books from school.
Programming: I dunno.