Suppose you are taking a true-false test consisting of 5 questions. In how many ways can you answer the question?

1 answer

The first question can be answered in 2 ways
for each of those, the 2nd question can be answered in 2 ways, so 2^2 or 4 so far
...

number of ways = 2^5 = 32