Answer : (a) 5040 b) 720 c) 288
Step-to step explanation:-
Given : There are 3 Computer Science, 2 Mathematics, and 2 Sociology textbooks.
Total books = 7
a) The number of ways the books can be arranged in any order is given by :-

b) We consider all computer books as one thing, then, the total number of things to arrange = 1+2+2=5
Now, the number of ways to arrange books such that Computer Science books must be together, but all other books can be arranged in any order:-

c) We consider all computer books as one thing and math book as one thing, then, the total number of things to arrange = 1+1+2=4
Now, the number of ways to arrange books such that Computer Science books must be together, but all other books can be arranged in any order:-
