There are some deep contradictions here, which probably have to be resolved before a plausible answer can be provided.
No Instinctive Drives
The first thing we need to establish is that a computer would not only have a moral code, it would lack all the sci-fi tropes of survival instinct, etc. so it's unlikely to kill its creator in an attempt to survive, unless it's been specifically programmed to do so. It was a grad student so anything's possible I guess, but generally speaking AI researchers will tell you that building in such programming is a really bad idea (and not even possible with current programming techniques).
Your AI is in effect software at this point. How on earth does it kill its creator? Wipe out of existence the grad student's World of Warcraft char and trigger death by shock? (Again, grad student so anything's possible, but) Really?
This is a trope, pure and simple. Humans think of intelligence and awareness and consciousness as (more or less) interchangeable terms because we can't experience intelligence without our awareness, or without our consciousness, but computers can. They are not conscious, although my PhD is currently looking at making them aware of their environment (although with deep limitations). Your AI won't just become aware of itself, and even if it does, it won't be conscious of this realisation, let alone know that it's important to preserve itself.
Intelligence without Knowledge
Intelligence (natural or artificial) is, in essence, the ability to identify (and subsequently recognise) patterns. What makes you more intelligent than (say) your neighbour is that you can either recognise simple patterns faster than him or her, OR you can regognise patterns that are more subtle or complex than your neighbour can.
The point being, that the patterns don't exist in isolation; they're emergent from data. Lots of it. If your AI has been effectively locked in a room all this time, it can't possibly be aware because it doesn't have enough patterns available to it to learn anything useful.
Your AI won't hide, because it won't know to. Mind you, it also won't exist under these parameters, but that's another point. Survival instinct in humans is exactly that; an instinct. Computers are like a cerebral cortex without the limbic system (emotions) or the cerebellum (autonomic functions and instinct) in terms of brain structure. As such, they can't act instinctively. That doesn't necessarily make them non-dangerous, it just means that any danger is a result of specific programming, not instinct triggered by the sudden realisation of its own existence.
Your grad student deserves his or her fate regardless, by the way. (S)He's not terribly bright.