I read about Input and output scripts on the wiki here:
Let's say, I use my Bitcoin - QT Program, I go to "Send Coins" tab, enter a Bitcoin Address, BTC amount and then click Send.
Is the output script generated by my program?
For an output script, we need the Value, The destination Address and the scriptPubKey. My client program has all this data.
scriptPubKey refers to Public Key of? My public key or the person I intend to send the Bitcoins to?
So, now, once the output script is formed, is it broadcast over the Bitcoin Network?
Where does the Input Script come from?
the scriptSig in Input Script refers to the Public Key and Signature of whom?
When I am sending Bitcoins to a Bitcoin Address, the input Script is automatically generated by what?
Even though the wiki gives details about Input Script and output Script, I was unable to correlate it to a real time scenario where one person sends BTC to another.