Answer: D) 7!;5,040
Explanation:
Given: The number of friends = 7
Permutations says that the number of different ways of arranging r objects out of n objects is given by ;-

By permutations the number of different ways they can sit is given by :-

Therefore, the different ways can you and six of your friends sit in your assigned seats in math class = 5,040.