One crucial skill in programming is knowing how to get answers to small, well defined questions.
When I started writing code I'd sometimes get completely stuck with syntax. These days I'd hop on IRC or Stack Overflow.
When I've been a mentor, I try to show where I get answers.