Sorry for n00b question but is there an index like sensex or Nifty that includes the sum total of the entire stock market?

Stock options understanding

Suppose,

I sell infy call options, on expiry, if i don’t square of the position i have to give the delivery which means infy stocks will be debited from my demat account?
I buy infy call options, on expiry,if i don’t square of the position i have take the delivery which means infy stocks will be credited to my account?

I sell infy put options, on expiry,if i don’t square of the position i have take the delivery which means infy stocks will be credited to my account?
I buy infy put options, on expiry,if i don’t square of the position i have to give the delivery which means infy stocks will be debited from my account?

Is my understanding correct?

Source by [author_name]