# Factorial!

12 Questions | Total Attempts: 183  Settings  This is in preparation for writing a program to calculate the factorial of a user-provided number.

Related Topics
• 1.
How many different orders can 3 students be in when they are standing in a line?
• A.

9

• B.

6

• C.

3

• D.

2

• E.

1

• 2.
How many different possibilities are there for the first student?
• A.

1

• B.

2

• C.

3

• D.

4

• 3.
After someone takes the first spot in the line, how many different possibilities are there for the second student?
• A.

0

• B.

1

• C.

2

• D.

3

• 4.
After the first and second spots have been taken, how many students are available for the 3rd spot?
• A.

0

• B.

1

• C.

2

• D.

3

• 5.
What can you do with the numbers 3, 2, and 1 to get the answer 6?
• A.

3 + 2 + 1 = 6

• B.

3 * 2 * 1 = 6

• C.

3 + 2 * 1 = 5

• D.

Both A and B result in 6, but B is the correct one, 3 * 2 * 1 = 6

• 6.
How many different arrangements can 4 students be in, when they are standing in a line?
• A.

4

• B.

16

• C.

24

• D.

96

• 7.
Which pattern of mathematical operations works for both 3 students, resulting in 6 ways, and also for 4 students, resulting in 24 ways?
• A.

4 + 3 + 2 + 1

• B.

4 * 3 * 2 * 1

• C.

4 + 3 * 2 * 1

• D.

4 + 3 + 2 * 1

• 8.
4! = 4 * 3 * 2 * 1 = 24 This is called factorial.  The symbol for factorial is the exclamation point. 4! = 243! = 3 * 2 * 1 = 6, so 3! = 6Mark ALL of the following that are acceptable ways to show how 4 factorial is equal to 24.
• A.

4! = 1 * 2 * 3 * 4 = 24

• B.

4! = 4 * 3 * 2 * 1 = 24

• C.

4! = 4 * 3 * 2 = 24

• D.

4! = 2 * 3 * 4 = 24

• 9.
Terms are multiplied.  Numbers are multiplied.  Multipliers are multiplied.  Which of these is also a word for any numbers that are being multiplied?
• A.

Factors

• B.

Products

• C.

Factorials

• D.

• 10.
In 4! = 2 * 3 * 4 = 24, what is 24 called more specifically than a product?
• A.

Factor

• B.

Product

• C.

Factorial

• D.

• 11.
Which of these assignment statements could be used for accumulating a sum in a computer program?
• A.

Sum = Number + Number + Number

• B.

Sum = Sum + Number

• C.

Sum = 0

• D.