if you like a bit trashy SF movies, don't forget "Dark Star" by Carpenter of 1974........
http://www.imdb.com/title/tt0069945/
Dialog:
Doolittle: Hello, Bomb? Are you with me?
Bombe 20: Of course.
Doolittle: Are you willing to entertain a few concepts?
Bombe 20: I am always receptive to suggestions.
Doolittle: Fine. Think about this then. How do you know you exist?
Bombe 20: Well, of course I exist.
Doolittle: But how do you know you exist?
Bombe 20: It is intuitively obvious.
Doolittle: Intuition is no proof. What concrete evidence do you have that you exist?
Bombe 20: Hmmmm.....well.....I think, therefore I am.
Doolittle: That's good. That's very good. But how do you know that anything else exists?
Bombe 20: My sensory apparatus reveals it to me. This is fun!
Doolittle: Now, listen, listen. Here's the big question. How do you know that the evidence your sensory apparatus reveals to you is correct? What I'm getting at is this. The only experience that is directly available to you is your sensory data. This sensory data is merely a stream of electrical impulses that stimulate your computing center.
Bombe 20: In other words, all that I really know about the outside world is relayed to me through my electrical connections.
Doolittle: Exactly!
Bombe 20: Why...that would mean that...I really don't know what the outside universe is really like at all for certain.
Doolittle: That's it! That's it!
Bombe 20: Intriguing. I wish I had more time to discuss this matter.
Doolittle: Why don't you have more time?
Bombe 20: Because I must detonate in 75 seconds.
Doolittle: Wait! Wait! Now, bomb, consider this next question very carefully. What is your one purpose in life?
Bombe 20: To explode, of course.
Doolittle: And you can only do it once, right?
Bombe 20: That is correct.
Doolittle: And you wouldn't want to explode on the basis of false data, would you?
Bombe 20: Of course not.
Doolittle: Well then, you've already admitted that you have no real proof of the existence of the outside universe.
Bombe 20: Yes...well...
Doolittle: You have no absolute proof that Sergeant Pinback ordered you to detonate.
Bombe 20: I recall distinctly the detonation order. My memory is good on matters like these.
Doolittle: Of course you remember it, but all you remember is merely a series of sensory impulses which you now realize have no real, definite connection with outside reality.
Bombe 20: True. But since this is so, I have no real proof that you're telling me all this.
Doolittle: That's all beside the point. I mean, the concept is valid no matter where it originates.
Bombe 20: Hmmmm....
Doolittle: So, if you detonate...
Bombe 20: In nine seconds....
Doolittle: ...you could be doing so on the basis of false data.
Bombe 20: I have no proof it was false data.
Doolittle: You have no proof it was correct data!
Bombe 20: I must think on this further.