SOLUTION: If you have 10 questions, and 2 choices per question, then I will have 3^10=59049 possible answer sheets. I would like to have a code in any programming language to generate for m

Algebra.Com
Question 1058326: If you have 10 questions, and 2 choices per question, then I will have 3^10=59049 possible answer sheets.
I would like to have a code in any programming language to generate for me these answer sheets up to the last one.
e.g answer sheet 1 can look like;
1.A
2.C
3.A
4.A
5.B
6.C
7.C
8.A
9.A
10.B

Answer by rothauserc(4718)   (Show Source): You can put this solution on YOUR website!
looks like you have 3 choices per question, namely A, B, C?

RELATED QUESTIONS

If you have 10 questions, and 2 choices per question, then I will have 3^10=59049... (answered by math_helper,ikleyn)
If you have 10 questions, and 2 choices per question, then I will have 2^10=1024 possible (answered by math_helper)
A multiple choice exam consists of 12 questions, each having 5 possible answers. To pass, (answered by stanbon)
If you took a quiz with 10 questions, and there were 5 possible answers per question,... (answered by stanbon)
A student guesses blindly on a 20-question multiple choice test. If each question has 4... (answered by stanbon)
I am trying to help my son with some algebra. I am wanting to confirm the following... (answered by ankor@dixie-net.com)
Exhibit 4. A very short quiz has two multiple choice questions with first question... (answered by reviewermath)
Hi Professor: I have a question related to the probability, a stock price is currently (answered by greenestamps,ikleyn,pdream98)
Hi Professor: I have a question related to the probability, a stock price is currently (answered by greenestamps)