before teaching her programming find out if she is into logical thinking. it may sound horrible but I came to believe my math teacher that only 20% of mankind is capable of 'logical intuition', and only those can become true good programmers.
They see the world as "thing works" and "thing doesn't work" and never stop to wonder, "why?"
Someone with logical intuition might first think, "Well, it was working earlier, what's changed since then?" Even if they possess none of the knowledge to fix the problem themselves, they may be able to come up with some theories as to why it's not working.