Joke Collection Website - Joke collection - How many sets of answers can there be in five multiple-choice questions with only AB two options?

How many sets of answers can there be in five multiple-choice questions with only AB two options?

There are two combinations of five powers, that is, 32 kinds! They are as follows:

1 species no B: AAAAA

Five kinds of a b: AAAAB, AAABA, AABAA, ABAAA, BAAAA.

10 Two types of B: AAABB, ABABBA, ABBAA, BBAAA, AABAB, ABBAABA, BAABAA, BABA.

10 Three B's: AABBB, ABBBA, BBBAA, ABABB, BABBA, ABBBA, BABBA, BABBA, BBAAB.

Five of the four B's: ABBBB, BABBB, BBABB, BBBAB, bbbbbba.

1 five B:BBBBB

1+5+ 10+ 10+5+ 1=32