What is your justification? Anything that can be found on Google isn't worth learning?
Just to take a trivial example: take a look at Project Euler. There's no question in my mind that working through those exercises is a valuable learning experience, and (in the context of a programming course) would be worth grading someone on-- even though the answers are readily available to anyone who searches for them.