At least, it's likely that they've been trained on undergrad textbooks that explain program behaviors and contain exercises.