MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
If 7 people wait in line for the drinking fountain there would be ____ different orders.
A
7
B
49
C
14
D
5040
E
5 million
Explanation: 

Detailed explanation-1: -Answer. or 5, 040 ways. Alternatively, we can use the simple rule for counting permutations. That is, the number of ways to arrange 7 distinct objects is simply.

Detailed explanation-2: -7! =7⋅6⋅5⋅4⋅3⋅2⋅1=5040. This particular problem is a permutation.

Detailed explanation-3: -So there are 5040 ways of arranging seven people in a row of seven chairs.

Detailed explanation-4: -Hence the correct answer is 480.

There is 1 question to complete.