Suppose that $\mathbb{Z}_n^{+}$ denotes the cyclic group of order $n$.
Question a: Consider the group $$ G=\mathbb{Z}_{n_1}^{+}\times \mathbb{Z}_{n_2}^{+}\times \ldots \mathbb{Z}_{n_k}^{+} $$ where $n_1,\ldots,n_k$ are pairwise relatively prime. Let $H$ be a finite group such that $|H|=|G|$. Is it true that in order to prove that $H\cong G$, it is suffices to prove that $H$ contains an element $a_i$ of order $n_i$ for each $i$ ? If not, how to prove that $H\cong G$ without describing a specific isomorphism?
Question b Consider the group $$ G=\mathbb{Z}_{p^{k_1}}^{+}\times \mathbb{Z}_{p^{k_2}}^{+}\times \ldots \mathbb{Z}_{p^{k_r}}^{+} $$ where $p$ is a prime number and $k_1\leq k_2\leq\ldots\leq k_r$. Let $H$ be a finite group such that $|H|=|G|$. How to prove that $H\cong G$ without describing a specific isomorphism?
Thanks!