When Quimby is dangling from the window, an external view shows that his head is clearly elevated above the top of the window, but the view from inside the same window shows his head well below that point.
The Lost in Space Robot warns Bart about the evil of Dr. Smith, by rephrasing its old tagline "Danger! Danger! Will Robinson!" as "Danger! Danger! Bart Simpson!" But Bart has never told his name to anyone from this delegation, so there's no obvious way for the Robot to know it.