In "Brothers," Data's father activates a sort of homing signal in the android's positronic net, in order that the two are reunited.
While on the bridge, and before creating a security code, Data asks the computer for the quickest route to the transporter room, since he is unable to transport from his current location.
Why does Data have to do this? As an android, I cannot believe he doesn't have the entire ship memorized, deck by deck. I guess, perhaps, that Soong's tinkering affected his ability to remember certain things, but that doesn't sound convincing.