Ans: (a) $40320$ (b) $8640$
- The required number
$\begin{array}{cl}
= & 8! \\
= & 40320
\end{array}$ - The required number
$\begin{array}{cl}
= & P^4_2 \times 6! \\
= & 8640
\end{array}$