I need to find out the number of times a fair coin is needed to flipped, until head appears for the first time.
Now, the options are: 2, 8, 16, and 64.
I don't think it can be calculated. Because every time a coin is flipped, the chance of head appearing is .5 or 50%.
How to calculate this?
Edit: I wrote the question according to the original question I found. The title was written accordingly. Seeing an experienced user's edit on my question, I guess the correct title is: 'The Average Number of Times a Coin Needs to Be Flipped Until Head Appears'.
You are absolutely correct in saying that the expectation of every single coin flip (read Bernoulli trial) is 1/2. So if the question is what is the probability that it takes 1 single coin flip to get a head, then the answer is 1/2.
What if the question was, "What is the probability that it takes 2 coin flips to get a head?" In this case it would be 1/2 times 1/2, or 1/4.
But the actual question you are asked is slightly more subtle: if you were to repeat the experiment, which is defined as counting the number of coin flips until you get a head, what would be the expected number of tosses (average)? This is a different random variable than the one you are making reference to in your question, i.e. tossing a coin and checking whether it is heads or tails.
The actual computation is straightforward if you know that this is a geometric distribution, and you are looking for the expectation (the mean).
If you want to go more into the derivation, check this video.
Simulation in R: