Your friend finds the total number of ways that you can answer a quiz with five true-false questions. is your friend correct?

2+2+2+2+2=10
You can answer the quiz in 10 different ways.

Yes
No

Explain your reasoning.